summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-02 03:27:54 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-02 03:27:54 +0100
commitdef28ad1de5a6853465d7ff8f626cda6a774cd9e (patch)
tree09d192ed59036d9875ed2b21aef62035a4727f38 /sci-libs
parenteba9df5b84c2fffc30cc3f300880000a60e38042 (diff)
gentoo auto-resync : 02:06:2023 - 03:27:54
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin44797 -> 44800 bytes
-rw-r--r--sci-libs/gdal/Manifest6
-rw-r--r--sci-libs/gdal/gdal-3.5.3-r1.ebuild238
-rw-r--r--sci-libs/gdal/gdal-3.6.2.ebuild243
-rw-r--r--sci-libs/proj/Manifest2
-rw-r--r--sci-libs/proj/proj-9.2.1.ebuild79
6 files changed, 81 insertions, 487 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index b115a6de6448..41c76250fdfb 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest
index 2b74b16fade2..4f378e38c47b 100644
--- a/sci-libs/gdal/Manifest
+++ b/sci-libs/gdal/Manifest
@@ -1,15 +1,9 @@
AUX gdal-3.6.4-abseil-cpp-20230125.2-c++17.patch 528 BLAKE2B c393c21cb29687a52fbbc2283021c60ee5d2accba1c558763a6f8ed6e102aef813f0e75650adb37bc1492d9f65d9125f8d0cb361666379dba9c5adf748413770 SHA512 3849e73d5871eb62a6cec2a14f1ad480a6fb1e75f8fbfe2b9574944c2f00c43eb3429e9183db4aa4ddd5388b18488a0e5381fd5142e9983e68c3e71e70c87d27
AUX gdal-3.7.0-zlib-OF.patch 2272 BLAKE2B 81364de12d222689f7c681cf131cc2483b536043bf7907db70ce07c50871c9594a9a17853e28749484ab7c78f4d8168962c1024a7eefb3ce1ca783cb5501a655 SHA512 e46f2fd83ac6a56206567f5668ca4d644827440aa32938b87dc0b3beacc107fb5573fc228949e02d88a06f29d651699d6f0481ecba6666b0888dca76e196d547
-DIST gdal-3.5.3.tar.xz 9504740 BLAKE2B 7054df4c7ea6d8d3e6e9cf2544fc5c7a9149dea94ed882723ec82c61268100c2f5330f28a8d9d44e1296511eb2a204c64dfe41f135fadb44db380aa331d9c731 SHA512 b7bac9dd568e9db49d1fa5be8cd48df37f37196b0cacce44f738a981f0c43a77b5750312cd0c3385fdd881a6b525a5ceac56bcd08284d76071bd508d01781f49
-DIST gdal-3.6.2.tar.xz 8635724 BLAKE2B c90606b642c632dd5ec224d63aa80c158c9ee04c6ca0341815f7449b319bf9442d65c2f9b981aedd242713ef6909a30f620b448ba26baf6cd8a31e2a9ae0dd8a SHA512 d404335d37ef4916b6098fa8dc7a5e1579ecdd958b37ce73bb08855fa226d3a7b488eee52db17364ef1c0697d59805d495a734f21dad2ad2f0b27e7b1f253e50
DIST gdal-3.6.4.tar.xz 8648032 BLAKE2B d6abdbcc87029bf230dae5586f06cbd329e5e43be37d8f5e9a72c67c93a6769458cc9c693b498e3f697b1ee1b68c9f9dbf7545ff9819fceb8fdde81b8d4ac882 SHA512 a8f69158d44ea456c44cfcb8937892697a28d2e4a43333c28db8fb9e81c51436a6edcb7a392b8c7ef63cd7453be6350a938bc4ba910720d9d5d9a1f32c57c558
DIST gdal-3.7.0.tar.xz 8604724 BLAKE2B 400cc17fc636c637f7c40e93aed8e2db7bfbbe73741da4135cfeec8dbcda24ce0c8035214edf038afc29a916012da86a78d789729540f870231dfa6aa27e424a SHA512 4a3262d75ffbb58ec0821cd266843e28ca64c34383fb2bfaf30c984bf01c6d012381892a31a2ebc7c27a58b058fb44389cd45b05b619579b6178feb192f37bc6
-DIST gdalautotest-3.5.3.tar.gz 12374523 BLAKE2B 3f8e2ba8b49d7bb870a49bde4ec95f807ff79cf23d36504cf7beeccff104364d8fc8e287184a0239cd2c4bf5e26c900cfb29bda3beb615504e588519385a322c SHA512 3b18c94d0b0e1d6d2d38ca82cddc8e69f2acf800fa1b4e7fbabaf112e9ad69fa807b92e652b43ebd122e3b5e8d6cc0d5644e92127a673676bc7df396720dab5e
-DIST gdalautotest-3.6.2.tar.gz 12586870 BLAKE2B 28b6ae04d68964705dfe370bf189343c76fa63e358ce1c7362604743c92130c8e93ec826170a7adfd95aad8a05a5ae7a006b35cf487a81eb0c6695353ab7ef20 SHA512 63dd6f185b766cea9a200190428f2791c99f2d4032e7503404199833fa63cd31bc3b56e198a7d145cd954aace767d16d1d75c602880e9bee962dea98e9cf1859
DIST gdalautotest-3.6.4.tar.gz 12614090 BLAKE2B d2c33b56790c1cb030a102ff48bec33c3d187c5be6e13d56da8d6cb8e9393734c2144274cbe08cf82b2a023ffb75df9fd01bcfd9f3d73076c95c4b213823f64e SHA512 2a7704e57f8bc0687c759d047b5a8fb290b2959eb058e02b08edf12e9cca17d6a9121213ef48e8b616c94c8cbe321531612700c6db52cb47fbcc5893c1c1c1c1
DIST gdalautotest-3.7.0.tar.gz 13785892 BLAKE2B cac18436ad2acb558e27e8ba3f1f2c22aa6c7ba258abe25118acf65fb2cb8a3d5f132ccb8315912a54d07f035b5ff331cf6a66bdf51a54c8275c5203e844eb82 SHA512 81e80c799a8a910a861182480e8306c8583cdffe7cb62f47fbaddf031e1c4d1d3fb341edf0daddbb8c934e5f2d547b380feb2f5a9f22cd50db14e43c2b02737b
-EBUILD gdal-3.5.3-r1.ebuild 6692 BLAKE2B 2648c9ba25041e36dbb482964b2b5cdabddee82170232f1372b1f3436c16041e6675234407d5fb38d85a17753216fb29e6f41bdee417312ba78d0ef7b3173cae SHA512 9af7d1da2dbbb461e400ffad40e94546e08e40aeb2ef89db367e6b4981798ec0321e9a17e655c2fa46aedc89ae0739f1ee04c15a77d382fec4b30802156d2491
-EBUILD gdal-3.6.2.ebuild 6761 BLAKE2B f792b599ddaeea5d8601b6669c5a13a076cd171469fc647b532286b4ae9011c4eee1131b13c8bd1c14d602deaf9431c7fa8d91e78f68a7198b38d5fad12ec103 SHA512 6096e471435679fdd5a4d307e3225a7965164806fd1080ab26ae6161088f9e85cc017ca42b41ab0b2570b32f4710aa3da4998d4c703a274b9e69bee13eb53865
EBUILD gdal-3.6.4.ebuild 6771 BLAKE2B 05875d9dfcc615b5f7f049fd5b33f40752a6710a9074836489f54463ee86de44175cc34ed38d5a1976643168a43567ed1464b955bdf2ef625da6593fe14197fb SHA512 01e3284955db87d04268848a6685a64898f7c8d6a5b8d007c718b15256362f5dc50e6105e0a24c8f81d9a7fa712964a023a8563b9b0ea17390090db52c41a2b7
EBUILD gdal-3.7.0.ebuild 7522 BLAKE2B 610681e6002e266ba379f44b9c38aef9a2ec95cea8610ff0abb75d05d5512ddaa3f5c9cff33205bfc6b771988c7d98220d2a37899c24508e0f0756f13b7cb07b SHA512 491204c658be1e8614032ba9aa874ebd965234cf5be528a30417e7df1d0ee6561dbe7d25b7a7cce67b922cbd33ed0c2bbfed7a957fa53eb5eb4cf1f92617215c
MISC metadata.xml 1348 BLAKE2B 6666f26bc5f48bbfe1971736c6737420fefa7949cd6e1b74c649ae53cb51b756ebba42bb934930af83de254bebc4e4268f60a04ed2fb1aa8835b9abbdb3968b2 SHA512 b5b90368a48679c780dbe89b73ddee9e2c74639bf1a2c9f39dd4a3cdbb005878cd2197271f2ddc23d9611feaf79c0239b32d655d8a29592ad6d87a402970b726
diff --git a/sci-libs/gdal/gdal-3.5.3-r1.ebuild b/sci-libs/gdal/gdal-3.5.3-r1.ebuild
deleted file mode 100644
index 84d64732511a..000000000000
--- a/sci-libs/gdal/gdal-3.5.3-r1.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
-HOMEPAGE="https://gdal.org/"
-SRC_URI="https://download.osgeo.org/${PN}/${PV}/${P}.tar.xz"
-SRC_URI+=" test? ( https://download.osgeo.org/${PN}/${PV}/${PN}autotest-${PV}.tar.gz )"
-
-LICENSE="BSD Info-ZIP MIT"
-SLOT="0/31" # subslot is libgdal.so.<SONAME>
-KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="armadillo +curl cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl oracle pdf png postgres python spatialite sqlite test webp xls zstd"
-# Tests fail to build in 3.5.0, let's not worry too much yet given
-# we're only just porting to CMake. Revisit later.
-RESTRICT="!test? ( test ) test"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
- spatialite? ( sqlite )"
-
-BDEPEND="virtual/pkgconfig
- doc? ( app-doc/doxygen )
- java? (
- dev-java/ant-core
- dev-lang/swig:0
- >=virtual/jdk-1.8:*
- )
- python? (
- dev-lang/swig:0
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_USEDEP}]
- ')
- )"
-DEPEND="dev-libs/expat
- dev-libs/json-c:=
- dev-libs/libpcre2
- dev-libs/libxml2:2
- dev-libs/openssl:=
- media-libs/tiff:=
- >=sci-libs/libgeotiff-1.5.1-r1:=
- >=sci-libs/proj-6.0.0:=
- sys-libs/zlib[minizip(+)]
- armadillo? ( sci-libs/armadillo:=[lapack] )
- curl? ( net-misc/curl )
- fits? ( sci-libs/cfitsio:= )
- geos? ( >=sci-libs/geos-3.8.0 )
- gif? ( media-libs/giflib:= )
- gml? ( >=dev-libs/xerces-c-3.1 )
- heif? ( media-libs/libheif:= )
- hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] )
- jpeg? ( media-libs/libjpeg-turbo:= )
- jpeg2k? ( media-libs/openjpeg:2= )
- lzma? ( || (
- app-arch/xz-utils
- app-arch/lzma
- ) )
- mysql? ( virtual/mysql )
- netcdf? ( sci-libs/netcdf:= )
- odbc? ( dev-db/unixODBC )
- ogdi? ( >=sci-libs/ogdi-4.1.0-r1 )
- opencl? ( virtual/opencl )
- oracle? ( dev-db/oracle-instantclient:= )
- pdf? ( app-text/poppler:= )
- png? ( media-libs/libpng:= )
- postgres? ( >=dev-db/postgresql-8.4:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
- spatialite? ( dev-db/spatialite )
- sqlite? ( dev-db/sqlite:3 )
- webp? ( media-libs/libwebp:= )
- xls? ( dev-libs/freexl )
- zstd? ( app-arch/zstd:= )"
-RDEPEND="${DEPEND}
- java? ( >=virtual/jre-1.8:* )"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use test ; then
- mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_IPO=OFF
- -DGDAL_USE_EXTERNAL_LIBS=ON
- -DGDAL_USE_INTERNAL_LIBS=OFF
-
- # bug #844874 and bug #845150
- -DCMAKE_INSTALL_INCLUDEDIR="include/gdal"
-
- # Options here are generally off because of one of:
- # - Not yet packaged dependencies
- #
- # - Off for autotools build and didn't want more churn by
- # enabling during port to CMake. Feel free to request them
- # being turned on if useful for you.
- -DGDAL_USE_ARMADILLO=$(usex armadillo)
- -DGDAL_USE_ARROW=OFF
- -DGDAL_USE_BLOSC=OFF
- -DGDAL_USE_BRUNSLI=OFF
- -DGDAL_USE_CRNLIB=OFF
- -DGDAL_USE_CFITSIO=$(usex fits)
- -DGDAL_USE_CURL=$(usex curl)
- -DGDAL_USE_CRYPTOPP=OFF
- -DGDAL_USE_DEFLATE=OFF
- -DGDAL_USE_ECW=OFF
- -DGDAL_USE_EXPAT=ON
- -DGDAL_USE_FILEGDB=OFF
- -DGDAL_USE_FREEXL=$(usex xls)
- -DGDAL_USE_FYBA=OFF
- -DGDAL_USE_GEOTIFF=ON
- -DGDAL_USE_GEOS=$(usex geos)
- -DGDAL_USE_GIF=$(usex gif)
- -DGDAL_USE_GTA=OFF
- -DGDAL_USE_HEIF=$(usex heif)
- -DGDAL_USE_HDF4=OFF
- -DGDAL_USE_HDF5=$(usex hdf5)
- -DGDAL_USE_HDFS=OFF
- -DGDAL_USE_ICONV=ON # TODO dep
- -DGDAL_USE_IDB=OFF
- -DGDAL_USE_JPEG=$(usex jpeg)
-
- # https://gdal.org/build_hints.html#jpeg12
- # Independent of whether using system libjpeg
- -DGDAL_USE_JPEG12_INTERNAL=ON
-
- -DGDAL_USE_JSONC=ON
- -DGDAL_USE_JXL=OFF
- -DGDAL_USE_KDU=OFF
- -DGDAL_USE_KEA=OFF
- -DGDAL_USE_LERC=OFF
- -DGDAL_USE_LIBKML=OFF
- -DGDAL_USE_LIBLZMA=$(usex lzma)
- -DGDAL_USE_LIBXML2=ON
- -DGDAL_USE_LURATECH=OFF
- -DGDAL_USE_LZ4=OFF
- -DGDAL_USE_MONGOCXX=OFF
- -DGDAL_USE_MRSID=OFF
- -DGDAL_USE_MSSQL_NCLI=OFF
- -DGDAL_USE_MSSQL_ODBC=OFF
- -DGDAL_USE_MYSQL=$(usex mysql)
- -DGDAL_USE_NETCDF=$(usex netcdf)
- -DGDAL_USE_ODBC=$(usex odbc)
- -DGDAL_USE_ODBCCPP=OFF
- -DGDAL_USE_OGDI=$(usex ogdi)
- -DGDAL_USE_OPENCAD=OFF
- -DGDAL_USE_OPENCL=$(usex opencl)
- -DGDAL_USE_OPENEXR=OFF
- -DGDAL_USE_OPENJPEG=$(usex jpeg2k)
- -DGDAL_USE_OPENSSL=ON
- -DGDAL_USE_ORACLE=$(usex oracle)
- -DGDAL_USE_PARQUET=OFF
- -DGDAL_USE_PCRE2=ON
- -DGDAL_USE_PDFIUM=OFF
- -DGDAL_USE_PNG=$(usex png)
- -DGDAL_USE_POPPLER=$(usex pdf)
- -DGDAL_USE_POSTGRESQL=$(usex postgres)
- -DGDAL_USE_QHULL=OFF
- -DGDAL_USE_RASTERLITE2=OFF
- -DGDAL_USE_RDB=OFF
- -DGDAL_USE_SPATIALITE=$(usex spatialite)
- -DGDAL_USE_SQLITE3=$(usex sqlite)
- -DGDAL_USE_SFCGAL=OFF
- -DGDAL_USE_TEIGHA=OFF
- -DGDAL_USE_TIFF=ON
- -DGDAL_USE_TILEDB=OFF
- -DGDAL_USE_WEBP=$(usex webp)
- -DGDAL_USE_XERCESC=$(usex gml)
- -DGDAL_USE_ZLIB=ON
- -DGDAL_USE_ZSTD=$(usex zstd)
-
- # Bindings
- -DBUILD_PYTHON_BINDINGS=$(usex python)
- -DBUILD_JAVA_BINDINGS=$(usex java)
- # bug #845369
- -DBUILD_CSHARP_BINDINGS=OFF
-
- # Check work/gdal-3.5.0_build/CMakeCache.txt after configure
- # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71
- # Commented out: not (yet?) implemented upstream.
- # Also, arm64 stuff is a TODO upstream, but not there (yet?)
- -Dtest_avx=$(usex cpu_flags_x86_avx)
- -Dtest_avx2=$(usex cpu_flags_x86_avx2)
- -Dtest_sse=$(usex cpu_flags_x86_sse)
- -Dtest_sse2=$(usex cpu_flags_x86_sse2)
- #-Dtest_sse3=$(usex cpu_flags_x86_sse3)
- -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1)
- #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2)
- #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a)
- -Dtest_ssse3=$(usex cpu_flags_x86_ssse3)
- #-Dtest_fma4=$(usex cpu_flags_x86_fma4)
- #-Dtest_xop=$(usex cpu_flags_x86_xop)
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- use doc && cmake_src_compile doc
-}
-
-src_test() {
- export GDAL_RUN_SLOW_TESTS=0
- export GDAL_DOWNLOAD_TEST_DATA=0
-
- # Two test suites:
- # 1. autotests (much larger, uses pytest)
- # 2. Small set of fuzzing tests (no download needed)
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
- use python && python_optimize
- # TODO: install docs?
-}
-
-pkg_postinst() {
- elog "Check available image and data formats after building with"
- elog "gdalinfo and ogrinfo (using the --formats switch)."
-}
diff --git a/sci-libs/gdal/gdal-3.6.2.ebuild b/sci-libs/gdal/gdal-3.6.2.ebuild
deleted file mode 100644
index b17227cbb361..000000000000
--- a/sci-libs/gdal/gdal-3.6.2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
-HOMEPAGE="https://gdal.org/"
-SRC_URI="https://download.osgeo.org/${PN}/${PV}/${P}.tar.xz"
-SRC_URI+=" test? ( https://download.osgeo.org/${PN}/${PV}/${PN}autotest-${PV}.tar.gz )"
-
-LICENSE="BSD Info-ZIP MIT"
-SLOT="0/32" # subslot is libgdal.so.<SONAME>
-KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="armadillo +curl cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl oracle pdf png postgres python spatialite sqlite test webp xls zstd"
-# Tests fail to build in 3.5.0, let's not worry too much yet given
-# we're only just porting to CMake. Revisit later.
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- spatialite? ( sqlite )
-"
-
-BDEPEND="virtual/pkgconfig
- doc? ( app-doc/doxygen )
- java? (
- dev-java/ant-core
- dev-lang/swig:0
- >=virtual/jdk-1.8:*
- )
- python? (
- dev-lang/swig:0
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_USEDEP}]
- ')
- )"
-DEPEND="dev-libs/expat
- dev-libs/json-c:=
- dev-libs/libpcre2
- dev-libs/libxml2:2
- dev-libs/openssl:=
- media-libs/tiff
- >=sci-libs/libgeotiff-1.5.1-r1:=
- >=sci-libs/proj-6.0.0:=
- sys-libs/zlib[minizip(+)]
- armadillo? ( sci-libs/armadillo:=[lapack] )
- curl? ( net-misc/curl )
- fits? ( sci-libs/cfitsio:= )
- geos? ( >=sci-libs/geos-3.8.0 )
- gif? ( media-libs/giflib:= )
- gml? ( >=dev-libs/xerces-c-3.1 )
- heif? ( media-libs/libheif:= )
- hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] )
- jpeg? ( media-libs/libjpeg-turbo:= )
- jpeg2k? ( media-libs/openjpeg:2= )
- lzma? ( || (
- app-arch/xz-utils
- app-arch/lzma
- ) )
- mysql? ( virtual/mysql )
- netcdf? ( sci-libs/netcdf:= )
- odbc? ( dev-db/unixODBC )
- ogdi? ( >=sci-libs/ogdi-4.1.0-r1 )
- opencl? ( virtual/opencl )
- oracle? ( dev-db/oracle-instantclient:= )
- pdf? ( app-text/poppler:= )
- png? ( media-libs/libpng:= )
- postgres? ( >=dev-db/postgresql-8.4:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
- spatialite? ( dev-db/spatialite )
- sqlite? ( dev-db/sqlite:3 )
- webp? ( media-libs/libwebp:= )
- xls? ( dev-libs/freexl )
- zstd? ( app-arch/zstd:= )"
-RDEPEND="${DEPEND}
- java? ( >=virtual/jre-1.8:* )"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use test ; then
- mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_IPO=OFF
- -DGDAL_USE_EXTERNAL_LIBS=ON
- -DGDAL_USE_INTERNAL_LIBS=OFF
-
- # bug #844874 and bug #845150
- -DCMAKE_INSTALL_INCLUDEDIR="include/gdal"
-
- # Options here are generally off because of one of:
- # - Not yet packaged dependencies
- #
- # - Off for autotools build and didn't want more churn by
- # enabling during port to CMake. Feel free to request them
- # being turned on if useful for you.
- -DGDAL_USE_ARMADILLO=$(usex armadillo)
- -DGDAL_USE_ARROW=OFF
- -DGDAL_USE_BLOSC=OFF
- -DGDAL_USE_BRUNSLI=OFF
- -DGDAL_USE_CRNLIB=OFF
- -DGDAL_USE_CFITSIO=$(usex fits)
- -DGDAL_USE_CURL=$(usex curl)
- -DGDAL_USE_CRYPTOPP=OFF
- -DGDAL_USE_DEFLATE=OFF
- -DGDAL_USE_ECW=OFF
- -DGDAL_USE_EXPAT=ON
- -DGDAL_USE_FILEGDB=OFF
- -DGDAL_USE_FREEXL=$(usex xls)
- -DGDAL_USE_FYBA=OFF
- -DGDAL_USE_GEOTIFF=ON
- -DGDAL_USE_GEOS=$(usex geos)
- -DGDAL_USE_GIF=$(usex gif)
- -DGDAL_USE_GTA=OFF
- -DGDAL_USE_HEIF=$(usex heif)
- -DGDAL_USE_HDF4=OFF
- -DGDAL_USE_HDF5=$(usex hdf5)
- -DGDAL_USE_HDFS=OFF
- -DGDAL_USE_ICONV=ON # TODO dep
- -DGDAL_USE_IDB=OFF
- -DGDAL_USE_JPEG=$(usex jpeg)
-
- # https://gdal.org/build_hints.html#jpeg12
- # Independent of whether using system libjpeg
- -DGDAL_USE_JPEG12_INTERNAL=ON
-
- -DGDAL_USE_JSONC=ON
- -DGDAL_USE_JXL=OFF
- -DGDAL_USE_KDU=OFF
- -DGDAL_USE_KEA=OFF
- -DGDAL_USE_LERC=OFF
- -DGDAL_USE_LIBKML=OFF
- -DGDAL_USE_LIBLZMA=$(usex lzma)
- -DGDAL_USE_LIBXML2=ON
- -DGDAL_USE_LURATECH=OFF
- -DGDAL_USE_LZ4=OFF
- -DGDAL_USE_MONGOCXX=OFF
- -DGDAL_USE_MRSID=OFF
- -DGDAL_USE_MSSQL_NCLI=OFF
- -DGDAL_USE_MSSQL_ODBC=OFF
- -DGDAL_USE_MYSQL=$(usex mysql)
- -DGDAL_USE_NETCDF=$(usex netcdf)
- -DGDAL_USE_ODBC=$(usex odbc)
- -DGDAL_USE_ODBCCPP=OFF
- -DGDAL_USE_OGDI=$(usex ogdi)
- -DGDAL_USE_OPENCAD=OFF
- -DGDAL_USE_OPENCL=$(usex opencl)
- -DGDAL_USE_OPENEXR=OFF
- -DGDAL_USE_OPENJPEG=$(usex jpeg2k)
- -DGDAL_USE_OPENSSL=ON
- -DGDAL_USE_ORACLE=$(usex oracle)
- -DGDAL_USE_PARQUET=OFF
- -DGDAL_USE_PCRE2=ON
- -DGDAL_USE_PDFIUM=OFF
- -DGDAL_USE_PNG=$(usex png)
- -DGDAL_USE_PODOFO=OFF
- -DGDAL_USE_POPPLER=$(usex pdf)
- -DGDAL_USE_POSTGRESQL=$(usex postgres)
- -DGDAL_USE_QHULL=OFF
- -DGDAL_USE_RASTERLITE2=OFF
- -DGDAL_USE_RDB=OFF
- -DGDAL_USE_SPATIALITE=$(usex spatialite)
- -DGDAL_USE_SQLITE3=$(usex sqlite)
- -DGDAL_USE_SFCGAL=OFF
- -DGDAL_USE_TEIGHA=OFF
- -DGDAL_USE_TIFF=ON
- -DGDAL_USE_TILEDB=OFF
- -DGDAL_USE_WEBP=$(usex webp)
- -DGDAL_USE_XERCESC=$(usex gml)
- -DGDAL_USE_ZLIB=ON
- -DGDAL_USE_ZSTD=$(usex zstd)
-
- # Bindings
- -DBUILD_PYTHON_BINDINGS=$(usex python)
- -DBUILD_JAVA_BINDINGS=$(usex java)
- # bug #845369
- -DBUILD_CSHARP_BINDINGS=OFF
-
- # Check work/gdal-3.5.0_build/CMakeCache.txt after configure
- # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71
- # Commented out: not (yet?) implemented upstream.
- # Also, arm64 stuff is a TODO upstream, but not there (yet?)
- -Dtest_avx=$(usex cpu_flags_x86_avx)
- -Dtest_avx2=$(usex cpu_flags_x86_avx2)
- -Dtest_sse=$(usex cpu_flags_x86_sse)
- -Dtest_sse2=$(usex cpu_flags_x86_sse2)
- #-Dtest_sse3=$(usex cpu_flags_x86_sse3)
- -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1)
- #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2)
- #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a)
- -Dtest_ssse3=$(usex cpu_flags_x86_ssse3)
- #-Dtest_fma4=$(usex cpu_flags_x86_fma4)
- #-Dtest_xop=$(usex cpu_flags_x86_xop)
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- use doc && cmake_src_compile doc
-}
-
-src_test() {
- export GDAL_RUN_SLOW_TESTS=0
- export GDAL_DOWNLOAD_TEST_DATA=0
-
- # Two test suites:
- # 1. autotests (much larger, uses pytest)
- # 2. Small set of fuzzing tests (no download needed)
-
- # Missing file for test-unit?
- cmake_src_test -E "(test-unit)"
-}
-
-src_install() {
- cmake_src_install
- use python && python_optimize
- # TODO: install docs?
-}
-
-pkg_postinst() {
- elog "Check available image and data formats after building with"
- elog "gdalinfo and ogrinfo (using the --formats switch)."
-}
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
+}