diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 08:55:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 08:55:38 +0000 |
commit | 5a1e5a6812ca9c9555657cce48fe09d2ffa44401 (patch) | |
tree | 5c040bbee9184b24f26b05031a2448e62f6df38a /sci-libs/geos/geos-3.11.1.ebuild | |
parent | 2c4066122b66fa1eb3e37846f9a6e14529a553d8 (diff) |
gentoo auto-resync : 02:12:2022 - 08:55:37
Diffstat (limited to 'sci-libs/geos/geos-3.11.1.ebuild')
-rw-r--r-- | sci-libs/geos/geos-3.11.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-libs/geos/geos-3.11.1.ebuild b/sci-libs/geos/geos-3.11.1.ebuild new file mode 100644 index 000000000000..dd84d4906b89 --- /dev/null +++ b/sci-libs/geos/geos-3.11.1.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://libgeos.org/" +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}"/doxygen/doxygen_docs/html/. ) + einstalldocs + fi +} |