commit: 5a7c0c0968de1de5e206240efc455572be2f480b
parent af2f93dd01584fd542cbc7f5a3f8f2551e0c86d2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 12 Jun 2023 06:26:17 +0200
net-libs/webkit-gtk: Add support for JPEG-XL
Diffstat:
7 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml
@@ -12,6 +12,7 @@
<flag name="geolocation">Enable geolocation support through <pkg>app-misc/geoclue</pkg></flag>
<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="jpegxl">Enable JPEG-XL support via <pkg>media-libs/libjxl</pkg></flag>
<flag name="seccomp">Enable sandboxing functionality through <pkg>sys-apps/bubblewrap</pkg></flag>
<flag name="webrtc">Enable WebRTC support</flag>
</use>
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.2-r100.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.2-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 doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=OFF
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.2-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.2-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 doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=ON
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.2.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 doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=OFF
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.41.1-r100.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.41.1-r100.ebuild
@@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="4.1/0" # soname version of libwebkit2gtk-4.1
KEYWORDS=""
-IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=OFF
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.41.1-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.41.1-r200.ebuild
@@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="5.0/0" # soname version of libwebkit2gtk-5.0
KEYWORDS=""
-IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=ON
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.41.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.41.1.ebuild
@@ -18,7 +18,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="4/37" # soname version of libwebkit2gtk-4.0
KEYWORDS=""
-IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
+IUSE="aqua +avif debug doc +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer +introspection +jpeg2k jpegxl +jumbo-build lcms +seccomp spell systemd test wayland webrtc +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -83,6 +83,7 @@ RDEPEND="
dev-libs/hyphen
jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ jpegxl? ( media-libs/libjxl )
avif? ( >=media-libs/libavif-0.9.0:= )
lcms? ( media-libs/lcms:2 )
@@ -246,7 +247,7 @@ src_configure() {
#-DUSE_ANGLE_WEBGL=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_GTK4=OFF
- -DUSE_JPEGXL=OFF
+ -DUSE_JPEGXL=$(usex jpegxl)
-DUSE_LCMS=$(usex lcms)
-DUSE_LIBHYPHEN=ON
-DUSE_LIBSECRET=$(usex gnome-keyring)