forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/tiff: Bump to version 4.0.6
Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler <[email protected]>
- Loading branch information
Lars Wendler
committed
Sep 13, 2015
1 parent
740132c
commit 5068cb6
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST tiff-3.9.7.tar.gz 1468097 SHA256 f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a SHA512 ca89584a9ffa33b4986e4bc2165043cec239896f1f0ab73db00818d0442b570efaa6345b2ed422e884202324d359713df849bf14782bb0cf3b959655febddd77 WHIRLPOOL c06b35da66c365c1fe7f0e6e06a400e139d3e2b5b280aa764015c2f0383a6191ffb3d335cdf2211b687bbb0caacf641be409148986a9813dfde5822a650a9b1c | ||
DIST tiff-4.0.3.tar.gz 2051630 SHA256 ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872 SHA512 d80e18b00e9e696a30b954c0d92e5f2f773fd9a7a0a944cf6cabb69c1798e671506580daa1cd2ebf493ae922000170c2491dfc6d4c0a9cd0b865684070595a73 WHIRLPOOL 762ace7c66dec7a6f350bc8c000a9e1f4b775e7b148b1d923eb3f7c015f47bda65a54bc0b5974ce665c7d836ec0b275c9307d1f18f3b6bee8b0949a6cceb319e | ||
DIST tiff-4.0.5.tar.gz 2135410 SHA256 e25eaa83ed7fab43ddd278b9b14d91a406a4b674cedc776adb95535f897f309c SHA512 f3c4329653d5014e70624cbff7fcdc00e6c93a68fd9628b536e14937a44e99957282523cc3211ca6bc88cb35a127355ee923eba4c06bb7f88756145fdbd9f7fc WHIRLPOOL 869ece7aeac795111027e0c9bc0eb10aa9233304c159cc5ce47ac18abc57cf77f8a03ff5164ad0b35afa22fd636074f185e2e97019b40b3e257f8111707d166e | ||
DIST tiff-4.0.6.tar.gz 2192991 SHA256 4d57a50907b510e3049a4bba0d7888930fdfc16ce49f1bf693e5b6247370d68c SHA512 2c8dbaaaab9f82a7722bfe8cb6fcfcf67472beb692f1b7dafaf322759e7016dad1bc58457c0f03db50aa5bd088fef2b37358fcbc1524e20e9e14a9620373fdf8 WHIRLPOOL 809e61a22f7d6dfdf81917a084678ec39ed3cff4e03184d61c67501946d3fab0645cb3fe800d9249771879ee91245085e123349f68340bb63bd18024db8e03a6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
inherit eutils libtool multilib-minimal | ||
|
||
DESCRIPTION="Tag Image File Format (TIFF) library" | ||
HOMEPAGE="http://www.remotesensing.org/libtiff/" | ||
SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz | ||
ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz" | ||
|
||
LICENSE="libtiff" | ||
SLOT="0" | ||
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" | ||
IUSE="+cxx jbig jpeg lzma static-libs test zlib" | ||
|
||
RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) | ||
jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] ) | ||
lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] ) | ||
zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] ) | ||
abi_x86_32? ( | ||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r9 | ||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] | ||
)" | ||
DEPEND="${RDEPEND}" | ||
|
||
REQUIRED_USE="test? ( jpeg )" #483132 | ||
|
||
MULTILIB_WRAPPED_HEADERS=( | ||
/usr/include/tiffconf.h | ||
) | ||
|
||
src_prepare() { | ||
elibtoolize | ||
} | ||
|
||
multilib_src_configure() { | ||
ECONF_SOURCE="${S}" econf \ | ||
$(use_enable static-libs static) \ | ||
$(use_enable zlib) \ | ||
$(use_enable jpeg) \ | ||
$(use_enable jbig) \ | ||
$(use_enable lzma) \ | ||
$(use_enable cxx) \ | ||
--without-x \ | ||
--with-docdir="${EPREFIX}"/usr/share/doc/${PF} | ||
|
||
# remove useless subdirs | ||
if ! multilib_is_native_abi ; then | ||
sed -i \ | ||
-e 's/ tools//' \ | ||
-e 's/ contrib//' \ | ||
-e 's/ man//' \ | ||
-e 's/ html//' \ | ||
Makefile || die | ||
fi | ||
} | ||
|
||
multilib_src_test() { | ||
if ! multilib_is_native_abi ; then | ||
cd tools | ||
emake | ||
cd "${BUILD_DIR}" | ||
fi | ||
emake check | ||
} | ||
|
||
multilib_src_install_all() { | ||
prune_libtool_files --all | ||
rm -f "${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION} | ||
} |