summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-13 19:43:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-14 10:29:17 +0200
commit9eda7e5e1e50fd3875f969063cdbef12c2cc8445 (patch)
treed7cb57f77a89c6d347cc0196ddc242eb1d40c590 /kde-frameworks
parentkde-frameworks/kfilemetadata: 5.97.0 version bump (diff)
downloadgentoo-9eda7e5e1e50fd3875f969063cdbef12c2cc8445.tar.gz
gentoo-9eda7e5e1e50fd3875f969063cdbef12c2cc8445.tar.bz2
gentoo-9eda7e5e1e50fd3875f969063cdbef12c2cc8445.zip
kde-frameworks/kimageformats: 5.97.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-5.97.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index 286fcd96468c..10edb195de47 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1 +1,2 @@
DIST kimageformats-5.96.0.tar.xz 3589112 BLAKE2B 2a9e5f72b09e27ebb561013f816b41e9ef8be9d874074ddd014f631a57f0da79cc2785d3d528f9ea9f76b940075f0f7649aca57c8ff20a376f5ffa3adea80eb1 SHA512 37e51279824df05391647d45125676127d5570d4ed0905d2378dd627c3542d61f6f43bdd4e6f28ef43268127d120c1d2829a5cba34dde1ba7427b9051d241c1c
+DIST kimageformats-5.97.0.tar.xz 5310548 BLAKE2B 552f63f3a3ed2457c510f3cde9dcd65b5c1e07b4436dd15c9ae83cc90fac6b95fb921448f5ee60bd55a6f3bca56a61aef54346fe2e6a5fc8059437fc0abe3a9c SHA512 da0670805aeb19c00cbfcba8d55da1b7e8b73710a272272b13a75e5e901d1aefcd9a264e06e4f85c5839a2ec9f483b5da808fbb57691022cf83e90a0671db06a
diff --git a/kde-frameworks/kimageformats/kimageformats-5.97.0.ebuild b/kde-frameworks/kimageformats/kimageformats-5.97.0.ebuild
new file mode 100644
index 000000000000..cb5227ae84d5
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-5.97.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.5
+VIRTUALX_REQUIRED="test"
+inherit ecm frameworks.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
+}