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: Mon, 31 Aug 2015 09:58:08
Message-Id: 1441015055.983ecffedc67a232ff417e86a831e1cc406a3cee.polynomial-c@gentoo
1 commit: 983ecffedc67a232ff417e86a831e1cc406a3cee
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 09:57:35 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 09:57:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=983ecffe
7
8 media-libs/tiff: Bump to version 4.0.5
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-libs/tiff/Manifest | 1 +
14 media-libs/tiff/tiff-4.0.5.ebuild | 72 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 73 insertions(+)
16
17 diff --git a/media-libs/tiff/Manifest b/media-libs/tiff/Manifest
18 index 95d287a..4d623e7 100644
19 --- a/media-libs/tiff/Manifest
20 +++ b/media-libs/tiff/Manifest
21 @@ -1,2 +1,3 @@
22 DIST tiff-3.9.7.tar.gz 1468097 SHA256 f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a SHA512 ca89584a9ffa33b4986e4bc2165043cec239896f1f0ab73db00818d0442b570efaa6345b2ed422e884202324d359713df849bf14782bb0cf3b959655febddd77 WHIRLPOOL c06b35da66c365c1fe7f0e6e06a400e139d3e2b5b280aa764015c2f0383a6191ffb3d335cdf2211b687bbb0caacf641be409148986a9813dfde5822a650a9b1c
23 DIST tiff-4.0.3.tar.gz 2051630 SHA256 ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872 SHA512 d80e18b00e9e696a30b954c0d92e5f2f773fd9a7a0a944cf6cabb69c1798e671506580daa1cd2ebf493ae922000170c2491dfc6d4c0a9cd0b865684070595a73 WHIRLPOOL 762ace7c66dec7a6f350bc8c000a9e1f4b775e7b148b1d923eb3f7c015f47bda65a54bc0b5974ce665c7d836ec0b275c9307d1f18f3b6bee8b0949a6cceb319e
24 +DIST tiff-4.0.5.tar.gz 2135410 SHA256 e25eaa83ed7fab43ddd278b9b14d91a406a4b674cedc776adb95535f897f309c SHA512 f3c4329653d5014e70624cbff7fcdc00e6c93a68fd9628b536e14937a44e99957282523cc3211ca6bc88cb35a127355ee923eba4c06bb7f88756145fdbd9f7fc WHIRLPOOL 869ece7aeac795111027e0c9bc0eb10aa9233304c159cc5ce47ac18abc57cf77f8a03ff5164ad0b35afa22fd636074f185e2e97019b40b3e257f8111707d166e
25
26 diff --git a/media-libs/tiff/tiff-4.0.5.ebuild b/media-libs/tiff/tiff-4.0.5.ebuild
27 new file mode 100644
28 index 0000000..af78142
29 --- /dev/null
30 +++ b/media-libs/tiff/tiff-4.0.5.ebuild
31 @@ -0,0 +1,72 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +inherit eutils libtool multilib-minimal
38 +
39 +DESCRIPTION="Tag Image File Format (TIFF) library"
40 +HOMEPAGE="http://www.remotesensing.org/libtiff/"
41 +SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
42 + ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
43 +
44 +LICENSE="libtiff"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
47 +IUSE="+cxx jbig jpeg lzma static-libs test zlib"
48 +
49 +RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
50 + jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
51 + lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
52 + zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
53 + abi_x86_32? (
54 + !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
55 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
56 + )"
57 +DEPEND="${RDEPEND}"
58 +
59 +REQUIRED_USE="test? ( jpeg )" #483132
60 +
61 +MULTILIB_WRAPPED_HEADERS=(
62 + /usr/include/tiffconf.h
63 +)
64 +
65 +src_prepare() {
66 + elibtoolize
67 +}
68 +
69 +multilib_src_configure() {
70 + ECONF_SOURCE="${S}" econf \
71 + $(use_enable static-libs static) \
72 + $(use_enable zlib) \
73 + $(use_enable jpeg) \
74 + $(use_enable jbig) \
75 + $(use_enable lzma) \
76 + $(use_enable cxx) \
77 + --without-x \
78 + --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
79 +
80 + # remove useless subdirs
81 + if ! multilib_is_native_abi ; then
82 + sed -i \
83 + -e 's/ tools//' \
84 + -e 's/ contrib//' \
85 + -e 's/ man//' \
86 + -e 's/ html//' \
87 + Makefile || die
88 + fi
89 +}
90 +
91 +multilib_src_test() {
92 + if ! multilib_is_native_abi ; then
93 + cd tools
94 + emake
95 + cd "${BUILD_DIR}"
96 + fi
97 + emake check
98 +}
99 +
100 +multilib_src_install_all() {
101 + prune_libtool_files --all
102 + rm -f "${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
103 +}