1 |
commit: c2ee0a12de8cc34fcfce2be0b670d6e26284f34c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 20:37:17 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 20:37:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ee0a12 |
7 |
|
8 |
dev-qt/qtimageformats: Backport 5.15.6 Jasper 3 fix |
9 |
|
10 |
jp2: use correct buffer_size for jas_stream_memopen |
11 |
QTBUG: https://bugreports.qt.io/browse/QTBUG-104398 |
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
.../qtimageformats/qtimageformats-5.15.5-r1.ebuild | 32 ++++++++++++++++++++++ |
16 |
1 file changed, 32 insertions(+) |
17 |
|
18 |
diff --git a/dev-qt/qtimageformats/qtimageformats-5.15.5-r1.ebuild b/dev-qt/qtimageformats/qtimageformats-5.15.5-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000000..0926524f47a9 |
21 |
--- /dev/null |
22 |
+++ b/dev-qt/qtimageformats/qtimageformats-5.15.5-r1.ebuild |
23 |
@@ -0,0 +1,32 @@ |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+QT5_KDEPATCHSET_REV=1 |
30 |
+inherit qt5-build |
31 |
+ |
32 |
+DESCRIPTION="Additional format plugins for the Qt image I/O system" |
33 |
+ |
34 |
+if [[ ${QT5_BUILD_TYPE} == release ]]; then |
35 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~sparc ~x86" |
36 |
+fi |
37 |
+ |
38 |
+IUSE="mng" |
39 |
+ |
40 |
+DEPEND=" |
41 |
+ =dev-qt/qtcore-${QT5_PV}* |
42 |
+ =dev-qt/qtgui-${QT5_PV}* |
43 |
+ media-libs/libwebp:= |
44 |
+ media-libs/tiff:0 |
45 |
+ mng? ( media-libs/libmng:= ) |
46 |
+" |
47 |
+RDEPEND="${DEPEND}" |
48 |
+ |
49 |
+src_configure() { |
50 |
+ sed -e 's/qtConfig(jasper)/false:/' \ |
51 |
+ -i src/plugins/imageformats/imageformats.pro || die |
52 |
+ qt_use_disable_config mng mng src/plugins/imageformats/imageformats.pro |
53 |
+ |
54 |
+ qt5-build_src_configure |
55 |
+} |