From b62381b18b4bf2e919cbfbae11ebcad391e38e77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 03:35:12 +0000 Subject: gentoo auto-resync : 16:12:2022 - 03:35:12 --- sci-libs/proj/Manifest | 8 ++--- sci-libs/proj/proj-7.2.1-r1.ebuild | 53 +++++++++++++++++++++++++++++ sci-libs/proj/proj-7.2.1.ebuild | 53 ----------------------------- sci-libs/proj/proj-8.2.1-r1.ebuild | 63 +++++++++++++++++++++++++++++++++++ sci-libs/proj/proj-8.2.1.ebuild | 63 ----------------------------------- sci-libs/proj/proj-9.1.0-r1.ebuild | 68 ++++++++++++++++++++++++++++++++++++++ sci-libs/proj/proj-9.1.0.ebuild | 68 -------------------------------------- sci-libs/proj/proj-9.1.1-r1.ebuild | 68 ++++++++++++++++++++++++++++++++++++++ sci-libs/proj/proj-9.1.1.ebuild | 68 -------------------------------------- 9 files changed, 256 insertions(+), 256 deletions(-) create mode 100644 sci-libs/proj/proj-7.2.1-r1.ebuild delete mode 100644 sci-libs/proj/proj-7.2.1.ebuild create mode 100644 sci-libs/proj/proj-8.2.1-r1.ebuild delete mode 100644 sci-libs/proj/proj-8.2.1.ebuild create mode 100644 sci-libs/proj/proj-9.1.0-r1.ebuild delete mode 100644 sci-libs/proj/proj-9.1.0.ebuild create mode 100644 sci-libs/proj/proj-9.1.1-r1.ebuild delete mode 100644 sci-libs/proj/proj-9.1.1.ebuild (limited to 'sci-libs/proj') diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest index 817a8908fefa..c2f94da6f83a 100644 --- a/sci-libs/proj/Manifest +++ b/sci-libs/proj/Manifest @@ -7,8 +7,8 @@ DIST proj-data-1.12.tar.gz 611423889 BLAKE2B 5376f041aae1a23668a0cae79f4deadff29 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 -EBUILD proj-7.2.1.ebuild 1215 BLAKE2B 26a84ff93fefa9b88ab8017fa58da6ec89f037beb788bb11e3302bcf38ae578a846416ef23094b9a32ca8be447ee4e3a0d865f66db7c97cb30499930c48237b0 SHA512 b854fcbb1879b5bc161a06f853a5705c32705539bc0a3572d8b9df38cb7707e201e075e148e48534768dbacd550ebfa3ab836dbb387fa15e630e86e740e87a33 -EBUILD proj-8.2.1.ebuild 1486 BLAKE2B 67bf1c6d3f0852c39c89c70b8c63f104ac2b395b5f5a11263955d60c12cb23d0426e009958af46228e5fc614e89daf432425f2ae44aa35d85509c049388c779b SHA512 318b2d8b027cf84c53246ac8c1c181d30deae0f93db8c3d589691809abaaa8a0d36786f2c9848c2ee3a3e7bb1e6f18da44a8ffcc29cf65c48b20d39010a4080f -EBUILD proj-9.1.0.ebuild 1468 BLAKE2B df33f98d894709e5f2cfd71f5100a285dffa6d9a35383fbf9d0fc162305e4c59bdc19eeca0e1499e90ef2202d6c48010cb6640f3ecb0498634256141497e4454 SHA512 2cc0b40c946f7b7da6abb040dc5626b7c77e20411573deee4730488c487cf8ed38f605d3a6a7f7e7174c8888dd6ee7130fc584a2a8c96326f40eff99328c0de2 -EBUILD proj-9.1.1.ebuild 1480 BLAKE2B 67422b65ae45b0108f98cfc14a07f6f9b40e0d54bf0cac4b500d337be2c9571b202ae22dc9befcaf6cb4e113e836f9b09429c20e1294726500fa3076c61102e2 SHA512 f1cc4456f56b1fb96c34cbb149e7bec8d28557dd7acae3b465fd5f6f4e9660a214e1638453a533bbb721e29b7e80c90000c83677a1359275422c7d3612b66927 +EBUILD proj-7.2.1-r1.ebuild 1217 BLAKE2B 07af488ae5410186a41cc59bf7d97ab6a5d461d0a674b7b28cf8965294173da4247dbc41cb46748b58e47a74613df2cafdef30b641353a90fcb23c96813839a4 SHA512 41bafe9de36bd37ac3d1a2e3fc44b22cf95b06547ed2f69d418f4134b569bda3b94c4e11b6e2ad3adab9441ab70921b9a421facc77dc26645b08598232422efe +EBUILD proj-8.2.1-r1.ebuild 1488 BLAKE2B 2fefdd3ed48bcae40c0627909d5f235f9b1ee151246ecec9878e62cbd74b623a4201e6abaf12d117e310e49c670629014e4c674619004816677d1f18af6eb7a3 SHA512 4fc7d78c7f5bfb4149437b611b649bbc61b3bcc858263472b0f129eca3b524247ec54d1e68054e721770d861f0d06beefc02bfa5b76bb3ca885dc0c22b545a4f +EBUILD proj-9.1.0-r1.ebuild 1470 BLAKE2B 8294b6d79f290a8541431d9e568273d445640c6aa61b83e72b78ffb22658ce12f749680dcb624df516a247f88df303a50566fee062f926c104a8d93c44b439e1 SHA512 5518c8aadf0a7f25ec428ee9f6fd34c22d7b0d5e6cad47880631cf1abf8c739cdcd6c1e2feb0f3f51ecaf35256d6c497ae9ac223d51864fbe1c8c67300af3121 +EBUILD proj-9.1.1-r1.ebuild 1482 BLAKE2B f3eb157d739c820c7cd2780e5c7620bce6cdabfebfba03a4ae29ea26c719b65dafee2cf36838585274425b1fbf9e4e8cd0123e5cb987e8caea36c89f5e396702 SHA512 52f47c5c7a2e3de62deeb4ab085276e0210f42792579fc5b2e9e68b85862196703912c3ff15d020db6c28f11af55702da030b200269561514d5ea67986c02fb3 MISC metadata.xml 450 BLAKE2B a29666b3ab3d0e39d3d2ab247f250cd4f9a716ee1f01563e8d6739f507b96f553187999c6fcd501a0f8e9a564f7e5fe3a54c29dd985d1f91873da8252840ebf7 SHA512 c319fbe8249838dc881424641a19abc639d4a74d585e434be1a27802eb9fa88711a1c631ba92abd333d7baaa739b1c98faebe7c20ce7c1a4639d38b9dbe40381 diff --git a/sci-libs/proj/proj-7.2.1-r1.ebuild b/sci-libs/proj/proj-7.2.1-r1.ebuild new file mode 100644 index 000000000000..8d4d9a46c43c --- /dev/null +++ b/sci-libs/proj/proj-7.2.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DATUMGRID="${PN}-datumgrid-1.8.tar.gz" +EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.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/${DATUMGRID} + europe? ( https://download.osgeo.org/proj/${EUROPE_DATUMGRID} ) +" + +LICENSE="MIT" +SLOT="0/19" +KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="curl europe static-libs test +tiff" +REQUIRED_USE="test? ( !europe )" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-db/sqlite:3 + curl? ( net-misc/curl ) + tiff? ( media-libs/tiff:= ) +" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}"/data || die + mv README README.DATA || die + unpack ${DATUMGRID} + use europe && unpack ${EUROPE_DATUMGRID} +} + +src_configure() { + econf \ + $(use_with curl) \ + $(use_enable static-libs static) \ + $(use_enable tiff) +} + +src_install() { + default + cd data || die + dodoc README.{DATA,DATUMGRID} + use europe && dodoc README.EUROPE + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/proj/proj-7.2.1.ebuild b/sci-libs/proj/proj-7.2.1.ebuild deleted file mode 100644 index 248dca09f028..000000000000 --- a/sci-libs/proj/proj-7.2.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DATUMGRID="${PN}-datumgrid-1.8.tar.gz" -EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.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/${DATUMGRID} - europe? ( https://download.osgeo.org/proj/${EUROPE_DATUMGRID} ) -" - -LICENSE="MIT" -SLOT="0/19" -KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="curl europe static-libs test +tiff" -REQUIRED_USE="test? ( !europe )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-db/sqlite:3 - curl? ( net-misc/curl ) - tiff? ( media-libs/tiff ) -" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}"/data || die - mv README README.DATA || die - unpack ${DATUMGRID} - use europe && unpack ${EUROPE_DATUMGRID} -} - -src_configure() { - econf \ - $(use_with curl) \ - $(use_enable static-libs static) \ - $(use_enable tiff) -} - -src_install() { - default - cd data || die - dodoc README.{DATA,DATUMGRID} - use europe && dodoc README.EUROPE - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/proj/proj-8.2.1-r1.ebuild b/sci-libs/proj/proj-8.2.1-r1.ebuild new file mode 100644 index 000000000000..98ed794008f6 --- /dev/null +++ b/sci-libs/proj/proj-8.2.1-r1.ebuild @@ -0,0 +1,63 @@ +# 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.8.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" +# SONAME in 8.1.1 is actually 23 (in 8.1.0, was 22) +# ... and now 8.2.0 is back to 22 again. +# Please increment to 25 on the next SONAME bump, even if it's not +# going to correspond... +# It's far less confusing to just increment it again here (so N+1) +SLOT="0/24" +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=( + -DDOCDIR="${EPREFIX}"/usr/share/${PF} + -DBUILD_TESTING=$(usex test) + -DENABLE_CURL=$(usex curl) + -DBUILD_PROJSYNC=$(usex curl) + -DENABLE_TIFF=$(usex tiff) + ) + + use test && mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + cd data || die + dodoc README.DATA + + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/proj/proj-8.2.1.ebuild b/sci-libs/proj/proj-8.2.1.ebuild deleted file mode 100644 index be4d14d06378..000000000000 --- a/sci-libs/proj/proj-8.2.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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.8.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" -# SONAME in 8.1.1 is actually 23 (in 8.1.0, was 22) -# ... and now 8.2.0 is back to 22 again. -# Please increment to 25 on the next SONAME bump, even if it's not -# going to correspond... -# It's far less confusing to just increment it again here (so N+1) -SLOT="0/24" -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=( - -DDOCDIR="${EPREFIX}"/usr/share/${PF} - -DBUILD_TESTING=$(usex test) - -DENABLE_CURL=$(usex curl) - -DBUILD_PROJSYNC=$(usex curl) - -DENABLE_TIFF=$(usex tiff) - ) - - use test && mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - cd data || die - dodoc README.DATA - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/proj/proj-9.1.0-r1.ebuild b/sci-libs/proj/proj-9.1.0-r1.ebuild new file mode 100644 index 000000000000..f139467fbc40 --- /dev/null +++ b/sci-libs/proj/proj-9.1.0-r1.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 +} diff --git a/sci-libs/proj/proj-9.1.0.ebuild b/sci-libs/proj/proj-9.1.0.ebuild deleted file mode 100644 index ee9f6d71fc35..000000000000 --- a/sci-libs/proj/proj-9.1.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# 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 -} diff --git a/sci-libs/proj/proj-9.1.1-r1.ebuild b/sci-libs/proj/proj-9.1.1-r1.ebuild new file mode 100644 index 000000000000..95215199ce91 --- /dev/null +++ b/sci-libs/proj/proj-9.1.1-r1.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 ~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) + ) + + 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 +} diff --git a/sci-libs/proj/proj-9.1.1.ebuild b/sci-libs/proj/proj-9.1.1.ebuild deleted file mode 100644 index 9c15effa2a12..000000000000 --- a/sci-libs/proj/proj-9.1.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# 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 ~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) - ) - - 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