aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-25 21:23:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-25 21:23:09 +0100
commit6944df010dab886e1424eb85a07d1c0b243a0c77 (patch)
tree09d3d826338da53adf108f8de9b093a99d11b7d7
parentsci-astronomy/kstars: Raise min sci-astronomy/stellarsolver to 2.2 (diff)
downloadkde-6944df01.tar.gz
kde-6944df01.tar.bz2
kde-6944df01.zip
kde-frameworks/kimageformats: Add IUSE=jpegxl
Bug: https://bugs.gentoo.org/834999 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/kimageformats/kimageformats-9999.ebuild4
-rw-r--r--kde-frameworks/kimageformats/metadata.xml1
2 files changed, 3 insertions, 2 deletions
diff --git a/kde-frameworks/kimageformats/kimageformats-9999.ebuild b/kde-frameworks/kimageformats/kimageformats-9999.ebuild
index 37291764c2..677a02eb4b 100644
--- a/kde-frameworks/kimageformats/kimageformats-9999.ebuild
+++ b/kde-frameworks/kimageformats/kimageformats-9999.ebuild
@@ -12,7 +12,7 @@ inherit ecm kde.org
DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system"
LICENSE="LGPL-2+"
KEYWORDS=""
-IUSE="avif eps heif openexr"
+IUSE="avif eps heif jpegxl openexr"
DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
@@ -28,7 +28,7 @@ DOCS=( src/imageformats/AUTHORS )
src_configure() {
local mycmakeargs=(
- -DKIMAGEFORMATS_JXL=OFF # TODO: libjxl not packaged yet
+ -DKIMAGEFORMATS_JXL=$(usex jpegxl)
$(cmake_use_find_package avif libavif)
$(cmake_use_find_package eps Qt5PrintSupport)
-DKIMAGEFORMATS_HEIF=$(usex heif)
diff --git a/kde-frameworks/kimageformats/metadata.xml b/kde-frameworks/kimageformats/metadata.xml
index 54a8336872..32a938a852 100644
--- a/kde-frameworks/kimageformats/metadata.xml
+++ b/kde-frameworks/kimageformats/metadata.xml
@@ -12,6 +12,7 @@
<flag name="avif">Support the AVIF image file format</flag>
<flag name="eps">Support the EPS graphics file format</flag>
<flag name="heif">Support for HEIF/HEIC images</flag>
+ <flag name="jpegxl">Support for JPEG XL image format</flag>
</use>
<slots>
<subslots>