summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/kimageformats/Manifest1
-rw-r--r--kde-frameworks/kimageformats/kimageformats-5.94.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index 582045b155aa..d1f5b64a64ef 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1,2 +1,3 @@
DIST kimageformats-5.92.0.tar.xz 1223892 BLAKE2B e7ac90e29715560237d0458946f1b135b84c9b8869ca3003e80b7655d7c5c9c872400e4e102015f054a26423babc7fa334b237012b88c4771f95bc7aeaa24f80 SHA512 e07521fa2b566df38baeaad2ab213c683c4fb36b5218dc63302d8e9b52ce7e0d4341b59339b3181d6b1157fda1060e645e0f043d2a187d0662f8f8a43a2e7447
DIST kimageformats-5.93.0.tar.xz 1228820 BLAKE2B e773069328ed334f24b08d9c3783108c71a3fdc6d908ec5f78c46362f1c7d807896daca2d5b759c5dd6488ad6aaca1867c1d8be28acdc21e2b697616a3f1ed6e SHA512 b10fc976b90b2eb01e73917639e292c8d3a0236acca716b32fc131cd81ee8c26ff6922e02390cdf2ac00ee686c3b97ff07aa2e61dd284e3424d9dc8b463dc274
+DIST kimageformats-5.94.0.tar.xz 2926996 BLAKE2B 20a1b5cc3717c00e810a3cdeee0fb40b35c338304a48d98a6e4b300d719896017a24a32ea196bb1d95f99edefe9954fef596da9e27b41169688416025bb05164 SHA512 864606a0cdf11edc19ff70835e7ce8556d91ee892137f48f3e568c42f1971e7161b83c89caa6a8a4719fe6796259061b4063dccea7c592eb906c51e2dec27bcf
diff --git a/kde-frameworks/kimageformats/kimageformats-5.94.0.ebuild b/kde-frameworks/kimageformats/kimageformats-5.94.0.ebuild
new file mode 100644
index 000000000000..49ed65ace9b9
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-5.94.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_QTHELP="false"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="avif eps heif jpegxl openexr"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ =kde-frameworks/karchive-${PVCUT}*:5
+ avif? ( >=media-libs/libavif-0.8.2:= )
+ eps? ( >=dev-qt/qtprintsupport-${QTMIN}:5 )
+ heif? ( >=media-libs/libheif-1.10.0:= )
+ jpegxl? ( media-libs/libjxl )
+ openexr? ( >=media-libs/openexr-3:= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( src/imageformats/AUTHORS )
+
+src_configure() {
+ local mycmakeargs=(
+ -DKIMAGEFORMATS_JXL=$(usex jpegxl)
+ $(cmake_use_find_package avif libavif)
+ $(cmake_use_find_package eps Qt5PrintSupport)
+ -DKIMAGEFORMATS_HEIF=$(usex heif)
+ $(cmake_use_find_package openexr OpenEXR)
+ )
+
+ ecm_src_configure
+}