summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2010-05-12 03:38:15 +0000
committerSteve Arnold <nerdboy@gentoo.org>2010-05-12 03:38:15 +0000
commit1b2978ef43cfef41f9aa5a390d0b8971d808e288 (patch)
tree102b61b289fd07beb8209dfc89ba9cbc602787e1 /media-libs/tiff
parentVersion bump #319191 by Phil Bordelon. (diff)
downloadgentoo-2-1b2978ef43cfef41f9aa5a390d0b8971d808e288.tar.gz
gentoo-2-1b2978ef43cfef41f9aa5a390d0b8971d808e288.tar.bz2
gentoo-2-1b2978ef43cfef41f9aa5a390d0b8971d808e288.zip
Updated to latest upstream beta release; functionality required by GIS
users and associated applications. (Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/tiff')
-rw-r--r--media-libs/tiff/ChangeLog8
-rw-r--r--media-libs/tiff/metadata.xml7
-rw-r--r--media-libs/tiff/tiff-4.0.0_beta5.ebuild58
3 files changed, 71 insertions, 2 deletions
diff --git a/media-libs/tiff/ChangeLog b/media-libs/tiff/ChangeLog
index 8f2ac1f65d62..fb714c0093a4 100644
--- a/media-libs/tiff/ChangeLog
+++ b/media-libs/tiff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/tiff
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.151 2010/03/09 21:46:10 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.152 2010/05/12 03:38:15 nerdboy Exp $
+
+*tiff-4.0.0_beta5 (12 May 2010)
+
+ 12 May 2010; Steve Arnold <nerdboy@gentoo.org> +tiff-4.0.0_beta5.ebuild:
+ Updated to latest upstream beta release; functionality required by GIS
+ users (this is actually pretty stable for a beta).
09 Mar 2010; Joseph Jezak <josejx@gentoo.org> tiff-3.9.2-r1.ebuild:
Marked ppc stable for bug #307001.
diff --git a/media-libs/tiff/metadata.xml b/media-libs/tiff/metadata.xml
index d3fcd03433a2..8316a4b0fa05 100644
--- a/media-libs/tiff/metadata.xml
+++ b/media-libs/tiff/metadata.xml
@@ -7,5 +7,10 @@
<name>Steve Arnold</name>
<description>Primary Maintainer</description>
</maintainer>
-<longdescription>TIFF image library and tools, mostly for scanner and fax support, but also used by GIS and other imaging tools.</longdescription>
+<longdescription>TIFF image library and tools, mostly for scanner and fax
+ support, but also used by GIS and other imaging tools.</longdescription>
+<use>
+ <flag name="bigtiff">Provide support for very large tiff files.</flag>
+ <flag name="mdi">Provide support for MDI format graphics.</flag>
+</use>
</pkgmetadata>
diff --git a/media-libs/tiff/tiff-4.0.0_beta5.ebuild b/media-libs/tiff/tiff-4.0.0_beta5.ebuild
new file mode 100644
index 000000000000..da23868dc00b
--- /dev/null
+++ b/media-libs/tiff/tiff-4.0.0_beta5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-4.0.0_beta5.ebuild,v 1.1 2010/05/12 03:38:15 nerdboy Exp $
+
+EAPI=2
+inherit eutils libtool
+
+MY_PV="${PV/_beta/beta}"
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DESCRIPTION="Beta release of TIFF4 (Tag Image File Format) image library."
+HOMEPAGE="http://www.remotesensing.org/libtiff/"
+SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+bigtiff +cxx jpeg jbig -mdi zlib"
+
+DEPEND="jpeg? ( >=media-libs/jpeg-6b:0 )
+ jbig? ( media-libs/jbigkit )
+ zlib? ( sys-libs/zlib )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.9.2-CVE-2009-2347.patch
+ elibtoolize
+}
+
+src_configure() {
+ use prefix || EPREFIX=
+ econf \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ $(use_enable bigtiff largefile) \
+ $(use_enable cxx) \
+ $(use_enable zlib) \
+ $(use_enable jpeg) \
+ $(use_enable jbig) \
+ $(use_enable mdi) \
+ --without-x \
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README TODO
+}
+
+pkg_postinst() {
+ if use jbig; then
+ echo
+ elog "JBIG support is intended for Hylafax fax compression, so we"
+ elog "really need more feedback in other areas (most testing has"
+ elog "been done with fax). Be sure to recompile anything linked"
+ elog "against tiff."
+ echo
+ fi
+}