1 |
commit: 3996d9fbec7246e80d83c23418a6885c22be53ab |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 20 13:43:35 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 20 15:18:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3996d9fb |
7 |
|
8 |
kde-frameworks/kimageformats: Switch to media-libs/openexr:3= |
9 |
|
10 |
Now that stable versions of media-libs/openexr:3 are available, switch |
11 |
to unconditionally depend on the new slot instead of trying to support |
12 |
both, involving a messy alternative dependency declaration with |
13 |
media-libs/ilmbase. |
14 |
|
15 |
See also: https://github.com/gentoo/gentoo/pull/20930 |
16 |
|
17 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
18 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
19 |
|
20 |
.../kimageformats/kimageformats-5.89.0-r1.ebuild | 39 ++++++++++++++++++++++ |
21 |
1 file changed, 39 insertions(+) |
22 |
|
23 |
diff --git a/kde-frameworks/kimageformats/kimageformats-5.89.0-r1.ebuild b/kde-frameworks/kimageformats/kimageformats-5.89.0-r1.ebuild |
24 |
new file mode 100644 |
25 |
index 000000000000..633db4591250 |
26 |
--- /dev/null |
27 |
+++ b/kde-frameworks/kimageformats/kimageformats-5.89.0-r1.ebuild |
28 |
@@ -0,0 +1,39 @@ |
29 |
+# Copyright 1999-2021 Gentoo Authors |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=8 |
33 |
+ |
34 |
+ECM_QTHELP="false" |
35 |
+PVCUT=$(ver_cut 1-2) |
36 |
+QTMIN=5.15.2 |
37 |
+VIRTUALX_REQUIRED="test" |
38 |
+inherit ecm kde.org |
39 |
+ |
40 |
+DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system" |
41 |
+LICENSE="LGPL-2+" |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
43 |
+IUSE="avif eps heif openexr" |
44 |
+ |
45 |
+DEPEND=" |
46 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
47 |
+ =kde-frameworks/karchive-${PVCUT}*:5 |
48 |
+ avif? ( >=media-libs/libavif-0.8.2:= ) |
49 |
+ eps? ( >=dev-qt/qtprintsupport-${QTMIN}:5 ) |
50 |
+ heif? ( >=media-libs/libheif-1.10.0:= ) |
51 |
+ openexr? ( media-libs/openexr:3= ) |
52 |
+" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+DOCS=( src/imageformats/AUTHORS ) |
56 |
+ |
57 |
+src_configure() { |
58 |
+ local mycmakeargs=( |
59 |
+ -DKIMAGEFORMATS_JXL=OFF # TODO: libjxl not packaged yet |
60 |
+ $(cmake_use_find_package avif libavif) |
61 |
+ $(cmake_use_find_package eps Qt5PrintSupport) |
62 |
+ -DKIMAGEFORMATS_HEIF=$(usex heif) |
63 |
+ $(cmake_use_find_package openexr OpenEXR) |
64 |
+ ) |
65 |
+ |
66 |
+ ecm_src_configure |
67 |
+} |