logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 5a7df1f511bf9a155d5fdf7ce828acb3ebd832ac
parent a78140ddf3f4c66585985a07f2a6a1cdb01b260a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 25 Aug 2022 19:55:28 +0200

net-libs/webkit-gtk: Allow to disable WebGL

Diffstat:

Mnet-libs/webkit-gtk/metadata.xml1+
Mnet-libs/webkit-gtk/webkit-gtk-2.36.7-r100.ebuild4++--
Mnet-libs/webkit-gtk/webkit-gtk-2.36.7-r200.ebuild4++--
Mnet-libs/webkit-gtk/webkit-gtk-2.36.7.ebuild4++--
4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml @@ -13,5 +13,6 @@ <flag name="gles2-only">Use GLES 2.0 or later instead of full OpenGL</flag> <flag name="jumbo-build">Combine source files to speed up build process</flag> <flag name="seccomp">Enable sandboxing functionality through <pkg>sys-apps/bubblewrap</pkg></flag> + <flag name="webgl">Enable WebGL support</flag> </use> </pkgmetadata> diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.7-r100.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.7-r100.ebuild @@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD" SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +X" +IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +webgl +X" # gstreamer with opengl/gles2 needs egl REQUIRED_USE=" @@ -229,7 +229,7 @@ src_configure() { -DENABLE_SPELLCHECK=$(usex spell) -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEBGL=ON + -DENABLE_WEBGL=$(usex webgl) # Supported only under ANGLE, see # https://bugs.webkit.org/show_bug.cgi?id=225563 # https://bugs.webkit.org/show_bug.cgi?id=224888 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.7-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.7-r200.ebuild @@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD" SLOT="5.0/0" # soname version of libwebkit2gtk-5.0 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +X" +IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +webgl +X" # gstreamer with opengl/gles2 needs egl REQUIRED_USE=" @@ -229,7 +229,7 @@ src_configure() { -DENABLE_SPELLCHECK=$(usex spell) -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEBGL=ON + -DENABLE_WEBGL=$(usex webgl) # Supported only under ANGLE, see # https://bugs.webkit.org/show_bug.cgi?id=225563 # https://bugs.webkit.org/show_bug.cgi?id=224888 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.7.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.7.ebuild @@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD" SLOT="4/37" # soname version of libwebkit2gtk-4.0 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +X" +IUSE="aqua +avif debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +seccomp spell systemd test wayland +webgl +X" # gstreamer with opengl/gles2 needs egl REQUIRED_USE=" @@ -229,7 +229,7 @@ src_configure() { -DENABLE_SPELLCHECK=$(usex spell) -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEBGL=ON + -DENABLE_WEBGL=$(usex webgl) # Supported only under ANGLE, see # https://bugs.webkit.org/show_bug.cgi?id=225563 # https://bugs.webkit.org/show_bug.cgi?id=224888