diff options
author | Sam James <sam@gentoo.org> | 2022-12-02 01:45:54 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-02 02:51:39 +0000 |
commit | d54a5543aa2461396ea678d31a8714a8f0682d56 (patch) | |
tree | c667a57286c6129d80acf46aa3cec4896c478bd7 /sci-libs/proj | |
parent | sci-libs/proj: drop 9.0.0, 9.0.1 (diff) | |
download | gentoo-d54a5543aa2461396ea678d31a8714a8f0682d56.tar.gz gentoo-d54a5543aa2461396ea678d31a8714a8f0682d56.tar.bz2 gentoo-d54a5543aa2461396ea678d31a8714a8f0682d56.zip |
sci-libs/proj: add 9.1.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/proj')
-rw-r--r-- | sci-libs/proj/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/proj/proj-9.1.1.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest index 698b732bfd7b..e377d52f1b8f 100644 --- a/sci-libs/proj/Manifest +++ b/sci-libs/proj/Manifest @@ -1,7 +1,9 @@ DIST proj-7.2.1.tar.gz 5714666 BLAKE2B 9379ef758b1221b9487f162a27e7afa737e668ad7a13fc7adbd8e1e2c1c4699263d5d3105d03781b423f284205de3c79fc68850b9fba6aa05f1dc553b77b0842 SHA512 59b9b31b0183e620a2f4a25a08620c170773fe4f99e8eca59e9ed6815f43bb379ea21ef71e8f759dbd747855b982657d7503bac3acc542218e0d862105f25324 DIST proj-8.2.1.tar.gz 5882136 BLAKE2B c4d80ee1bb1287e2539c9b5c5a5c6305fe8d2fc83526fd29507802b94351f51b016184c07a5e8c1bbf820252a6dfa5b4d55376e5d5566774e3e5e3154857dfa1 SHA512 c6164771fd492be5aa91d8dd2f2794a19b47431078f148356aa70dee96a4589ec5decbab9d8dd756a7bcb322ad94935750c22e0e7fb16e21c8f59ca474e7137e DIST proj-9.1.0.tar.gz 5299132 BLAKE2B 955b1f2492f47432d8df771fda495e87f977f6a6b4a0957effca0535ff4c3a8edf451028bd805800a2c0c6662e971e1073c35a863426b47f75817ef44e30d281 SHA512 cc23fbfaa16cd14f499ee5162bfe743ec9d738d0ba6358716320aa03e1a752da45fd6102fca1981c9b695934e7c358540be53d667c48dae922ac5511eea6824c +DIST proj-9.1.1.tar.gz 5311995 BLAKE2B d51652f649ac97f419740e30facd86b04ee0872197d235aecc9d8fd50c18340bc7969a4a78c33f28753fc8b5556e7e8bdc47e0b6a9d9971e214575481cf25c0b SHA512 b9d19a999e063e465579eb86da3fd2aa32fd894f0d15ba178733bcbad92246b3b3ea1811a276cd556874e171a5ba7cfd678ce563c0b8626c6db9349a64c04726 DIST proj-data-1.11.tar.gz 597743778 BLAKE2B d68a3a1154d560b724364a843e09ca5350a6a04ce30fb124788220d8e48eff3ab33f6061effec88e658067e0d430b5606f386d82bdcefa69551d9855db9ee476 SHA512 6c91b7ad81b9cf93330cb27f6632cc3e6d854ed4e84318520200d3fffe59c94e4061e2ebece220a143624ae5c4b672458379a546e75547544347cc28576b984f +DIST proj-data-1.12.tar.gz 611423889 BLAKE2B 5376f041aae1a23668a0cae79f4deadff29aad80a1187f837cd5c62c21dc49738fc598c52825f5d8575cd135b55c188d9456b5da72adc6a507fa778f0cad6596 SHA512 788d7c3ad70dd7aab21824ff189dd0cddc28b7e64999f6a9953d7af95f9fabab7143b0f1c3bed19d5deb8f3e3a7be62723fc5fda778fcaefab0ab6d449db5def DIST proj-data-1.8.tar.gz 586765549 BLAKE2B a54287fa81e2055737c1956bf7f10246ccdd8d9af49fe7e8a01a6f2206c234d2827c4268d901d49bbbfff4caace220aa1867f0088442e4849f9d3cd57f4ca72d SHA512 884425c3bc09a39cb1b611264ccaa17940f4779f4e0d6023306f6b82622cdd0a2e5970a79018d499d323640acb72560789ef127ff4e0c712fa3679e5cfeb34bc DIST proj-datumgrid-1.8.tar.gz 6604329 BLAKE2B 78df259a811a79457d011b4f675f1a72b6613928bb0083d01bfe65bb4c333628725b300efdb7cf10ebc6f26ff03733886c20f25c7aef80875e81e59bda9fd7d3 SHA512 23153f5b57d210e37cd6e9e0fced23bdabb1c67476e9fb50eb83a68ae066a5c3675822472f5d558d10ddf36ac1d73d538b75304d112a1bfcd8d0bbd26c6481a5 DIST proj-datumgrid-europe-1.6.tar.gz 189057258 BLAKE2B 66daf2341b05d8d5f929f6d67e1913656c2380a3663b4359cb97576ff5954dbea5890862869bb1077f6cde760dada4d9f13201c5b2c29ef3458a8b43089e459c SHA512 463d2575d5ce6f5984e69897c34ef80ec31a77f5ba00a07a5f55e97c3033dbae40b7d17891e5495bc47e6faf917968b1cdb7b3be9b2a4838e3b093b74753c2a8 diff --git a/sci-libs/proj/proj-9.1.1.ebuild b/sci-libs/proj/proj-9.1.1.ebuild new file mode 100644 index 000000000000..4d625f87c6a8 --- /dev/null +++ b/sci-libs/proj/proj-9.1.1.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.12.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 +} |