From dd148738f6e8dc95460fdc482adcd2b9852733fe Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 10 Apr 2021 12:44:05 +0000 Subject: dev-db/spatialite: depend on sys-libs/zlib[minizip] Closes: https://bugs.gentoo.org/773958 Signed-off-by: Sam James --- dev-db/spatialite/spatialite-5.0.1-r1.ebuild | 56 ++++++++++++++++++++++++++++ dev-db/spatialite/spatialite-5.0.1.ebuild | 56 ---------------------------- 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 dev-db/spatialite/spatialite-5.0.1-r1.ebuild delete mode 100644 dev-db/spatialite/spatialite-5.0.1.ebuild (limited to 'dev-db') diff --git a/dev-db/spatialite/spatialite-5.0.1-r1.ebuild b/dev-db/spatialite/spatialite-5.0.1-r1.ebuild new file mode 100644 index 000000000000..5159b2c30a62 --- /dev/null +++ b/dev-db/spatialite/spatialite-5.0.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +MY_PN="lib${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite" +HOMEPAGE="https://www.gaia-gis.it/gaia-sins/" +SRC_URI="https://www.gaia-gis.it/gaia-sins/${MY_PN}-sources/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="+geos iconv +proj test +xls +xml" +# Further poking required +RESTRICT="test" + +RDEPEND=" + >=dev-db/sqlite-3.7.5:3[extensions(+)] + sys-libs/zlib[minizip] + geos? ( >=sci-libs/geos-3.4 ) + proj? ( sci-libs/proj:= ) + xls? ( dev-libs/freexl ) + xml? ( dev-libs/libxml2 ) +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="test? ( iconv )" + +src_configure() { + # 1) rttopo not yet packaged + # 2) gcp disabled for now to preserve MPL licence + econf \ + --disable-rttopo \ + --disable-gcp \ + --disable-examples \ + --disable-static \ + --enable-epsg \ + --enable-geocallbacks \ + $(use_enable geos) \ + $(use_enable geos geosadvanced) \ + $(use_enable iconv) \ + $(use_enable proj) \ + $(use_enable xls freexl) \ + $(use_enable xml libxml2) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-db/spatialite/spatialite-5.0.1.ebuild b/dev-db/spatialite/spatialite-5.0.1.ebuild deleted file mode 100644 index 57e64b658b39..000000000000 --- a/dev-db/spatialite/spatialite-5.0.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic - -MY_PN="lib${PN}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite" -HOMEPAGE="https://www.gaia-gis.it/gaia-sins/" -SRC_URI="https://www.gaia-gis.it/gaia-sins/${MY_PN}-sources/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" -IUSE="+geos iconv +proj test +xls +xml" -# Further poking required -RESTRICT="test" - -RDEPEND=" - >=dev-db/sqlite-3.7.5:3[extensions(+)] - sys-libs/zlib - geos? ( >=sci-libs/geos-3.4 ) - proj? ( sci-libs/proj:= ) - xls? ( dev-libs/freexl ) - xml? ( dev-libs/libxml2 ) -" -DEPEND="${RDEPEND}" - -REQUIRED_USE="test? ( iconv )" - -src_configure() { - # 1) rttopo not yet packaged - # 2) gcp disabled for now to preserve MPL licence - econf \ - --disable-rttopo \ - --disable-gcp \ - --disable-examples \ - --disable-static \ - --enable-epsg \ - --enable-geocallbacks \ - $(use_enable geos) \ - $(use_enable geos geosadvanced) \ - $(use_enable iconv) \ - $(use_enable proj) \ - $(use_enable xls freexl) \ - $(use_enable xml libxml2) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad