summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Novomesky <dnovomesky@gmail.com>2022-03-10 12:42:31 +0100
committerJoonas Niilola <juippis@gentoo.org>2022-03-24 14:46:39 +0200
commit2c9804b23b54bdc28b81bc3968201fbb886c1c26 (patch)
tree7ce628d6bfb974693fe1dd035e01ebd9579d8cfb /media-gfx/gimp
parentmedia-libs/libjxl: new package, moved from ::guru (diff)
downloadgentoo-2c9804b23b54bdc28b81bc3968201fbb886c1c26.tar.gz
gentoo-2c9804b23b54bdc28b81bc3968201fbb886c1c26.tar.bz2
gentoo-2c9804b23b54bdc28b81bc3968201fbb886c1c26.zip
media-gfx/gimp: add jpegxl use flag
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Daniel Novomesky <dnovomesky@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24474 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild4
-rw-r--r--media-gfx/gimp/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 28a370966ece..bcead23bec7b 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -18,7 +18,7 @@ SRC_URI=""
LICENSE="GPL-3 LGPL-3"
SLOT="0/3"
-IUSE="aalib alsa aqua doc gnome heif javascript jpeg2k lua mng openexr postscript python udev unwind vala vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
+IUSE="aalib alsa aqua doc gnome heif javascript jpeg2k jpegxl lua mng openexr postscript python udev unwind vala vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
REQUIRED_USE="
lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -63,6 +63,7 @@ COMMON_DEPEND="
heif? ( >=media-libs/libheif-1.9.1:= )
javascript? ( dev-libs/gjs )
jpeg2k? ( >=media-libs/openjpeg-2.3.1:2= )
+ jpegxl? ( >=media-libs/libjxl-0.6.1:= )
lua? (
${LUA_DEPS}
$(lua_gen_cond_dep '
@@ -181,6 +182,7 @@ src_configure() {
$(use_with heif libheif)
$(use_with javascript)
$(use_with jpeg2k jpeg2000)
+ $(use_with jpegxl)
$(use_with lua)
$(use_with mng libmng)
$(use_with openexr)
diff --git a/media-gfx/gimp/metadata.xml b/media-gfx/gimp/metadata.xml
index a88c4f2091f9..a6a6e9603073 100644
--- a/media-gfx/gimp/metadata.xml
+++ b/media-gfx/gimp/metadata.xml
@@ -11,6 +11,7 @@
</maintainer>
<use>
<flag name="heif">Enable support for ISO/IEC 23008-12:2017 HEIF files</flag>
+ <flag name="jpegxl">Enable support for JPEG XL image format</flag>
<flag name="vector-icons">Enable support for vector icons (experimental)</flag>
</use>
</pkgmetadata>