summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-07-31 10:45:27 +0200
committerPacho Ramos <pacho@gentoo.org>2016-07-31 10:54:17 +0200
commit5487aa02ce61d2d61b4eafb8b33e32d6e0c41414 (patch)
tree9740108b57164fa6d90b00d6212ebd5c163b327c /media-plugins/gst-plugins-vaapi
parentmedia-libs/libmediaart: dev-libs/gobject-introspection-common needed as DEPEN... (diff)
downloadgentoo-5487aa02ce61d2d61b4eafb8b33e32d6e0c41414.tar.gz
gentoo-5487aa02ce61d2d61b4eafb8b33e32d6e0c41414.tar.bz2
gentoo-5487aa02ce61d2d61b4eafb8b33e32d6e0c41414.zip
media-plugins/gst-plugins-vaapi: Make egl support optional (#588498 by Toralf Förster and Coacher).
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-plugins/gst-plugins-vaapi')
-rw-r--r--media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild12
-rw-r--r--media-plugins/gst-plugins-vaapi/metadata.xml1
2 files changed, 8 insertions, 5 deletions
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild
index c2c586062bc..1d4c4f51e23 100644
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild
@@ -14,7 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="1.0"
KEYWORDS="~amd64 ~x86"
-IUSE="+drm opengl wayland +X"
+IUSE="+drm egl opengl wayland +X"
REQUIRED_USE="|| ( drm opengl wayland X )"
RDEPEND="
@@ -26,14 +26,16 @@ RDEPEND="
drm? (
>=virtual/libudev-208:=[${MULTILIB_USEDEP}]
>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] )
- X? (
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
- >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
+ egl? (
+ >=media-libs/gst-plugins-bad-${PV}:1.0[opengl,${MULTILIB_USEDEP}] )
opengl? (
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
@@ -46,8 +48,8 @@ multilib_src_configure() {
ECONF_SOURCE=${S} \
econf \
--disable-static \
- --enable-egl \
$(use_enable drm) \
+ $(use_enable egl) \
$(use_enable opengl glx) \
$(use_enable wayland) \
$(use_enable X x11)
diff --git a/media-plugins/gst-plugins-vaapi/metadata.xml b/media-plugins/gst-plugins-vaapi/metadata.xml
index 74f4f08c3cc..38a37a97b3f 100644
--- a/media-plugins/gst-plugins-vaapi/metadata.xml
+++ b/media-plugins/gst-plugins-vaapi/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="drm">Enable DRM renderer</flag>
+ <flag name="egl">Enable EGL support</flag>
</use>
<upstream>
<remote-id type="github">01org/gstreamer-vaapi</remote-id>