summaryrefslogtreecommitdiff
path: root/sci-libs/proj
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/proj')
-rw-r--r--sci-libs/proj/Manifest2
-rw-r--r--sci-libs/proj/proj-9.2.1.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest
index ff685d896b91..e7cea68619f1 100644
--- a/sci-libs/proj/Manifest
+++ b/sci-libs/proj/Manifest
@@ -1,7 +1,9 @@
DIST proj-9.1.1.tar.gz 5311995 BLAKE2B d51652f649ac97f419740e30facd86b04ee0872197d235aecc9d8fd50c18340bc7969a4a78c33f28753fc8b5556e7e8bdc47e0b6a9d9971e214575481cf25c0b SHA512 b9d19a999e063e465579eb86da3fd2aa32fd894f0d15ba178733bcbad92246b3b3ea1811a276cd556874e171a5ba7cfd678ce563c0b8626c6db9349a64c04726
DIST proj-9.2.0.tar.gz 5521397 BLAKE2B e3793c619b662a22c1e63d38885dae012256d798f7acde4e29f2021502c45b32eff1e0025c2418b8eea38c30ed15b6baba375ca52b07f3d416aae53e5bfaef1e SHA512 b9c5c72ba2ff1ab4b3c34ab43da411613d27e5206d38c734909fd7a8ab84a113f25a85633c1da1d35af5de22534e3d82f5a66edae52547d3016b51c3bf53f771
+DIST proj-9.2.1.tar.gz 5536575 BLAKE2B e08dc370cfac2c6358e1b28e44f3893c75e07fd64a4235041edf836885d31af33605673486edb122cec8aa13a2c564156c429a68e5045de52d8ea970d2e440f1 SHA512 5640e9bd4ea24a0e0b1521c90b8f709b64b9ee357190aaf08af0cff5df68ae93bdfb27211bde5c50340b067fc218b4f2aa8fb998ed2852ebeb2c2ad0ac4629ef
DIST proj-data-1.12.tar.gz 611423889 BLAKE2B 5376f041aae1a23668a0cae79f4deadff29aad80a1187f837cd5c62c21dc49738fc598c52825f5d8575cd135b55c188d9456b5da72adc6a507fa778f0cad6596 SHA512 788d7c3ad70dd7aab21824ff189dd0cddc28b7e64999f6a9953d7af95f9fabab7143b0f1c3bed19d5deb8f3e3a7be62723fc5fda778fcaefab0ab6d449db5def
DIST proj-data-1.13.tar.gz 709788173 BLAKE2B 33a487f327d2b35acfd6c7c12286bcd6e338c3459540482f968ef7038d78cea9d1519d89ba979f493e007fa961e0eb955889bf2348a235705ec3b71abf1e31c1 SHA512 14eca1b47dad913de608babc73708a35da8bb614c5374e990564a32549998a16e90d4c548f2dac0cd555fc8a4a645eeaf649db929cc38906bee1050e378a662e
EBUILD proj-9.1.1-r1.ebuild 1477 BLAKE2B d7046c1cd16272a5b94dcff325d6ec84e3badabe265c1f32ef92e9a29d2f3cc0631540e4e77b77c2012349a221eff9f30b626b0e0a4de767018363f4b54f5581 SHA512 0d40a1262a24d46e69a27c27c14dfb0763e59aae6e843f408e2a5de2caaab3cd3251a39c2d74abe4133d2938201e5c379ac3963cd62c0eebb8e9dd09ccc06682
EBUILD proj-9.2.0.ebuild 1571 BLAKE2B 520d47a5e5298ec6f8537497a73d5990dbda29d17f7b17eafd24c2e8329c8a42c2f20c520620222c0fcff2133254ec65072fdb6961e5f20149702b3750369223 SHA512 006c7621b102c011b5c85d57aeffb39deb9485b528ddd32a501379ddc023c289b6da256b29c06d978e4b8a481449d12624808a025281955c19b77b04628bf1de
+EBUILD proj-9.2.1.ebuild 1571 BLAKE2B 520d47a5e5298ec6f8537497a73d5990dbda29d17f7b17eafd24c2e8329c8a42c2f20c520620222c0fcff2133254ec65072fdb6961e5f20149702b3750369223 SHA512 006c7621b102c011b5c85d57aeffb39deb9485b528ddd32a501379ddc023c289b6da256b29c06d978e4b8a481449d12624808a025281955c19b77b04628bf1de
MISC metadata.xml 345 BLAKE2B 356bd57a232baa5119842e6741d735afe44bf2c48fe144286743dd64716b3777f190980074d9013640cabb57306057e0abd42ea9fed80a44ee53366ea2413b23 SHA512 ec91a8fd73c7c798cfb0f23fc138e79bc642181265e4ee1fd94b9535dc3ae97e717f9115300ba648314e177f1dd3d0e3077e5746fbbc4c8eacd9b4692c721453
diff --git a/sci-libs/proj/proj-9.2.1.ebuild b/sci-libs/proj/proj-9.2.1.ebuild
new file mode 100644
index 000000000000..816fcfaec6bf
--- /dev/null
+++ b/sci-libs/proj/proj-9.2.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# Check https://proj.org/download.html for latest data tarball
+PROJ_DATA="proj-data-1.13.tar.gz"
+DESCRIPTION="PROJ coordinate transformation software"
+HOMEPAGE="https://proj.org/"
+SRC_URI="
+ https://download.osgeo.org/proj/${P}.tar.gz
+ https://download.osgeo.org/proj/${PROJ_DATA}
+"
+
+LICENSE="MIT"
+# Changes on every major release
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="curl test +tiff"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ curl? ( net-misc/curl )
+ tiff? ( media-libs/tiff:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ cd "${S}"/data || die
+ mv README README.DATA || die
+
+ unpack ${PROJ_DATA}
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_PROJSYNC=$(usex curl)
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_TIFF=$(usex tiff)
+ )
+
+ if use test ; then
+ mycmakeargs+=(
+ -DUSE_EXTERNAL_GTEST=ON
+ -DBUILD_BENCHMARKS=OFF
+ -DRUN_NETWORK_DEPENDENT_TESTS=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ local myctestargs=(
+ # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html
+ # testprojinfo: Also related to map data?
+ -E "(proj_test_cpp_api|testprojinfo)"
+ )
+
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+
+ cd data || die
+ dodoc README.DATA
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}