From 02fbebe9426ee05ab39e9b5a56e3529e64160ef6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Sep 2022 10:16:02 +0100 Subject: gentoo auto-resync : 02:09:2022 - 10:16:01 --- sci-libs/proj/Manifest | 3 ++ sci-libs/proj/proj-9.1.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 sci-libs/proj/proj-9.1.0.ebuild (limited to 'sci-libs/proj') diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest index b5b8757fb0d1..1ec89d82ee75 100644 --- a/sci-libs/proj/Manifest +++ b/sci-libs/proj/Manifest @@ -2,6 +2,8 @@ DIST proj-7.2.1.tar.gz 5714666 BLAKE2B 9379ef758b1221b9487f162a27e7afa737e668ad7 DIST proj-8.2.1.tar.gz 5882136 BLAKE2B c4d80ee1bb1287e2539c9b5c5a5c6305fe8d2fc83526fd29507802b94351f51b016184c07a5e8c1bbf820252a6dfa5b4d55376e5d5566774e3e5e3154857dfa1 SHA512 c6164771fd492be5aa91d8dd2f2794a19b47431078f148356aa70dee96a4589ec5decbab9d8dd756a7bcb322ad94935750c22e0e7fb16e21c8f59ca474e7137e DIST proj-9.0.0.tar.gz 5242155 BLAKE2B dd0a2234d0a8dddc1303c4dbc73bf1d13be0248f712c20dfb67f4003ace2504f96498f769214198f62ba3bbddea00e25a9745fe23d265d8b911ea9170288c24f SHA512 ae1e65f03fba1e922a61f843b64cf4fde0ff015ef8c18bde0a10cb3e732c4d1b27d2c6b0179e8456338c552a760de22abf16e887fc92118288ffa394a9c6a000 DIST proj-9.0.1.tar.gz 5264935 BLAKE2B 4957727fab9f6158e83025eed502bfc42f0c2fb4ca26ece34284f1b410d490c70ed414b7fc82a01753052acad93d592bb946aed83a2b2d985028554681d61b85 SHA512 9cb716a061315752a23405bd5bf879cdf63432493286ef828f442eea0bea872301be10f6e35a8e28ffe42cb6aafc039213e35be65ab692223a135b03422e3dab +DIST proj-9.1.0.tar.gz 5299132 BLAKE2B 955b1f2492f47432d8df771fda495e87f977f6a6b4a0957effca0535ff4c3a8edf451028bd805800a2c0c6662e971e1073c35a863426b47f75817ef44e30d281 SHA512 cc23fbfaa16cd14f499ee5162bfe743ec9d738d0ba6358716320aa03e1a752da45fd6102fca1981c9b695934e7c358540be53d667c48dae922ac5511eea6824c +DIST proj-data-1.11.tar.gz 597743778 BLAKE2B d68a3a1154d560b724364a843e09ca5350a6a04ce30fb124788220d8e48eff3ab33f6061effec88e658067e0d430b5606f386d82bdcefa69551d9855db9ee476 SHA512 6c91b7ad81b9cf93330cb27f6632cc3e6d854ed4e84318520200d3fffe59c94e4061e2ebece220a143624ae5c4b672458379a546e75547544347cc28576b984f DIST proj-data-1.8.tar.gz 586765549 BLAKE2B a54287fa81e2055737c1956bf7f10246ccdd8d9af49fe7e8a01a6f2206c234d2827c4268d901d49bbbfff4caace220aa1867f0088442e4849f9d3cd57f4ca72d SHA512 884425c3bc09a39cb1b611264ccaa17940f4779f4e0d6023306f6b82622cdd0a2e5970a79018d499d323640acb72560789ef127ff4e0c712fa3679e5cfeb34bc DIST proj-data-1.9.tar.gz 589748963 BLAKE2B 53f9fa442d074127df11cf11f1be426438a334fb28fc47f4513acf985bb8c9f52678ba1e297baacf576b2082ce0371abb63747958c1fc233538efdf0d9fade57 SHA512 25607137a32c65e906d3f4e64f5e6b0fd5882faf0c4bf458116c582e6438df38cc36e9b6e67498b7d63dceb863f31b3890f04bdb19a1287e6d902a7193221711 DIST proj-datumgrid-1.8.tar.gz 6604329 BLAKE2B 78df259a811a79457d011b4f675f1a72b6613928bb0083d01bfe65bb4c333628725b300efdb7cf10ebc6f26ff03733886c20f25c7aef80875e81e59bda9fd7d3 SHA512 23153f5b57d210e37cd6e9e0fced23bdabb1c67476e9fb50eb83a68ae066a5c3675822472f5d558d10ddf36ac1d73d538b75304d112a1bfcd8d0bbd26c6481a5 @@ -10,4 +12,5 @@ EBUILD proj-7.2.1.ebuild 1215 BLAKE2B 26a84ff93fefa9b88ab8017fa58da6ec89f037beb7 EBUILD proj-8.2.1.ebuild 1486 BLAKE2B 67bf1c6d3f0852c39c89c70b8c63f104ac2b395b5f5a11263955d60c12cb23d0426e009958af46228e5fc614e89daf432425f2ae44aa35d85509c049388c779b SHA512 318b2d8b027cf84c53246ac8c1c181d30deae0f93db8c3d589691809abaaa8a0d36786f2c9848c2ee3a3e7bb1e6f18da44a8ffcc29cf65c48b20d39010a4080f EBUILD proj-9.0.0.ebuild 1512 BLAKE2B 6a8e2546269eab8e2a18caf3ef0521d959497e3998376e027240a847bf22c4e882c888ee02f519f761aa8b57c650a659a765f9bd68e934f9f7c5f4b2caedc3ba SHA512 a2619ffc5229ca6b51f0f73e5449f73cc9860363fdf066734af8ee66211e9067e258de9bda21c4025a55e86e5ecd73a6e4aabc086b08683c74e5f60ae1f9c6e3 EBUILD proj-9.0.1.ebuild 1512 BLAKE2B 6a8e2546269eab8e2a18caf3ef0521d959497e3998376e027240a847bf22c4e882c888ee02f519f761aa8b57c650a659a765f9bd68e934f9f7c5f4b2caedc3ba SHA512 a2619ffc5229ca6b51f0f73e5449f73cc9860363fdf066734af8ee66211e9067e258de9bda21c4025a55e86e5ecd73a6e4aabc086b08683c74e5f60ae1f9c6e3 +EBUILD proj-9.1.0.ebuild 1473 BLAKE2B 0546bbcec5d60969174b8535b8dff7970bd636fe0f058cd9c66c83ec664b56c660744c74a91da0103bbe14b3b8c7784d177f33a2896c22b2d266db5698bec161 SHA512 95712ef0b030deef518f8a1ee54e90dec1c8dc6bc9d7ac794525801bf44fd63a2ceb8d0435934c9cf6d5b2d26dd2691e0e0248fd7799ed0ba976447e0669a919 MISC metadata.xml 450 BLAKE2B a29666b3ab3d0e39d3d2ab247f250cd4f9a716ee1f01563e8d6739f507b96f553187999c6fcd501a0f8e9a564f7e5fe3a54c29dd985d1f91873da8252840ebf7 SHA512 c319fbe8249838dc881424641a19abc639d4a74d585e434be1a27802eb9fa88711a1c631ba92abd333d7baaa739b1c98faebe7c20ce7c1a4639d38b9dbe40381 diff --git a/sci-libs/proj/proj-9.1.0.ebuild b/sci-libs/proj/proj-9.1.0.ebuild new file mode 100644 index 000000000000..e2765e129a16 --- /dev/null +++ b/sci-libs/proj/proj-9.1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 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.11.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 ~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) + ) + + use test && mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) + + 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 +} -- cgit v1.2.3