commit: 665a009c0440517e45ae53ed9eb22c8cf55cf5f3
parent b2138e5909b7a1895bc3db410eaeac2a1ec01852
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 22 Mar 2022 20:14:10 +0100
net-libs/webkit-gtk: Add USE=avif
Diffstat:
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml
@@ -6,6 +6,7 @@
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<use>
+ <flag name="avif">Enable AVIF support via <pkg>media-libs/libavif</pkg></flag>
<flag name="egl">Enable EGL support</flag>
<flag name="gamepad">Enable gamepad support via <pkg>dev-libs/libmanette</pkg></flag>
<flag name="geolocation">Enable geolocation support through <pkg>app-misc/geoclue</pkg></flag>
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.0-r100.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.0-r100.ebuild
@@ -17,7 +17,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="4.1/0" # soname version of libwebkit2gtk-4.1
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
+IUSE="+avif aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -61,6 +61,7 @@ RDEPEND="
>=dev-libs/glib-2.67.1:2
>=dev-libs/libxslt-1.1.7
media-libs/woff2
+ avif? ( >=media-libs/libavif-0.9.0:= )
gnome-keyring? ( app-crypt/libsecret )
introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
dev-libs/libtasn1:=
@@ -260,6 +261,7 @@ src_configure() {
-DUSE_LIBNOTIFY=$(usex libnotify)
-DUSE_LIBSECRET=$(usex gnome-keyring)
-DUSE_OPENJPEG=$(usex jpeg2k)
+ -DUSE_AVIF=$(usex avif)
-DUSE_WOFF2=ON
-DENABLE_SPELLCHECK=$(usex spell)
-DENABLE_JOURNALD_LOG=$(usex systemd)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.0-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.0-r200.ebuild
@@ -17,7 +17,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="5.0/0" # soname version of libwebkit2gtk-5.0
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
+IUSE="+avif aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -61,6 +61,7 @@ RDEPEND="
>=dev-libs/glib-2.67.1:2
>=dev-libs/libxslt-1.1.7
media-libs/woff2
+ avif? ( >=media-libs/libavif-0.9.0:= )
gnome-keyring? ( app-crypt/libsecret )
introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
dev-libs/libtasn1:=
@@ -260,6 +261,7 @@ src_configure() {
-DUSE_LIBNOTIFY=$(usex libnotify)
-DUSE_LIBSECRET=$(usex gnome-keyring)
-DUSE_OPENJPEG=$(usex jpeg2k)
+ -DUSE_AVIF=$(usex avif)
-DUSE_WOFF2=ON
-DENABLE_SPELLCHECK=$(usex spell)
-DENABLE_JOURNALD_LOG=$(usex systemd)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.0.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.0.ebuild
@@ -17,7 +17,7 @@ LICENSE="LGPL-2+ BSD"
SLOT="4/37" # soname version of libwebkit2gtk-4.0
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
+IUSE="+avif aqua debug +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell systemd wayland +X"
# gstreamer with opengl/gles2 needs egl
REQUIRED_USE="
@@ -61,6 +61,7 @@ RDEPEND="
>=dev-libs/glib-2.67.1:2
>=dev-libs/libxslt-1.1.7
media-libs/woff2
+ avif? ( >=media-libs/libavif-0.9.0:= )
gnome-keyring? ( app-crypt/libsecret )
introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
dev-libs/libtasn1:=
@@ -260,6 +261,7 @@ src_configure() {
-DUSE_LIBNOTIFY=$(usex libnotify)
-DUSE_LIBSECRET=$(usex gnome-keyring)
-DUSE_OPENJPEG=$(usex jpeg2k)
+ -DUSE_AVIF=$(usex avif)
-DUSE_WOFF2=ON
-DENABLE_SPELLCHECK=$(usex spell)
-DENABLE_JOURNALD_LOG=$(usex systemd)