diff options
author | 2024-11-25 22:24:25 +0100 | |
---|---|---|
committer | 2024-12-01 11:44:28 +0000 | |
commit | 4602b39df33cc61fc679770f14ec7ea2904d8385 (patch) | |
tree | ce5bb9bfaea1e36d2252484a27577c869e8037e8 /sci-libs | |
parent | sci-libs/geos: drop ignored cmakearg (diff) | |
download | gentoo-4602b39df33cc61fc679770f14ec7ea2904d8385.tar.gz gentoo-4602b39df33cc61fc679770f14ec7ea2904d8385.tar.bz2 gentoo-4602b39df33cc61fc679770f14ec7ea2904d8385.zip |
sci-libs/geos: add 3.13.0 without ignored DISABLE_GEOS_INLINE
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/geos/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/geos/geos-3.13.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest index 263113a0f955..1e40fec0618c 100644 --- a/sci-libs/geos/Manifest +++ b/sci-libs/geos/Manifest @@ -1,2 +1,3 @@ DIST geos-3.11.2.tar.bz2 6774288 BLAKE2B 62ddcaf5b6716983d49a6931c97ebe8d4c457ce7d127531ff3ff985555e9dfc2f1ebd211d1fe7afe183a3858913b4c22ec4674f68fb28ee8c43c9e9ce61abd3b SHA512 b5df5b773bef595335e1be6c6d3325f932f1577e2a4b8bdfa8cf26f09c7d41ed5e0695ca15826d1f95bc4a45b777839c2be8a96a8af5415c8bcf58cc804eb1ec DIST geos-3.12.1.tar.bz2 6727199 BLAKE2B 4ffc9cb63f3ac15b3dcb0ba9fec6a1ccaeaf35962a057234f4da38d6bba19df39e800805badfd56fe927da09c9392f0feaf2b7d02085e8f293c4d9503ab28ff9 SHA512 192eba83c651e935b3c9a5cc19321285e4d28b9da9d7a1fa15d9471803027e630db7a7ecea96343d9c5f9846d279062ca3694fe47916a4ebf5698ae66dd5210d +DIST geos-3.13.0.tar.bz2 6801211 BLAKE2B 8de35093e2819268df2cd15f1661dcbaba6b9c3bd978904fb992fd91905b0056cfa6580cae602511bd8c4b19686597abb81e0af71a8a73a684cafd8013755bad SHA512 8ffaa3f49a8365db693ac948e9d66cf55321eb12151734c7da2775070b7804ffa607de2474b7019d6ea2a99d5e037fb1e8561bf9025e65ddd4bd1ba049382b28 diff --git a/sci-libs/geos/geos-3.13.0.ebuild b/sci-libs/geos/geos-3.13.0.ebuild new file mode 100644 index 000000000000..bd059b420ac0 --- /dev/null +++ b/sci-libs/geos/geos-3.13.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +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 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-text/doxygen )" + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/862702 + # https://github.com/libgeos/geos/issues/1054 + filter-lto + + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc) + -DBUILD_TESTING=$(usex test) + -DUSE_CCACHE=OFF + ) + + 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 +} |