1 |
commit: 577f767d8573095c0ebe9cc1643e7a99c0d7a061 |
2 |
Author: Amy Winston <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 12:45:43 2016 +0000 |
4 |
Commit: Amy Winston <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 12:52:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577f767d |
7 |
|
8 |
sci-libs/libgeotiff: version bump 1.4.1 bug #555498 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-libs/libgeotiff/Manifest | 1 + |
13 |
sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild | 74 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest |
17 |
index 547558d..a27b2cb 100644 |
18 |
--- a/sci-libs/libgeotiff/Manifest |
19 |
+++ b/sci-libs/libgeotiff/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libgeotiff-1.4.0.tar.gz 1517881 SHA256 d0acb8d341fd6a8f2c673456e09fdb8f50f91e3166ac934719fe05b30d328329 SHA512 1336e9b5345d69c47807f350d2f757c753543fecc477a6fc036743e78fbfca7b7f99db1b0fdf03e80418fbd4c66db100d04ac7c3338913f9a2b922b9c9f91f1b WHIRLPOOL e6ce9c65db229dd95fd8d6296a926bc2efeac8700775f4a29cbcf3b4d218dc2a566141f14e453628253bf596cd4da7c3771a857e6fb90076f46bf32a357fa0fc |
22 |
+DIST libgeotiff-1.4.1.tar.gz 1674928 SHA256 acfc76ee19b3d41bb9c7e8b780ca55d413893a96c09f3b27bdb9b2573b41fd23 SHA512 4a68bd7b9adf7453fdcb8f98cdeb79289b5f21315d1ef91d54fcc01724c8d687d243826c05a5523bb08c930296335959d2290916d46b6d802e63ac9be727c628 WHIRLPOOL 047c9be32bfd8735ccb01fa9027674b1c16a67229d68974da5cfdf381c2d824f24c7139f2806bc6b1630ba2d9373191da99f8a0faad4e35cea658d34f14ac9d2 |
23 |
|
24 |
diff --git a/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild b/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..fb3e04a |
27 |
--- /dev/null |
28 |
+++ b/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild |
29 |
@@ -0,0 +1,74 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit autotools eutils |
37 |
+ |
38 |
+MY_P=${P/_rc/RC} |
39 |
+ |
40 |
+DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" |
41 |
+HOMEPAGE="http://geotiff.osgeo.org/" |
42 |
+SRC_URI="http://download.osgeo.org/geotiff/${PN}/${MY_P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
47 |
+IUSE="debug doc static-libs" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ virtual/jpeg:= |
51 |
+ >=media-libs/tiff-3.9.1:0 |
52 |
+ sci-libs/proj |
53 |
+ sys-libs/zlib" |
54 |
+ |
55 |
+DEPEND="${RDEPEND} |
56 |
+ doc? ( app-doc/doxygen )" |
57 |
+ |
58 |
+S=${WORKDIR}/${MY_P/RC*/} |
59 |
+ |
60 |
+DOCS=( README ChangeLog ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ epatch_user |
64 |
+ sed -i \ |
65 |
+ -e "s:-O3::g" \ |
66 |
+ configure.ac || die |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ econf \ |
72 |
+ $(use_enable static-libs static) \ |
73 |
+ --enable-debug=$(use debug && echo yes || echo no) \ |
74 |
+ --with-jpeg="${EPREFIX}"/usr/ \ |
75 |
+ --with-zip="${EPREFIX}"/usr/ |
76 |
+ |
77 |
+} |
78 |
+src_compile() { |
79 |
+ default |
80 |
+ |
81 |
+ if use doc; then |
82 |
+ mkdir -p docs/api |
83 |
+ cp "${FILESDIR}"/Doxyfile Doxyfile |
84 |
+ doxygen -u Doxyfile || die "updating doxygen config failed" |
85 |
+ doxygen Doxyfile || die "docs generation failed" |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ default |
91 |
+ |
92 |
+ use doc && dohtml docs/api/* |
93 |
+ prune_libtool_files |
94 |
+} |
95 |
+ |
96 |
+pkg_postinst() { |
97 |
+ echo |
98 |
+ ewarn "You should rebuild any packages built against ${PN} by running:" |
99 |
+ ewarn "# revdep-rebuild" |
100 |
+ ewarn "or using preserved-rebuild features of portage-2.2:" |
101 |
+ ewarn "# emerge @preserved-rebuild" |
102 |
+ echo |
103 |
+} |