1 |
commit: b8aa159580dc931b9b6e609a12a3149a7ceeabb7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 20:28:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 20:30:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8aa1595 |
7 |
|
8 |
sci-libs/geos: add 3.11.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sci-libs/geos/Manifest | 1 + |
13 |
sci-libs/geos/geos-3.11.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest |
17 |
index 780474a4f770..f0ba1c239269 100644 |
18 |
--- a/sci-libs/geos/Manifest |
19 |
+++ b/sci-libs/geos/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST geos-3.10.0.tar.bz2 6799370 BLAKE2B dd1490318fccda8ccaf5152f8521ab98ef5e4b143e12e861d02124421985a8b2c966bca6f966aa167fb60f703d25c132b8c7ee4d61e382a449bce5eb40d4cb89 SHA512 12657c6649bfbf6efa3232a054969c6229bb23fc16a7c72d6ca5fdb662e0d08e14bbcaa6944a17de8972b6c236608d94c870ead0b04fada2d2af3d42c238058e |
22 |
DIST geos-3.10.2.tar.bz2 6714655 BLAKE2B 1bc4f29a28b2b49faa9e1ea2aba7359d6dcb124136e0a2d2069508f7b95fae09e59ecb0acf3742d9261444055e85471cf45baba6e278c8b3501e91eacf3bb886 SHA512 390381711ccf56b862c2736cf6329200822f121de1c49df52b8b85cabea8c7787b199df2196acacc2e5c677ff3ebe042d93d70e89deadbc19d754499edb65126 |
23 |
+DIST geos-3.11.0.tar.bz2 6727294 BLAKE2B 7d2cb7ae2dc6c5eb13836c16c8164402c1e964f98df95d5aaf9f6fd957ebcdbdefb43ae4fb17a5a671b6dfdb812bdacfdbfdfdea6e5bd44f135e3701a3cc914d SHA512 40c7553bbb93673c231ddd0131b73bf43b3f50524bc5bd9e6934c068d2c09632f388b7429254ae15d9641da2d15e3a626b430438854e98d9e7419ad04e535189 |
24 |
|
25 |
diff --git a/sci-libs/geos/geos-3.11.0.ebuild b/sci-libs/geos/geos-3.11.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c18104f4fc50 |
28 |
--- /dev/null |
29 |
+++ b/sci-libs/geos/geos-3.11.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Geometry engine library for Geographic Information Systems" |
39 |
+HOMEPAGE="https://trac.osgeo.org/geos/" |
40 |
+SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
45 |
+IUSE="doc test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+BDEPEND="doc? ( app-doc/doxygen )" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ local mycmakeargs=( |
52 |
+ -DBUILD_DOCUMENTATION=$(usex doc) |
53 |
+ -DBUILD_TESTING=$(usex test) |
54 |
+ -DUSE_CCACHE=OFF |
55 |
+ |
56 |
+ # bug #709368 |
57 |
+ $(usex arm '-DDISABLE_GEOS_INLINE=ON' '') |
58 |
+ ) |
59 |
+ |
60 |
+ cmake_src_configure |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ cmake_src_compile |
65 |
+ |
66 |
+ use doc && cmake_src_compile docs |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ cmake_src_install |
71 |
+ |
72 |
+ if use doc ; then |
73 |
+ HTML_DOCS=( "${BUILD_DIR}"/doc/doxygen_docs/html/. ) |
74 |
+ einstalldocs |
75 |
+ fi |
76 |
+} |