diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-db/spatialite | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-db/spatialite')
| -rw-r--r-- | dev-db/spatialite/Manifest | 1 | ||||
| -rw-r--r-- | dev-db/spatialite/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-db/spatialite/spatialite-4.3.0a.ebuild | 55 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/spatialite/Manifest b/dev-db/spatialite/Manifest new file mode 100644 index 000000000000..1e7b64f20414 --- /dev/null +++ b/dev-db/spatialite/Manifest @@ -0,0 +1 @@ +DIST libspatialite-4.3.0a.tar.gz 4440660 BLAKE2B 2eb2afb96b096b86be9c30cf71663b7b2839d345b6c418fc8511653ed59d0aeff1756b6b19807140c67128c938e39be66d13088640658d14883c92c438c97251 SHA512 adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0 diff --git a/dev-db/spatialite/metadata.xml b/dev-db/spatialite/metadata.xml new file mode 100644 index 000000000000..50068fbfa778 --- /dev/null +++ b/dev-db/spatialite/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> +<use> + <flag name="geos">Add the <pkg>sci-libs/geos</pkg> library for exact topological tests</flag> + <flag name="proj">Add the <pkg>sci-libs/proj</pkg> library for reprojection features</flag> + <flag name="xls">Add the <pkg>dev-libs/freexl</pkg> library for xls import support</flag> +</use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-db/spatialite/spatialite-4.3.0a.ebuild b/dev-db/spatialite/spatialite-4.3.0a.ebuild new file mode 100644 index 000000000000..e745b55a7969 --- /dev/null +++ b/dev-db/spatialite/spatialite-4.3.0a.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 x86" +IUSE="+geos iconv +proj test +xls +xml" +RESTRICT="!test? ( 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 )" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + if use proj && has_version ">=sci-libs/proj-6.0.0"; then + append-flags "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" + fi + econf \ + --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 +} |
