summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikoli <nikoli@gmx.us>2014-04-08 14:31:48 +0400
committerNikoli <nikoli@gmx.us>2014-04-08 14:31:48 +0400
commitb8c63f93d545f945e66c2bebdc285c0b5982cb9a (patch)
treecc04f599c2d6cdda9471b0e1f73572199f14fbb7 /x11-libs
parentx11-libs/libxshmfence: Add multlib use dependency (diff)
downloadx11-b8c63f93d545f945e66c2bebdc285c0b5982cb9a.tar.gz
x11-b8c63f93d545f945e66c2bebdc285c0b5982cb9a.tar.bz2
x11-b8c63f93d545f945e66c2bebdc285c0b5982cb9a.zip
x11-libs/libvdpau-va-gl: version bump, upstream fixed tests
Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libvdpau-va-gl/Manifest2
-rw-r--r--x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild (renamed from x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild)26
-rw-r--r--x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild26
3 files changed, 31 insertions, 23 deletions
diff --git a/x11-libs/libvdpau-va-gl/Manifest b/x11-libs/libvdpau-va-gl/Manifest
index 528cb4fc..f34f0a69 100644
--- a/x11-libs/libvdpau-va-gl/Manifest
+++ b/x11-libs/libvdpau-va-gl/Manifest
@@ -1 +1 @@
-DIST v0.1.0.tar.gz 91371 SHA256 a95f6f4d5feaeb14a5939151eb91a5fb8b119c3d0cd966f43407cd1fe44993f7 SHA512 ce55f56d6745e3086081fd69d29e922ed9c2ca872fabca46caed7ff4e1aef152e01b2c62a5730696e10a05d103ecee1c09dcef1800bf825c50610bdf42d32ee9 WHIRLPOOL b22d6c3b40ce850bfa038b7c177d30e638f2ad3bc498c6c726b5f352a1e98bdf949f2c0c61c27686accd734d1e65ecdaa1fe87465c8cbb5b93f1d7e4c619a46f
+DIST libvdpau-va-gl-0.3.4.tar.gz 99105 SHA256 5506896d11fcf5d4537d0b9a6cb7404da9b26796f6445913779617fbd85d550b SHA512 20db58c071eb25b7d53409c2ea2350173c0b5736fae2416a73dc548330829bd48ab64f7bd523b516c9162b830b1b5784e5a863dcc90599d07fb967bdea9d3c3c WHIRLPOOL 349f3daf5fd4b2faeff60633e56124dba66c6adad6bb8d32eca742c1fca3aced76306a5455b0258d486e734e1315c5ddce757cd79e48105236f2bda74adab366
diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild
index c0ecbb28..21178730 100644
--- a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild
+++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild
@@ -4,11 +4,11 @@
EAPI=5
-inherit cmake-utils
+inherit cmake-utils virtualx pax-utils
DESCRIPTION="VDPAU driver with VA-API/OpenGL backend."
HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/"
-SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
@@ -16,22 +16,26 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/glib:2
- x11-libs/libva[X,opengl]
+ media-libs/glu
+ virtual/ffmpeg
+ virtual/opengl
+ x11-libs/libva[X]
x11-libs/libvdpau
x11-libs/libX11
x11-libs/libXext
- media-libs/glu
- virtual/opengl
- virtual/ffmpeg
"
DEPEND="${RDEPEND}"
DOCS=(ChangeLog README.md)
-# https://github.com/i-rinat/libvdpau-va-gl/issues/6
-RESTRICT="test"
+src_compile() {
+ cmake-utils_src_compile
+ if use test; then
+ cmake-utils_src_make build-tests
+ pax-mark m "${BUILD_DIR}"/tests/test-*
+ fi
+}
-pkg_postinst() {
- einfo "In order to use vdpau hardware video acceleration via ${PN}"
- einfo "you have to add VDPAU_DRIVER=va_gl to your environment"
+src_test() {
+ VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
}
diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild
index a8d28402..56efa5f4 100644
--- a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild
+++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild
@@ -4,33 +4,37 @@
EAPI=5
-inherit cmake-utils git-r3
+inherit cmake-utils virtualx pax-utils git-r3
DESCRIPTION="VDPAU driver with VA-API/OpenGL backend."
HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/"
-EGIT_REPO_URI="git://github.com/i-rinat/libvdpau-va-gl.git"
+EGIT_REPO_URI="https://github.com/i-rinat/libvdpau-va-gl.git"
LICENSE="LGPL-3"
SLOT="0"
RDEPEND="
dev-libs/glib:2
- x11-libs/libva[X,opengl]
+ media-libs/glu
+ virtual/ffmpeg
+ virtual/opengl
+ x11-libs/libva[X]
x11-libs/libvdpau
x11-libs/libX11
x11-libs/libXext
- media-libs/glu
- virtual/opengl
- virtual/ffmpeg
"
DEPEND="${RDEPEND}"
DOCS=(ChangeLog README.md)
-# https://github.com/i-rinat/libvdpau-va-gl/issues/6
-RESTRICT="test"
+src_compile() {
+ cmake-utils_src_compile
+ if use test; then
+ cmake-utils_src_make build-tests
+ pax-mark m "${BUILD_DIR}"/tests/test-*
+ fi
+}
-pkg_postinst() {
- einfo "In order to use vdpau hardware video acceleration via ${PN}"
- einfo "you have to add VDPAU_DRIVER=va_gl to your environment"
+src_test() {
+ VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
}