summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-24 19:38:04 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-24 19:38:04 +0000
commit4d997abe84d368fef137e5274cb002dbad1fe0d8 (patch)
treea0db6e6828842338a4d3ff11df9af87437ffc8d8
parentDropped old unused versions and it's patches (fixes bug #248966). (diff)
downloadgentoo-2-4d997abe84d368fef137e5274cb002dbad1fe0d8.tar.gz
gentoo-2-4d997abe84d368fef137e5274cb002dbad1fe0d8.tar.bz2
gentoo-2-4d997abe84d368fef137e5274cb002dbad1fe0d8.zip
Version bump to 1.4.0. Stable 1.2.4 on ppc. Punt older.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
-rw-r--r--sci-libs/libgeotiff/ChangeLog8
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.2.1-r1.ebuild36
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild4
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild65
4 files changed, 74 insertions, 39 deletions
diff --git a/sci-libs/libgeotiff/ChangeLog b/sci-libs/libgeotiff/ChangeLog
index bfe1682d9ae3..32f8c03305bf 100644
--- a/sci-libs/libgeotiff/ChangeLog
+++ b/sci-libs/libgeotiff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/libgeotiff
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.36 2012/04/25 17:10:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.37 2012/05/24 19:38:04 scarabeus Exp $
+
+*libgeotiff-1.4.0 (24 May 2012)
+
+ 24 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +libgeotiff-1.4.0.ebuild,
+ -libgeotiff-1.2.1-r1.ebuild, libgeotiff-1.2.4.ebuild:
+ Version bump to 1.4.0. Stable 1.2.4 on ppc. Punt older.
25 Apr 2012; Justin Lecher <jlec@gentoo.org> libgeotiff-1.2.1-r1.ebuild,
libgeotiff-1.2.4.ebuild, metadata.xml:
diff --git a/sci-libs/libgeotiff/libgeotiff-1.2.1-r1.ebuild b/sci-libs/libgeotiff/libgeotiff-1.2.1-r1.ebuild
deleted file mode 100644
index 9e9d07e635ed..000000000000
--- a/sci-libs/libgeotiff/libgeotiff-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.1-r1.ebuild,v 1.10 2012/04/25 17:10:20 jlec Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Library for reading TIFF files with embedded tags for geographic (cartographic) information"
-HOMEPAGE="http://remotesensing.org/geotiff/geotiff.html"
-SRC_URI="ftp://ftp.remotesensing.org/pub/geotiff/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND=">=media-libs/tiff-3.7.0
- sci-libs/proj"
-
-src_compile() {
- append-flags -fPIC
- econf
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dobin bin/{listgeo,geotifcp,makegeo} || die "dobin failed"
- dolib.a libgeotiff.a
- dolib.so libgeotiff.so.${PV}
- dosym libgeotiff.so.${PV} usr/$(get_libdir)/libgeotiff.so || die "dosym failed"
- insinto usr/include
- doins libxtiff/*.h
- doins *.h
- doins *.inc
- insinto usr/share/epsg_csv
- doins csv/*.csv
-}
diff --git a/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild b/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
index 82dd789267db..1cbfaf90b111 100644
--- a/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
+++ b/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild,v 1.11 2012/04/25 17:10:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild,v 1.12 2012/05/24 19:38:04 scarabeus Exp $
inherit autotools eutils flag-o-matic
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.remotesensing.org/pub/geotiff/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~mips ~ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86"
IUSE="doc python"
RDEPEND=">=media-libs/tiff-3.7
diff --git a/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild b/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild
new file mode 100644
index 000000000000..78ffa96e3872
--- /dev/null
+++ b/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild,v 1.1 2012/05/24 19:38:04 scarabeus Exp $
+
+EAPI=4
+inherit base
+
+MY_P=${P/_rc/RC}
+
+DESCRIPTION="Library for reading TIFF files with embedded tags for geographic (cartographic) information"
+HOMEPAGE="http://geotiff.osgeo.org/"
+SRC_URI="http://download.osgeo.org/geotiff/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc static-libs"
+
+RDEPEND="
+ virtual/jpeg
+ >=media-libs/tiff-3.9.1
+ sci-libs/proj
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_P/RC*/}
+
+DOCS=( README ChangeLog )
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --enable-debug=$(use debug && echo yes || echo no) \
+ --with-jpeg="${EPREFIX}"/usr/ \
+ --with-zip="${EPREFIX}"/usr/
+
+}
+src_compile() {
+ default
+
+ if use doc; then
+ mkdir -p docs/api
+ cp "${FILESDIR}"/Doxyfile Doxyfile
+ doxygen -u Doxyfile || die "updating doxygen config failed"
+ doxygen Doxyfile || die "docs generation failed"
+ fi
+}
+
+src_install() {
+ default
+
+ use doc && dohtml docs/api/*
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ echo
+ ewarn "You should rebuild any packages built against ${PN} by running:"
+ ewarn "# revdep-rebuild"
+ ewarn "or using preserved-rebuild features of portage-2.2:"
+ ewarn "# emerge @preserved-rebuild"
+ echo
+}