summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:46:15 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:57:24 +0200
commit5f095d85baaaf96e230f6daa90cd52f1ead6384d (patch)
tree7aea59d172fb55ab3605162d23fc7b29b6ed6079 /kde-frameworks
parentkde-frameworks/kfilemetadata: 6.7.0 version bump (diff)
downloadgentoo-5f095d85baaaf96e230f6daa90cd52f1ead6384d.tar.gz
gentoo-5f095d85baaaf96e230f6daa90cd52f1ead6384d.tar.bz2
gentoo-5f095d85baaaf96e230f6daa90cd52f1ead6384d.zip
kde-frameworks/kimageformats: 6.7.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kimageformats/Manifest1
-rw-r--r--kde-frameworks/kimageformats/kimageformats-6.7.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index 732089789747..9794f958ead1 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1,2 +1,3 @@
DIST kimageformats-5.116.0.tar.xz 15758576 BLAKE2B 4df7288d340738eb9555bd0d9430562ec65bb21ea44433e3c8ace1b8c91b343ef4dec79ca6bbc30e2fe0da187ee70fde6dbc1cbf84662dcf55adc51a49307f94 SHA512 2280e0ee39166d99a4d0ad01dc17ccb96f78e05ede4793319849f70b671d3e53238619c99a540a4f32a8297a29b18e06919629c0d84078556fbf388cb29c94ce
DIST kimageformats-6.6.0.tar.xz 18384680 BLAKE2B 71ca7a185996a202c50c5e5fff72aed33601ff2960e8945e20042d2366dd92ea8f887baef664f39c8acde16842018c1a5a40cd82b8792a4cf75c0d69de3943cb SHA512 4c52ab179e00415b8b3f809fc56944f4b207c93a41baae9a709868a50d9092e3636d6c9e54ec2cae375a53513d09f3213933bf3b1187974d00762ec1841da19f
+DIST kimageformats-6.7.0.tar.xz 18385220 BLAKE2B 5a0d0baf97c299a25e62fb146c11f6c22f7c4651aadf64a88cacc2cb308cd1fbae3aaf4f66af1cf8300d532c06f5a0851c7b0d274c3f7dc5325ec56c5f13d0ed SHA512 8f198bde9f60508ec65d02c2ba6d4816b15b1f88f6059b97cd4c61a7f4f27b7a22576799880254cb423170f30584aff35de854eddfae01499b15fdb895c8b16e
diff --git a/kde-frameworks/kimageformats/kimageformats-6.7.0.ebuild b/kde-frameworks/kimageformats/kimageformats-6.7.0.ebuild
new file mode 100644
index 000000000000..f195832da455
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-6.7.0.ebuild
@@ -0,0 +1,47 @@
+# 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 ~arm64 ~ppc64 ~riscv ~x86"
+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_JXR=OFF # TODO: check if ready upstream
+ -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
+}