commit:     0b27765ab116a05d7586da0727a5e829031c01e5
Author:     Mirko Günther <mirko.guenther <AT> barco <DOT> com>
AuthorDate: Tue Aug 19 05:20:28 2014 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 22 05:37:03 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/leio.git;a=commit;h=0b27765a

added 'opengl' USE flag to compile OpenGL elements against desktop OpenGL

---
 media-libs/gst-plugins-bad/gst-plugins-bad-1.4.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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) \

Reply via email to