media-libs/gst-plugins-bad: Default enable egl and opengl for webkit-gtk and 21st...
authorMart Raudsepp <leio@gentoo.org>
Wed, 25 Oct 2017 20:25:16 +0000 (23:25 +0300)
committerMart Raudsepp <leio@gentoo.org>
Wed, 25 Oct 2017 20:28:58 +0000 (23:28 +0300)
webkit-gtk IUSE default enables egl and gstreamer, while now requiring gstreamer[egl] in that
case as well. So try out default enabling egl here to work out of the box, plus opengl so we
don't hit our own newly added constraint of wanting opengl or gles2 with USE=egl (otherwise
USE=egl has no effect, because if neither is defined, the EGL code isn't built at all, as it's
part of the gstgl library).

Package-Manager: Portage-2.3.8, Repoman-2.3.2

media-libs/gst-plugins-bad/gst-plugins-bad-1.12.3.ebuild

index 4856dce20a768f2fb5619079670a514801d2fdd7..bf14c1dc536e61f6e14e930d49d4f1023729438e 100644 (file)
@@ -12,11 +12,12 @@ HOMEPAGE="https://gstreamer.freedesktop.org/"
 LICENSE="LGPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
 
-IUSE="X bzip2 egl gles2 gtk +introspection opengl +orc vcd vnc wayland"
+IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vcd vnc wayland"
 REQUIRED_USE="
        gles2? ( !opengl )
        opengl? ( X )
        wayland? ( egl )
+       egl? ( || ( opengl gles2 ) )
 "
 
 # X11 is automagic for now, upstream #709530