Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/geos/
Date: Sat, 06 Nov 2021 03:36:08
Message-Id: 1636168749.23b42c94d0aae37879364c96e999867de4b10fb9.sam@gentoo
1 commit: 23b42c94d0aae37879364c96e999867de4b10fb9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 03:18:41 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 03:19:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b42c94
7
8 sci-libs/geos: add 3.10.1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sci-libs/geos/Manifest | 1 +
13 sci-libs/geos/geos-3.10.1.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
17 index e05d89eaa6b..88c4bb2c3f5 100644
18 --- a/sci-libs/geos/Manifest
19 +++ b/sci-libs/geos/Manifest
20 @@ -1,4 +1,5 @@
21 DIST geos-3.10.0.tar.bz2 6799370 BLAKE2B dd1490318fccda8ccaf5152f8521ab98ef5e4b143e12e861d02124421985a8b2c966bca6f966aa167fb60f703d25c132b8c7ee4d61e382a449bce5eb40d4cb89 SHA512 12657c6649bfbf6efa3232a054969c6229bb23fc16a7c72d6ca5fdb662e0d08e14bbcaa6944a17de8972b6c236608d94c870ead0b04fada2d2af3d42c238058e
22 +DIST geos-3.10.1.tar.bz2 6714713 BLAKE2B 932a24a7431bbd14b7412957a028a42b3877247931e529ee9b17f61dcecf4445a0aedf6a6f3e703793a9c3b33f0a4bbfd21f10bed34f6dfd3de7d301096f24c2 SHA512 1ba3af5e07bad40bae584b24ed7750a96f2974b974fbc7ccbaaa756fa6d98ed2ef6c0346e122c9c140307164084c436708bdaec86c0469f665cb1a19d0bdd0c9
23 DIST geos-3.8.1.tar.bz2 2505407 BLAKE2B 43053ea9e29d190f41c37d5d382b689ef477e0256cfd5705f4f2f316cac21a1674660bcf0900c51db72909c41d46be7a41d297958de48e108ae6d6bd1ca9d247 SHA512 1d8d8b3ece70eb388ea128f4135c7455899f01828223b23890ad3a2401e27104efce03987676794273a9b9d4907c0add2be381ff14b8420aaa9a858cc5941056
24 DIST geos-3.9.0-r1.tar.bz2 4710957 BLAKE2B dab0f4e0bfb1bd244c2faf5ee6149b65d142eea78e87490025f90b672eee0d25d4ba9bc4c3b223e78ea0c9d34625b4750c7ba03852e5ea9540ad5c479d84b995 SHA512 1081f2aa20e671450953f7bb53b17c703804a1c9f4987c9da0987ff24339af5811b2c8b79c8e438d04ca38e4d06164dc5a4206f266f7efc19af3f9d9ea8f71f8
25 DIST geos-3.9.1-r1.tar.bz2 4761372 BLAKE2B af1597d9372b18a2f280d82941949518cd8edb9296e9647aa3949c9e10fdd1b6ef500298471ec469d711ab0569eabd8fc3fb0a8f7e9bd48f91150cfdcaea65a8 SHA512 7ea131685cd110ec5e0cb7c214b52b75397371e75f011e1410b6770b6a48ca492a02337d86a7be35c852ef94604fe9d6f49634c79d4946df611aaa4f5cbaee28
26
27 diff --git a/sci-libs/geos/geos-3.10.1.ebuild b/sci-libs/geos/geos-3.10.1.ebuild
28 new file mode 100644
29 index 00000000000..4eac2dd4380
30 --- /dev/null
31 +++ b/sci-libs/geos/geos-3.10.1.ebuild
32 @@ -0,0 +1,43 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="Geometry engine library for Geographic Information Systems"
41 +HOMEPAGE="https://trac.osgeo.org/geos/"
42 +SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
47 +IUSE="doc"
48 +
49 +BDEPEND="doc? ( app-doc/doxygen )"
50 +
51 +src_configure() {
52 + local mycmakeargs=(
53 + -DBUILD_DOCUMENTATION=$(usex doc)
54 +
55 + # bug #709368
56 + $(usex arm '-DDISABLE_GEOS_INLINE=ON' '')
57 + )
58 +
59 + cmake_src_configure
60 +}
61 +
62 +src_compile() {
63 + cmake_src_compile
64 +
65 + use doc && cmake_src_compile docs
66 +}
67 +
68 +src_install() {
69 + cmake_src_install
70 +
71 + if use doc ; then
72 + HTML_DOCS=( "${BUILD_DIR}"/doc/doxygen_docs/html/. )
73 + einstalldocs
74 + fi
75 +}