1 |
commit: 6944df010dab886e1424eb85a07d1c0b243a0c77 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 25 20:23:09 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 25 20:23:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6944df01 |
7 |
|
8 |
kde-frameworks/kimageformats: Add IUSE=jpegxl |
9 |
|
10 |
Bug: https://bugs.gentoo.org/834999 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
kde-frameworks/kimageformats/kimageformats-9999.ebuild | 4 ++-- |
15 |
kde-frameworks/kimageformats/metadata.xml | 1 + |
16 |
2 files changed, 3 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/kde-frameworks/kimageformats/kimageformats-9999.ebuild b/kde-frameworks/kimageformats/kimageformats-9999.ebuild |
19 |
index 37291764c2..677a02eb4b 100644 |
20 |
--- a/kde-frameworks/kimageformats/kimageformats-9999.ebuild |
21 |
+++ b/kde-frameworks/kimageformats/kimageformats-9999.ebuild |
22 |
@@ -12,7 +12,7 @@ inherit ecm kde.org |
23 |
DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system" |
24 |
LICENSE="LGPL-2+" |
25 |
KEYWORDS="" |
26 |
-IUSE="avif eps heif openexr" |
27 |
+IUSE="avif eps heif jpegxl openexr" |
28 |
|
29 |
DEPEND=" |
30 |
>=dev-qt/qtgui-${QTMIN}:5 |
31 |
@@ -28,7 +28,7 @@ DOCS=( src/imageformats/AUTHORS ) |
32 |
|
33 |
src_configure() { |
34 |
local mycmakeargs=( |
35 |
- -DKIMAGEFORMATS_JXL=OFF # TODO: libjxl not packaged yet |
36 |
+ -DKIMAGEFORMATS_JXL=$(usex jpegxl) |
37 |
$(cmake_use_find_package avif libavif) |
38 |
$(cmake_use_find_package eps Qt5PrintSupport) |
39 |
-DKIMAGEFORMATS_HEIF=$(usex heif) |
40 |
|
41 |
diff --git a/kde-frameworks/kimageformats/metadata.xml b/kde-frameworks/kimageformats/metadata.xml |
42 |
index 54a8336872..32a938a852 100644 |
43 |
--- a/kde-frameworks/kimageformats/metadata.xml |
44 |
+++ b/kde-frameworks/kimageformats/metadata.xml |
45 |
@@ -12,6 +12,7 @@ |
46 |
<flag name="avif">Support the AVIF image file format</flag> |
47 |
<flag name="eps">Support the EPS graphics file format</flag> |
48 |
<flag name="heif">Support for HEIF/HEIC images</flag> |
49 |
+ <flag name="jpegxl">Support for JPEG XL image format</flag> |
50 |
</use> |
51 |
<slots> |
52 |
<subslots> |