Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tiff/
Date: Fri, 16 Feb 2018 15:30:52
Message-Id: 1518795037.9013717aad02e7af727ff6c7730e3ed21534d941.polynomial-c@gentoo
1 commit: 9013717aad02e7af727ff6c7730e3ed21534d941
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 15:30:37 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 15:30:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9013717a
7
8 media-libs/tiff: Removed old.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-libs/tiff/tiff-4.0.9.ebuild | 82 ---------------------------------------
13 1 file changed, 82 deletions(-)
14
15 diff --git a/media-libs/tiff/tiff-4.0.9.ebuild b/media-libs/tiff/tiff-4.0.9.ebuild
16 deleted file mode 100644
17 index cebe715adca..00000000000
18 --- a/media-libs/tiff/tiff-4.0.9.ebuild
19 +++ /dev/null
20 @@ -1,82 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="6"
25 -inherit autotools eutils libtool multilib-minimal
26 -
27 -DESCRIPTION="Tag Image File Format (TIFF) library"
28 -HOMEPAGE="http://libtiff.maptools.org"
29 -SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
30 - ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
31 -
32 -LICENSE="libtiff"
33 -SLOT="0"
34 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
35 -IUSE="+cxx jbig jpeg lzma static-libs test zlib"
36 -
37 -RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
38 - jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
39 - lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
40 - zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
41 - abi_x86_32? (
42 - !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
43 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
44 - )"
45 -DEPEND="${RDEPEND}"
46 -
47 -REQUIRED_USE="test? ( jpeg )" #483132
48 -
49 -PATCHES=(
50 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
51 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0007-uninitialized-value.patch
52 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0008-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
53 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0013-validate-refblackwhite.patch
54 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0018-fix-leak-in-PredictorSetupDecode.patch
55 - "${FILESDIR}"/${PN}-4.0.7-pdfium-0021-oom-TIFFFillStrip.patch
56 -)
57 -
58 -MULTILIB_WRAPPED_HEADERS=(
59 - /usr/include/tiffconf.h
60 -)
61 -
62 -src_prepare() {
63 - default
64 -
65 - # tiffcp-thumbnail.sh fails as thumbnail binary doesn't get built anymore since tiff-4.0.7
66 - sed '/tiffcp-thumbnail\.sh/d' -i test/Makefile.am || die
67 -
68 - eautoreconf
69 -}
70 -
71 -multilib_src_configure() {
72 - ECONF_SOURCE="${S}" econf \
73 - $(use_enable static-libs static) \
74 - $(use_enable zlib) \
75 - $(use_enable jpeg) \
76 - $(use_enable jbig) \
77 - $(use_enable lzma) \
78 - $(use_enable cxx) \
79 - --without-x
80 -
81 - # remove useless subdirs
82 - if ! multilib_is_native_abi ; then
83 - sed -i \
84 - -e 's/ tools//' \
85 - -e 's/ contrib//' \
86 - -e 's/ man//' \
87 - -e 's/ html//' \
88 - Makefile || die
89 - fi
90 -}
91 -
92 -multilib_src_test() {
93 - if ! multilib_is_native_abi ; then
94 - emake -C tools
95 - fi
96 - emake check
97 -}
98 -
99 -multilib_src_install_all() {
100 - prune_libtool_files --all
101 - rm -f "${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
102 -}