aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-02 23:15:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-02 23:22:26 +0100
commitacdbd729132e7c12fd29987b41a62dc95cdfc578 (patch)
treea85d184150dd0295c8a96c56954d2a61bc96d1c9 /kde-frameworks/kimageformats
parentkde-frameworks/kfilemetadata: 6.8.0 version bump (diff)
downloadkde-acdbd729132e7c12fd29987b41a62dc95cdfc578.tar.gz
kde-acdbd729132e7c12fd29987b41a62dc95cdfc578.tar.bz2
kde-acdbd729132e7c12fd29987b41a62dc95cdfc578.zip
kde-frameworks/kimageformats: 6.8.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kimageformats')
-rw-r--r--kde-frameworks/kimageformats/Manifest1
-rw-r--r--kde-frameworks/kimageformats/kimageformats-6.8.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
new file mode 100644
index 0000000000..c27543914a
--- /dev/null
+++ b/kde-frameworks/kimageformats/Manifest
@@ -0,0 +1 @@
+DIST kimageformats-6.8.0.tar.xz 18478000 BLAKE2B 49bb27d1dd2c6cab2e7fdf3aec85c4231d75871e331e1d6a50ffe3393886d1f9ae95679f8d1a8fe662a3b1cec533102ef594a03172df0800a18a3e7dea794e9c SHA512 d79e1df71d730b78293b4622ade9502103b903375f2e1c0fbd0e8cfff368a092ce42890d5f55952de0227195db88115659f773764f82a142d5f803024906216f
diff --git a/kde-frameworks/kimageformats/kimageformats-6.8.0.ebuild b/kde-frameworks/kimageformats/kimageformats-6.8.0.ebuild
new file mode 100644
index 0000000000..253df12d5b
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-6.8.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.7.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
+}