commit:     3f7a55cf8c277a5f72051aadad326a51a500dd51
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 20:25:16 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 20:28:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7a55cf

media-libs/gst-plugins-bad: Default enable egl and opengl for webkit-gtk and 
21st century, fix USE=egl to matter

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.12.3.ebuild 
b/media-libs/gst-plugins-bad/gst-plugins-bad-1.12.3.ebuild
index 4856dce20a7..bf14c1dc536 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.12.3.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.12.3.ebuild
@@ -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

Reply via email to