summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-07-21 16:18:00 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2020-07-22 21:25:17 +0200
commit9626e242d58aea853c28f3b83e2dc6841db9839d (patch)
tree996e23822e70c4027309cd5e00b628a41b58ee48 /sci-libs
parentsys-apps/gentoo-systemd-integration: Fix BDEPEND (diff)
downloadgentoo-9626e242d58aea853c28f3b83e2dc6841db9839d.tar.gz
gentoo-9626e242d58aea853c28f3b83e2dc6841db9839d.tar.bz2
gentoo-9626e242d58aea853c28f3b83e2dc6841db9839d.zip
sci-libs/libspatialindex: version bump to 1.9.3
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libspatialindex/Manifest1
-rw-r--r--sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch15
-rw-r--r--sci-libs/libspatialindex/libspatialindex-1.9.3.ebuild33
-rw-r--r--sci-libs/libspatialindex/metadata.xml14
4 files changed, 62 insertions, 1 deletions
diff --git a/sci-libs/libspatialindex/Manifest b/sci-libs/libspatialindex/Manifest
index 5ecea354f11..48a85c3a79c 100644
--- a/sci-libs/libspatialindex/Manifest
+++ b/sci-libs/libspatialindex/Manifest
@@ -1 +1,2 @@
DIST spatialindex-src-1.8.5.tar.bz2 407871 BLAKE2B 936d0fc4950b4c685088c84019aa22e720371c623bd1883725dc497380e90072333c25f979e13fbc91b7d164b87cb21a285c037bdbe0b8df84eb3876590e8dd1 SHA512 d3e47982cc2809d04490fae27796b31cdb59675790010d8b45e1a98b5a23048a4a44e321a2470dd36c01aba6f6e7620cafc4988a02b55e4f59d1b7fa9b588b06
+DIST spatialindex-src-1.9.3.tar.bz2 520817 BLAKE2B 89bbb4ef76f620042cbaa2822daad1459bb8a3801fcdedaa73fdc666efcae0e5329e15e79607e3a31ef9a651fbbf9d3657f5bada19b229eaf37fe232935b8dae SHA512 7922807a2f7026542a014d3d7943da5410429b291cf469267ffea5b8075eab2a94e68b6c013425615d221b930fd319c403f3bf43404c9b1d2c92d0e2baae3066
diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch
new file mode 100644
index 00000000000..f96fbe11c94
--- /dev/null
+++ b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -117,12 +117,6 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SIDX_BUILD_OUTPUT_DIRECTORY})
+ # Platform and compiler specific settings
+ #------------------------------------------------------------------------------
+
+-if(NOT WIN32)
+- # Recommended C++ compilation flags
+- set(SIDX_COMMON_CXX_FLAGS
+- "-pedantic -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long")
+-endif(NOT WIN32)
+-
+ if (APPLE)
+ set(SO_EXT dylib)
+ set(CMAKE_FIND_FRAMEWORK "LAST")
diff --git a/sci-libs/libspatialindex/libspatialindex-1.9.3.ebuild b/sci-libs/libspatialindex/libspatialindex-1.9.3.ebuild
new file mode 100644
index 00000000000..60bde5fb4d4
--- /dev/null
+++ b/sci-libs/libspatialindex/libspatialindex-1.9.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PN="spatialindex-src"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="General framework for developing spatial indices"
+HOMEPAGE="https://libspatialindex.org/
+ https://github.com/libspatialindex/libspatialindex"
+SRC_URI="https://github.com/libspatialindex/${PN}/releases/download/${PV}/${MY_P}.tar.bz2"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0/6"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.3-respect-compiler-flags.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DSIDX_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/libspatialindex/metadata.xml b/sci-libs/libspatialindex/metadata.xml
index 6f49eba8f49..d9166ea51c0 100644
--- a/sci-libs/libspatialindex/metadata.xml
+++ b/sci-libs/libspatialindex/metadata.xml
@@ -1,5 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D print</name>
+ </maintainer>
+ <longdescription>
+ Extensible framework for robust spatial indexing
+ </longdescription>
+ <slots>
+ <subslots>Soname version number of libspatialindex</subslots>
+ </slots>
+ <upstream>
+ <remote-id type="github">libspatialindex/libspatialindex</remote-id>
+ </upstream>
</pkgmetadata>