commit: a4766aa803e02291c7ee3f34f7a97487bf594394 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Wed Dec 9 20:24:53 2020 +0000 Commit: 罗百科 <patrick <AT> gentoo <DOT> org> CommitDate: Wed Dec 9 20:25:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4766aa8
sci-libs/geos: Bump Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> sci-libs/geos/Manifest | 1 + sci-libs/geos/geos-3.9.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest index 1fc391846d5..7ba340960fc 100644 --- a/sci-libs/geos/Manifest +++ b/sci-libs/geos/Manifest @@ -1 +1,2 @@ DIST geos-3.8.1.tar.bz2 2505407 BLAKE2B 43053ea9e29d190f41c37d5d382b689ef477e0256cfd5705f4f2f316cac21a1674660bcf0900c51db72909c41d46be7a41d297958de48e108ae6d6bd1ca9d247 SHA512 1d8d8b3ece70eb388ea128f4135c7455899f01828223b23890ad3a2401e27104efce03987676794273a9b9d4907c0add2be381ff14b8420aaa9a858cc5941056 +DIST geos-3.9.0.tar.bz2 4760200 BLAKE2B f4d610ac4693fea1c10bbb3b9d328b3d4eded15efc740cb1577a516f399f23e42e22d88130479d94722a2867c1b787c7c266d5e976ec823ea17f63045db2ae54 SHA512 518be112b2e05063d97c09d0e568b784e6c65b0a7be1368cefbd481b3f4ac2d8fc89611e6e205a95f4d1740ab4f47b3929fb4c801bcf9a9e9b6ae86a54e62933 diff --git a/sci-libs/geos/geos-3.9.0.ebuild b/sci-libs/geos/geos-3.9.0.ebuild new file mode 100644 index 00000000000..dd73711e579 --- /dev/null +++ b/sci-libs/geos/geos-3.9.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Geometry engine library for Geographic Information Systems" +HOMEPAGE="https://trac.osgeo.org/geos/" +SRC_URI="http://download.osgeo.org/geos/${PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="doc ruby static-libs" + +BDEPEND=" + doc? ( app-doc/doxygen ) + ruby? ( dev-lang/swig:0 ) +" +RDEPEND=" + ruby? ( dev-lang/ruby:* ) +" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +src_prepare() { + default + echo "#!${EPREFIX}/bin/bash" > py-compile +} + +src_configure() { + local myeconfargs=( + --disable-python + $(use_enable ruby) + $(use_enable static-libs static) + ) + use arm && myeconfargs+=( --disable-inline ) # bug 709368 + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + use doc && emake -C doc doxygen-html +} + +src_install() { + use doc && local HTML_DOCS=( doc/doxygen_docs/html/. ) + default + + find "${D}" -name '*.la' -type f -delete || die +}