Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/exact-image/
Date: Wed, 02 Mar 2022 20:51:18
Message-Id: 1646254253.d23aa06fb9ce58308d7ce59f2ceb6ea4bcf5a09c.tupone@gentoo
1 commit: d23aa06fb9ce58308d7ce59f2ceb6ea4bcf5a09c
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 20:50:53 2022 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 20:50:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23aa06f
7
8 media-gfx/exact-image: compatible with openexr:3
9
10 Closes: https://bugs.gentoo.org/834328
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
13
14 ...-image-1.0.2-r2.ebuild => exact-image-1.0.2-r3.ebuild} | 15 +++++++++------
15 1 file changed, 9 insertions(+), 6 deletions(-)
16
17 diff --git a/media-gfx/exact-image/exact-image-1.0.2-r2.ebuild b/media-gfx/exact-image/exact-image-1.0.2-r3.ebuild
18 similarity index 90%
19 rename from media-gfx/exact-image/exact-image-1.0.2-r2.ebuild
20 rename to media-gfx/exact-image/exact-image-1.0.2-r3.ebuild
21 index 32d67a26443a..700070540cde 100644
22 --- a/media-gfx/exact-image/exact-image-1.0.2-r2.ebuild
23 +++ b/media-gfx/exact-image/exact-image-1.0.2-r3.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2021 Gentoo Authors
26 +# Copyright 1999-2022 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=7
30 @@ -15,7 +15,7 @@ LICENSE="GPL-2"
31 SLOT="0"
32 KEYWORDS="~amd64 ~x86"
33 IUSE="expat jpeg lua openexr php perl png ruby swig tiff truetype X"
34 -REQUIRED_USE="lua? ( swig )"
35 +REQUIRED_USE="lua? ( swig ) perl? ( swig ) php? ( swig ) ruby? ( swig )"
36
37 RDEPEND="
38 x11-libs/agg[truetype]
39 @@ -23,7 +23,7 @@ RDEPEND="
40 expat? ( dev-libs/expat )
41 jpeg? ( virtual/jpeg )
42 lua? ( ${LUA_DEPS} )
43 - openexr? ( <media-libs/openexr-3.0.0:0= )
44 + openexr? ( media-libs/openexr:= )
45 php? ( dev-lang/php:* )
46 perl? ( dev-lang/perl )
47 png? ( >=media-libs/libpng-1.2.43 )
48 @@ -35,8 +35,7 @@ RDEPEND="
49 x11-libs/libXt
50 x11-libs/libICE
51 x11-libs/libSM
52 - )
53 -"
54 + )"
55 DEPEND="
56 ${RDEPEND}
57 swig? ( dev-lang/swig )
58 @@ -72,6 +71,11 @@ src_prepare() {
59 sed -i \
60 -e 's/strcpy(\([^,]*\)\(,["a-zA-Z -]*\))/memcpy(\1\2, sizeof(\1))/' \
61 codecs/tga.cc || die
62 +
63 + # openexr vers 3
64 + sed -i \
65 + -e 's:Int64:uint64_t:g' \
66 + codecs/openexr.cc || die
67 }
68
69 src_configure() {
70 @@ -97,7 +101,6 @@ src_configure() {
71 --without-bardecode \
72 $(use_with lua) \
73 $(use_with swig) \
74 - --without-python \
75 $(use_with perl) \
76 --without-python \
77 $(use_with php) \