summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirko G√ľnther <mirko.guenther@barco.com>2014-08-19 07:20:28 +0200
committerMart Raudsepp <leio@gentoo.org>2014-09-22 08:37:03 +0300
commit0b27765ab116a05d7586da0727a5e829031c01e5 (patch)
treeb4d21fe7cb683d51ad10c4bb4197e9801bf2232d
parentUpdate gstreamer bits to 1.4.2 (diff)
downloadleio-0b27765ab116a05d7586da0727a5e829031c01e5.tar.gz
leio-0b27765ab116a05d7586da0727a5e829031c01e5.tar.bz2
leio-0b27765ab116a05d7586da0727a5e829031c01e5.zip
added 'opengl' USE flag to compile OpenGL elements against desktop OpenGL
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild
index cb17016..e1d46c1 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="LGPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="egl gles2 +introspection +orc rpi vnc wayland"
+IUSE="egl gles2 +introspection +orc opengl rpi vnc wayland"
# FIXME: Some REQUIRED_USE dance for egl/gles2/rpi/wayland
# FIXME: Any flags needed on raspberypi-userland for wayland or egl?
@@ -38,6 +38,7 @@ RDEPEND="
)
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+ opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
!<media-libs/gst-plugins-good-1.1:${SLOT}
"
@@ -78,6 +79,9 @@ multilib_src_configure() {
else
myconf+=" --disable-egl"
fi
+ if use opengl; then
+ myconf+=" --enable-gl"
+ fi
gstreamer_multilib_src_configure \
$(multilib_native_use_enable introspection) \