summaryrefslogtreecommitdiff
path: root/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-29 23:17:23 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-29 23:17:23 +0000
commit1dc89aea366c1f8c528c0223fd7d4ca3af92b370 (patch)
treedd6e41d59357e6d6d7b6d1289e59c33fb72f3990 /x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild
parentcdaf772ed8b4b1d18bd7b1b13ef0d1be19a122c5 (diff)
drop deprecated vdpau-video, update generic vdpau driver to 0.4.2
Diffstat (limited to 'x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild')
-rw-r--r--x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild
new file mode 100644
index 00000000..83ccb914
--- /dev/null
+++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.4.2.ebuild
@@ -0,0 +1,42 @@
+# 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"
+IUSE="test"
+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
+}