11 |
11 |
# GraphicsMagick maintainer Bob Friesenhahn. Please be careful when verifying
|
12 |
12 |
# who made releases.
|
13 |
13 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/rouault.asc
|
14 |
|
inherit autotools multilib-minimal verify-sig flag-o-matic
|
|
14 |
inherit libtool multilib-minimal verify-sig flag-o-matic
|
15 |
15 |
|
16 |
16 |
MY_P="${P/_rc/rc}"
|
17 |
17 |
DESCRIPTION="Tag Image File Format (TIFF) library"
|
... | ... | |
23 |
23 |
LICENSE="libtiff"
|
24 |
24 |
SLOT="0/6"
|
25 |
25 |
if [[ ${PV} != *_rc* ]] ; then
|
26 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
26 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
27 |
27 |
fi
|
28 |
28 |
IUSE="+cxx jbig jpeg lzma static-libs test webp zlib zstd"
|
29 |
29 |
RESTRICT="!test? ( test )"
|
... | ... | |
31 |
31 |
# bug #483132
|
32 |
32 |
REQUIRED_USE="test? ( jpeg )"
|
33 |
33 |
|
34 |
|
RDEPEND="jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
|
|
34 |
RDEPEND="
|
|
35 |
jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
|
35 |
36 |
jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
|
36 |
37 |
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
37 |
38 |
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
|
38 |
39 |
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
39 |
|
zstd? ( >=app-arch/zstd-1.3.7-r1:=[${MULTILIB_USEDEP}] )"
|
|
40 |
zstd? ( >=app-arch/zstd-1.3.7-r1:=[${MULTILIB_USEDEP}] )
|
|
41 |
"
|
40 |
42 |
DEPEND="${RDEPEND}"
|
41 |
43 |
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-evenrouault )"
|
42 |
44 |
|
... | ... | |
44 |
46 |
/usr/include/tiffconf.h
|
45 |
47 |
)
|
46 |
48 |
|
47 |
|
PATCHES=(
|
48 |
|
"${FILESDIR}"/${PN}-4.5.0_rc1-skip-tools-tests-multilib.patch
|
49 |
|
"${FILESDIR}"/${PN}-4.5.0-CVE-2022-48281.patch
|
50 |
|
"${FILESDIR}"/${PN}-4.5.0-CVE-2023-0795-CVE-2023-0796-CVE-2023-0797-CVE-2023-0798-CVE-2023-0799.patch
|
51 |
|
"${FILESDIR}"/${PN}-4.5.0-CVE-2023-0800-CVE-2023-0801-CVE-2023-0802-CVE-2023-0803-CVE-2023-0804.patch
|
52 |
|
)
|
53 |
|
|
54 |
49 |
src_prepare() {
|
55 |
50 |
default
|
56 |
51 |
|
57 |
52 |
# Added to fix cross-compilation
|
58 |
|
#elibtoolize
|
59 |
|
|
60 |
|
# For skip-tools-tests-multilib.patch
|
61 |
|
eautoreconf
|
|
53 |
elibtoolize
|
62 |
54 |
}
|
63 |
55 |
|
64 |
56 |
multilib_src_configure() {
|