summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/Manifest.gzbin15748 -> 15746 bytes
-rw-r--r--dev-db/spatialite/Manifest3
-rw-r--r--dev-db/spatialite/metadata.xml1
-rw-r--r--dev-db/spatialite/spatialite-5.0.1-r2.ebuild54
4 files changed, 57 insertions, 1 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz
index 7a63de3743b3..bf623956b287 100644
--- a/dev-db/Manifest.gz
+++ b/dev-db/Manifest.gz
Binary files differ
diff --git a/dev-db/spatialite/Manifest b/dev-db/spatialite/Manifest
index d5374e104a66..6beb39a5efea 100644
--- a/dev-db/spatialite/Manifest
+++ b/dev-db/spatialite/Manifest
@@ -1,3 +1,4 @@
DIST libspatialite-5.0.1.tar.gz 6372753 BLAKE2B 0fe5b37efac134e3796c96ed012b434ce99547037a44df69d3e98c7ac586c1173faa1fe93c4578e7cc0f47a9f1c539710661bad57f8012c3bdabde427221a842 SHA512 c2552994bc30d69d1e80aa274760f048cd384f71e8350a1e48a47cb8222ba71a1554a69c6534eedde9a09dc582c39c089967bcc1c57bf158cc91a3e7b1840ddf
EBUILD spatialite-5.0.1-r1.ebuild 1267 BLAKE2B 028fa2b89a63b96f5f059741d5bb6564ce25be3d0eb6dc9d4d68449fbdadd8975fb44f2a9233a20c70f6fb75850d075fe25fe9557fe0058e7d9777051fd995cb SHA512 345151d357fb5ed604553b896bc1c94935d401282c50cf6789574991eb72d0648fc5bcd20e1d46e9f56da6c7cf94edbeea8b9c0f5ffcc19935e0fc2fa0d4cbe6
-MISC metadata.xml 560 BLAKE2B ed60171b5e1d210cd68c23146dd5a520b6546dd06029c76b4b76fd2c96259eccaf04848f8b23d804851d97f7d5779753d6136c9fb47a44c61d8f324040504d6a SHA512 943e7e90d4a9f799af5bf054a29d4569df4e70cd29834a6d17e69458b2fdf5052c8b3ba09a49fce32bb1ac036af9c35d33bc23caf3b50811de6ae874186bddd1
+EBUILD spatialite-5.0.1-r2.ebuild 1269 BLAKE2B 06fc49be89b0bc1a35e2f9193d1e2f063094302690c24d9cc489334fbaba88aa76ccf5ff0b099a496786a83f6b4b9f7561ddcdf5e4be370f453b49f217e8085b SHA512 9c70b7014a6d9c0741fa2c9caf1c88c36a178c0b0d49a63a6415ce9eedee565e0622b62400c03afced1537bdbbd2a86087d23640b6f4033eafcc274e6282d757
+MISC metadata.xml 662 BLAKE2B d44c0b1a08c869509161cc7040c90c5e6b591b09f16893ac21885ee82817ad942eab586a44532ffa8dcbbdedffc6ec0bcf05641196cf892fb0b0e832a760e00f SHA512 7a614e0dc498ccd2d117e600efc867b248fc243fd3a9bb0a599fcaa47a90a3669a730e765df648b5a49cf77c442a3f4a2ea084a721bab48e9c37e7cc73fd9794
diff --git a/dev-db/spatialite/metadata.xml b/dev-db/spatialite/metadata.xml
index 3d4b1b79db43..8ca3a8f8ce3f 100644
--- a/dev-db/spatialite/metadata.xml
+++ b/dev-db/spatialite/metadata.xml
@@ -9,5 +9,6 @@
<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>
+ <flag name="rttopo">Add the <pkg>sci-geosciences/librttopo</pkg> library for topology support</flag>
</use>
</pkgmetadata>
diff --git a/dev-db/spatialite/spatialite-5.0.1-r2.ebuild b/dev-db/spatialite/spatialite-5.0.1-r2.ebuild
new file mode 100644
index 000000000000..9e9e02eba1df
--- /dev/null
+++ b/dev-db/spatialite/spatialite-5.0.1-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~riscv ~x86"
+IUSE="+geos iconv +proj rttopo 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 )
+ rttopo? ( sci-geosciences/librttopo )
+"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="test? ( iconv )"
+
+src_configure() {
+ # 1) gcp disabled for now to preserve MPL licence
+ econf \
+ --disable-gcp \
+ --disable-examples \
+ --disable-static \
+ --enable-epsg \
+ --enable-geocallbacks \
+ $(use_enable rttopo) \
+ $(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 "${ED}" -name '*.la' -delete || die
+}