summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@gmail.com>2014-11-28 18:12:24 +0200
committerV3n3RiX <venerix@gmail.com>2014-11-28 18:12:24 +0200
commit3449b7540f25e23e646fdb354efec7fcf84f950c (patch)
tree23f6a8f2cecd75f4bed160f53b1cdf0e024b65a7
parentede98c7a9a1b52964fa70f7d58fdd74c1a55727f (diff)
VDPAU/VAAPI backend, it can HW accelerate flash on Intel Cards
-rw-r--r--x11-libs/libvdpau-va-gl/Manifest1
-rw-r--r--x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/x11-libs/libvdpau-va-gl/Manifest b/x11-libs/libvdpau-va-gl/Manifest
new file mode 100644
index 00000000..f34f0a69
--- /dev/null
+++ b/x11-libs/libvdpau-va-gl/Manifest
@@ -0,0 +1 @@
+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.3.4.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild
new file mode 100644
index 00000000..21178730
--- /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
+}