summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-12-09 16:54:01 -0500
committerCraig Andrews <candrews@gentoo.org>2017-12-16 00:41:44 -0500
commitc042e0ab8a0302daedb138ea51a8ef08547ecdab (patch)
treecef78207d0053659f903e6f70d2890b9937f6a6d /media-video
parentx11-libs/libva: 2.0.0 version bump (diff)
downloadgentoo-c042e0ab8a0302daedb138ea51a8ef08547ecdab.tar.gz
gentoo-c042e0ab8a0302daedb138ea51a8ef08547ecdab.tar.bz2
gentoo-c042e0ab8a0302daedb138ea51a8ef08547ecdab.zip
media-video/libva-utils: 2.0.0 version bump
Closes: https://bugs.gentoo.org/639404 Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r--media-video/libva-utils/Manifest1
-rw-r--r--media-video/libva-utils/libva-utils-2.0.0.ebuild63
-rw-r--r--media-video/libva-utils/libva-utils-9999.ebuild2
3 files changed, 65 insertions, 1 deletions
diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest
index 5b3f4de1926a..08c95853e7ea 100644
--- a/media-video/libva-utils/Manifest
+++ b/media-video/libva-utils/Manifest
@@ -2,3 +2,4 @@ DIST libva-utils-1.8.0.tar.gz 1011595 BLAKE2B 17a148ad866e0fa9b9871d15eb2e7adbf1
DIST libva-utils-1.8.1.tar.gz 1011602 BLAKE2B 49a55f2bc2334e90c9d3519db3e86d999257bb41cc4bfe8bbad11fad88fa3da6e14dd188474fe9187c3c1ac3a8833e529c8e87a586b76351c99fc49c0c64dcf7 SHA512 7b60cf773d7156bf5579754d0525a8cae07b5e63416fd1c6481a9bada388515f8f14d23661c11689599af7ddd192440f96f2c8873b539cf93e7db0550d4e1aae
DIST libva-utils-1.8.2.tar.gz 1011622 BLAKE2B 549b7ef0d4d2049423ff898d6eac94a29a164bb793626f0e93502ec7d4bf9cd8f0da40e5e6311372f6d144e49f5ccd9f7d66addf927857640c399785cda8204d SHA512 e6d1e025d1c27112bf61869fa097a27c81bff9fb1ed5226842f3c7685852b4cc8903b0a29204d3c85bc4513dab9331b327de0f93c9493a411ab15e7e577ce616
DIST libva-utils-1.8.3.tar.gz 1012261 BLAKE2B a42c61d50e643f65e23689716a3c96eb5f617728c0e7a070eb7d88f7c1271c3abd50535ed8bb15156e21d207e38c9d89b7dddd11dce85b792f521b2707551cc0 SHA512 0a16243f39556cb7853c144b91c1fb07d4a4fafd43d05f5519af969153bc8a4e5f6512c665c0c7c32c413d50e913f8977bef004bf639f606ae5d6f6af1571d39
+DIST libva-utils-2.0.0.tar.gz 1033292 BLAKE2B 5f9e36d2a69a6a65f3d47b0e29aa1807201da8bd69eb00da5dc232b2629fdd01279c38af77335244f673b4f2e849ea3cc89a572b7ce26fd614f44461603c0c19 SHA512 5c435b558fdeec6dc597c531b1e72e1a6e8b4f59f5f97af30d01b39a20430446cce7af5553b924144fbc54a64f0e39ab232c76e4e8a266329cc9868d60be0c4b
diff --git a/media-video/libva-utils/libva-utils-2.0.0.ebuild b/media-video/libva-utils/libva-utils-2.0.0.ebuild
new file mode 100644
index 000000000000..408a185f8394
--- /dev/null
+++ b/media-video/libva-utils/libva-utils-2.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+ SCM=git-r3
+ EGIT_BRANCH=master
+ EGIT_REPO_URI="https://github.com/01org/libva-utils"
+fi
+
+AUTOTOOLS_AUTORECONF="yes"
+inherit autotools-utils ${SCM} multilib
+
+DESCRIPTION="Collection of utilities and tests for VA-API"
+HOMEPAGE="https://01.org/linuxmedia/vaapi"
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/01org/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+if [ "${PV%9999}" = "${PV}" ] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+else
+ KEYWORDS=""
+fi
+IUSE="+drm test wayland X"
+
+RDEPEND="
+ >=x11-libs/libva-2.0.0[drm?,wayland?,X?]
+ drm? ( >=x11-libs/libdrm-2.4 )
+ X? (
+ >=x11-libs/libX11-1.6.2
+ >=x11-libs/libXext-1.3.2
+ >=x11-libs/libXfixes-5.0.1
+ )
+ wayland? ( >=dev-libs/wayland-1.0.6 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+REQUIRED_USE="|| ( drm wayland X )"
+
+DOCS=( CONTRIBUTING.md README.md )
+
+src_prepare() {
+ sed -e 's/-Werror//' -i test/Makefile.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable X x11)
+ $(use_enable wayland)
+ $(use_enable drm)
+ $(use_enable test tests)
+ )
+ autotools-utils_src_configure
+}
diff --git a/media-video/libva-utils/libva-utils-9999.ebuild b/media-video/libva-utils/libva-utils-9999.ebuild
index 0c4c99ffb3d8..408a185f8394 100644
--- a/media-video/libva-utils/libva-utils-9999.ebuild
+++ b/media-video/libva-utils/libva-utils-9999.ebuild
@@ -31,7 +31,7 @@ fi
IUSE="+drm test wayland X"
RDEPEND="
- >=x11-libs/libva-1.8[drm?,wayland?,X?]
+ >=x11-libs/libva-2.0.0[drm?,wayland?,X?]
drm? ( >=x11-libs/libdrm-2.4 )
X? (
>=x11-libs/libX11-1.6.2