summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-07-22 16:09:10 +0300
committerMart Raudsepp <leio@gentoo.org>2018-07-24 01:23:47 +0300
commit7f268cbd114024d9dad9cdfe241e83a9f1716b82 (patch)
treeb1b402bcff5daee4ad05997b4750677ca810b1dc /net-libs/webkit-gtk
parentnet-libs/webkit-gtk: comment out unused test deps (diff)
downloadgentoo-7f268cbd114024d9dad9cdfe241e83a9f1716b82.tar.gz
gentoo-7f268cbd114024d9dad9cdfe241e83a9f1716b82.tar.bz2
gentoo-7f268cbd114024d9dad9cdfe241e83a9f1716b82.zip
net-libs/webkit-gtk: simplify opengl vs gles2 handling, fix gst gles2 deps
webkit-gtk itself does not support both full OpenGL and GLESv2 at once yet. ENABLE_OPENGL enables OpenGL in general, and if enabled then ENABLE_GLES2 determines which API is used - if enabled, then gles2, otherwise full GL. Simplify REQUIRED_USE handling to enforce the opengl/gles2 conflict separately, and have the webgl case just want either, to be future-proof and easier to read independently. WebGL should just always be enabled when either GL API is enabled, but keeping it under USE flag for the time being, until an even deeper GL/GStreamer webkitgtk cmake review, due to the webgl? ( gstreamer ) REQUIRED_USE still present. For now just (probably) properly depend on gstreamer gles2 support for USE="gles2 gstreamer" builds. Bug: https://bugs.gentoo.org/500150 Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'net-libs/webkit-gtk')
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild
index 189dd47e268f..761afd90ed45 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild
@@ -22,12 +22,11 @@ IUSE="aqua coverage doc +egl +geolocation gles2 gnome-keyring +gstreamer +intros
# webgl needs gstreamer, bug #560612
REQUIRED_USE="
geolocation? ( introspection )
- gles2? ( egl )
+ gles2? ( egl !opengl )
introspection? ( gstreamer )
nsplugin? ( X )
- webgl? ( ^^ ( gles2 opengl ) )
- !webgl? ( ?? ( gles2 opengl ) )
- webgl? ( gstreamer )
+ webgl? ( gstreamer
+ || ( gles2 opengl ) )
wayland? ( egl )
|| ( aqua wayland X )
"
@@ -70,7 +69,7 @@ RDEPEND="
gstreamer? (
>=media-libs/gstreamer-1.2.3:1.0
>=media-libs/gst-plugins-base-1.2.3:1.0
- >=media-libs/gst-plugins-bad-1.10:1.0[opengl?,egl?] )
+ >=media-libs/gst-plugins-bad-1.10:1.0[egl?,gles2?,opengl?] )
X? (
x11-libs/libX11