summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-08-14 18:32:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-08-14 19:07:38 +0200
commit40b540d995c3f75ae3350a50e2ee20586d46952f (patch)
treebb5d7b5f4e5a21047c29db6069f9fe6520e7d054
parentkde-frameworks/kfilemetadata: 5.85.0 version bump (diff)
downloadgentoo-40b540d995c3f75ae3350a50e2ee20586d46952f.tar.gz
gentoo-40b540d995c3f75ae3350a50e2ee20586d46952f.tar.bz2
gentoo-40b540d995c3f75ae3350a50e2ee20586d46952f.zip
kde-frameworks/kimageformats: 5.85.0 version bump
Restrict to media-libs/openexr:0 - while upstream support OpenEXR-3, the solution presented in 5.84.0-r1 was insufficient. See also: https://github.com/gentoo/gentoo/pull/20930 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/kimageformats/Manifest1
-rw-r--r--kde-frameworks/kimageformats/kimageformats-5.85.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index e21fecd08991..03842dc98c80 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1,2 +1,3 @@
DIST kimageformats-5.82.0.tar.xz 590128 BLAKE2B 2136a68dd1c7a9dd6c07da180d228ceafdeeb6c7bc35af66e53709c33e9bef40c4bc37a78243c29ae8041d1f92b365c809de34fa134ba66494dd50fad1f4ae81 SHA512 7f24763602a47eb580685164ae0ca2d074859eabed449c41ec28385a5cc9d2dc0ef348809e98452a320268fde37e1569e324c75b3de3908b7070a78749cdf56a
DIST kimageformats-5.84.0.tar.xz 590576 BLAKE2B 0143400e0e93ada1424778a4787073308711a3c1ee4949e725989dfc17a8cc2d5621b13f136ea0c40f3e1a2a731f3e8b8c6d58bcb0880982011c668568294a17 SHA512 b4b820465399c910530280705b650dfaffdc3c3862ca2f9630be466c3ddc78350ef1d10852cb2ec240ac798fa325249bf8cd61c54592d680f03fbf238ee63e41
+DIST kimageformats-5.85.0.tar.xz 590844 BLAKE2B 39102bcb685a35146871201604d220a0f439531ab65b1d78b6045bb9c45651c7b54967c8c82a100dfb5da028fef1c845c8711a632dcfffa9fbd752a2884e42bd SHA512 7f72ee1d0d56638c1aa8ab0b61f18e69517921f25a64424ab848177da13506ed917eb17661f5a1069f5e56578f6a5271c9fbe665d8cfdbd284e28747e6bfc321
diff --git a/kde-frameworks/kimageformats/kimageformats-5.85.0.ebuild b/kde-frameworks/kimageformats/kimageformats-5.85.0.ebuild
new file mode 100644
index 000000000000..e5bf4997343b
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-5.85.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_QTHELP="false"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.2
+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 ~x86"
+IUSE="avif eps heif 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:= )
+ openexr? (
+ media-libs/ilmbase:0=
+ <media-libs/openexr-3.0.0:0=
+ )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( src/imageformats/AUTHORS )
+
+src_configure() {
+ local mycmakeargs=(
+ $(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
+}