summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/kimageformats/Manifest1
-rw-r--r--kde-frameworks/kimageformats/kimageformats-6.2.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index a75fefdc8390..06b463af7352 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1,2 +1,3 @@
DIST kimageformats-5.115.0.tar.xz 15757728 BLAKE2B 911215f6271a367f61ba47531cd258ef3b8471d239550770d738ee3de28f1e5b7ca6a15f904c8080c8c11cb34b26627206d281fafc55b86daa5a3ea0096c1ab0 SHA512 826cd5670ff7064163aeda2097cc2cf95d1d997e67d6c7e9ac40e54f797246d0a527fe01b4d90a2d052e8de10d57ae5d2c1bf8f23a4444d030b242cfc481517f
DIST kimageformats-6.1.0.tar.xz 15921424 BLAKE2B 71e21c9b839673b2d50ee69368ac595f7a1b6f1ec558ad42f231b6c27c8d1157d801b4ae46e8eeb68297f40a9b8ed269493be7925c7739ec08215708f3dbdfcd SHA512 99bf723b4a250d5d0c45cc5f77d2149e900f75a65fb70b2b2cd3cf61b60ba62ab7b17251a9a9f9c033681261f7ef4a5a4d5298d15a83d7327395884849ced157
+DIST kimageformats-6.2.0.tar.xz 15927140 BLAKE2B 00709b604ec51854c70408013f9a24f04684ce48c3ab92b3762a116cb64f20f1f1af1134f5e041662d8da8f1c48e31f8bac11a70ca0550597dc5d2457f821bee SHA512 eae751e34a2d465b126c4829b5de500fc3ef83c85aa011bd95e5d2e8a4c3f6d144f2e138cd37dac9c51839820834d30c3e6393c61959f0f5c4618f0a7c719124
diff --git a/kde-frameworks/kimageformats/kimageformats-6.2.0.ebuild b/kde-frameworks/kimageformats/kimageformats-6.2.0.ebuild
new file mode 100644
index 000000000000..3568b85e4894
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-6.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_QTHELP="false"
+PVCUT=$(ver_cut 1-2)
+QTMIN=6.6.2
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64"
+IUSE="avif eps heif jpegxl openexr raw"
+
+RDEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui]
+ =kde-frameworks/karchive-${PVCUT}*:6
+ avif? ( >=media-libs/libavif-0.8.2:= )
+ eps? ( >=dev-qt/qtbase-${QTMIN}:6[widgets] )
+ heif? ( >=media-libs/libheif-1.10.0:= )
+ jpegxl? ( >=media-libs/libjxl-0.7.0:= )
+ openexr? ( >=media-libs/openexr-3:= )
+ raw? ( media-libs/libraw:= )
+"
+DEPEND="${RDEPEND}
+ test? (
+ >=dev-qt/qtimageformats-${QTMIN}:6
+ heif? ( media-libs/libheif[x265] )
+ )
+"
+
+DOCS=( src/imageformats/AUTHORS )
+
+src_configure() {
+ local mycmakeargs=(
+ -DKIMAGEFORMATS_JXL=$(usex jpegxl)
+ $(cmake_use_find_package avif libavif)
+ $(cmake_use_find_package eps Qt6PrintSupport)
+ -DKIMAGEFORMATS_HEIF=$(usex heif)
+ $(cmake_use_find_package openexr OpenEXR)
+ $(cmake_use_find_package raw LibRaw)
+ )
+ ecm_src_configure
+}