summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-02 20:28:58 +0000
committerSam James <sam@gentoo.org>2022-07-02 20:30:48 +0000
commitb8aa159580dc931b9b6e609a12a3149a7ceeabb7 (patch)
tree9e8f2738e71d5230da7831eb27c28efea9490a75 /sci-libs/geos/geos-3.11.0.ebuild
parentnet-firewall/firewalld: add 1.2.0 (diff)
downloadgentoo-b8aa159580dc931b9b6e609a12a3149a7ceeabb7.tar.gz
gentoo-b8aa159580dc931b9b6e609a12a3149a7ceeabb7.tar.bz2
gentoo-b8aa159580dc931b9b6e609a12a3149a7ceeabb7.zip
sci-libs/geos: add 3.11.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/geos/geos-3.11.0.ebuild')
-rw-r--r--sci-libs/geos/geos-3.11.0.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-libs/geos/geos-3.11.0.ebuild b/sci-libs/geos/geos-3.11.0.ebuild
new file mode 100644
index 000000000000..c18104f4fc50
--- /dev/null
+++ b/sci-libs/geos/geos-3.11.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="https://trac.osgeo.org/geos/"
+SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DBUILD_TESTING=$(usex test)
+ -DUSE_CCACHE=OFF
+
+ # bug #709368
+ $(usex arm '-DDISABLE_GEOS_INLINE=ON' '')
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ use doc && cmake_src_compile docs
+}
+
+src_install() {
+ cmake_src_install
+
+ if use doc ; then
+ HTML_DOCS=( "${BUILD_DIR}"/doc/doxygen_docs/html/. )
+ einstalldocs
+ fi
+}