summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2014-07-25 21:46:28 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2014-07-25 21:46:28 +0000
commite2b822dc3d88d925c853c64cee6bd0a4208fb7e9 (patch)
tree4e914a736e4f2b5a8c5850ac6482761baf285ff6
parentRemove stale files (diff)
downloadpauldv-e2b822dc3d88d925c853c64cee6bd0a4208fb7e9.tar.gz
pauldv-e2b822dc3d88d925c853c64cee6bd0a4208fb7e9.tar.bz2
pauldv-e2b822dc3d88d925c853c64cee6bd0a4208fb7e9.zip
Add libvdpau-va-gl backend that exposes va+gl as vdpau
svn path=/trunk/overlay/; revision=171
-rw-r--r--x11-libs/libvdpau-va-gl/Manifest2
-rw-r--r--x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/x11-libs/libvdpau-va-gl/Manifest b/x11-libs/libvdpau-va-gl/Manifest
new file mode 100644
index 0000000..4dc9d06
--- /dev/null
+++ b/x11-libs/libvdpau-va-gl/Manifest
@@ -0,0 +1,2 @@
+DIST libvdpau-va-gl-0.3.4.tar.gz 99105 SHA256 5506896d11fcf5d4537d0b9a6cb7404da9b26796f6445913779617fbd85d550b SHA512 20db58c071eb25b7d53409c2ea2350173c0b5736fae2416a73dc548330829bd48ab64f7bd523b516c9162b830b1b5784e5a863dcc90599d07fb967bdea9d3c3c WHIRLPOOL 349f3daf5fd4b2faeff60633e56124dba66c6adad6bb8d32eca742c1fca3aced76306a5455b0258d486e734e1315c5ddce757cd79e48105236f2bda74adab366
+EBUILD libvdpau-va-gl-0.3.4.ebuild 817 SHA256 6fba18b55fb6a14b2ad252ad0ddfa2c1975b91b8c27aea93e7574bfbdfe37e8e SHA512 bd42141593db9e6da151918c60860f11796aacc92ac3efb37457f47c05f87f5258e1bb67b6b88299136b368b85cfb99b7e1f5212ec81890e3a7baf4c5d0c5347 WHIRLPOOL b14ba63f8466706f7bff338db2a62eddc2203c95b274d29a9b879b465c6cbb31186115928b3c4be5fb640d1d0479c1595fdb9b82e88b6e3ab99fe43550f772b2
diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild
new file mode 100644
index 0000000..2117873
--- /dev/null
+++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+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 -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/glu
+ virtual/ffmpeg
+ virtual/opengl
+ x11-libs/libva[X]
+ x11-libs/libvdpau
+ x11-libs/libX11
+ x11-libs/libXext
+"
+DEPEND="${RDEPEND}"
+
+DOCS=(ChangeLog README.md)
+
+src_compile() {
+ cmake-utils_src_compile
+ if use test; then
+ cmake-utils_src_make build-tests
+ pax-mark m "${BUILD_DIR}"/tests/test-*
+ fi
+}
+
+src_test() {
+ VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
+}