diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /sci-libs/libspatialindex | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'sci-libs/libspatialindex')
4 files changed, 62 insertions, 2 deletions
diff --git a/sci-libs/libspatialindex/Manifest b/sci-libs/libspatialindex/Manifest index 9d5c0c4abcab..465ea54d2d93 100644 --- a/sci-libs/libspatialindex/Manifest +++ b/sci-libs/libspatialindex/Manifest @@ -1,4 +1,7 @@ AUX libspatialindex-1.8.1-QA.patch 549 BLAKE2B 273b4ba9beff743a7b55b14ef42e744232ed10d26c8ce7e26389c1c16ef6d147d65b929b08dff58bd535866faaecaa11986a42d0b444030cac1f6820d1663045 SHA512 8dbaa89a8128d1209cb1e4d45f26ebf0ed635e896ee8470ed52eeb121894a0cfa344b888dbac58c96c62137e9750553d892833bdbf76959f9c51219360eb0170 +AUX libspatialindex-1.9.3-respect-compiler-flags.patch 526 BLAKE2B 25ab85c15666fce87c42513c22eab503f2e6617fb45484a7beef69690e4affac2607506f3ffad87878e6791004717aefc43468d50263dfd21a16a176ad008045 SHA512 bbc71df1e53f35415ce8e88c3003a88920f526f96113da2dfa99eda3a3a49b0913d839aae3d95cf7a51d2e93332e49410b214494d7467f3d07025c7fb5551b87 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 EBUILD libspatialindex-1.8.5-r1.ebuild 714 BLAKE2B e81aef4ca738c44bbe9280aeaf1acba05a48e4e5a1fd3a987485a3022622960d87754ead7ce128a18bf6ec67ef18c0f8658fc9fca5bcdd29884b275954803118 SHA512 d43910a1fe0fc5bc642f60f9a784914885832f0d70e029bf8e8add405d95262acfc882507bebcd8526ad685f1c586d198c5e7293a64b9a058c15688aec341d17 -MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 +EBUILD libspatialindex-1.9.3.ebuild 705 BLAKE2B 93f01dd32e5f002058b4c3d7365da3dd397583b36cbbb6dee4b30b43a79e2e510ac45801cd4aad1c863875d4bdd1568fb2a90c6e57344d983de3a63197d591e8 SHA512 75aec783855d912af5f11fe6d07514e4d99c65aa3ff0a125a148b5c18ab8eca49778efcb72dc74b123a36b801d1fb9248d9bd7ea7f39886fc360dd944b0293ca +MISC metadata.xml 429 BLAKE2B 7d67fb9320bb961ce97867327bbc4b629e198813582671526425e5715c2c43916e5726fffab0bb6fdcba5b161168a22830db1a31915e7befab9c5b4056b97788 SHA512 3c8459343a95fcb49fb8b5e487ab126fc41db7a15a0e83624d00b82101b13197007d5eed0cc35d38a389e580bfe69fe2e4134581f1b78c16e5377ac9dd38a8af 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 000000000000..f96fbe11c94c --- /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 000000000000..b923ee62d39f --- /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_P="spatialindex-src-${PV}" + +DESCRIPTION="C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API" +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" +SLOT="0/6" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( 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 6f49eba8f496..1e4ffa79ebdb 100644 --- a/sci-libs/libspatialindex/metadata.xml +++ b/sci-libs/libspatialindex/metadata.xml @@ -1,5 +1,14 @@ <?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> + <slots> + <subslots>Soname version number of libspatialindex</subslots> + </slots> + <upstream> + <remote-id type="github">libspatialindex/libspatialindex</remote-id> + </upstream> </pkgmetadata> |