From 51be8f45b17e3da3ac48eca6b16b703bb58fda76 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Nov 2024 03:02:41 +0000 Subject: gentoo auto-resync : 12:11:2024 - 03:02:41 --- sci-libs/Manifest.gz | Bin 43142 -> 43144 bytes sci-libs/branca/Manifest | 8 +- sci-libs/branca/branca-0.7.0-r2.ebuild | 4 +- sci-libs/branca/branca-0.7.1.ebuild | 4 +- sci-libs/branca/branca-0.7.2.ebuild | 2 +- sci-libs/branca/branca-0.8.0.ebuild | 2 +- sci-libs/gdal/Manifest | 1 + sci-libs/gdal/gdal-3.9.1-r1.ebuild | 287 +++++++++++++++++++++++++++++++++ sci-libs/pdal/Manifest | 2 + sci-libs/pdal/pdal-2.8.1.ebuild | 69 ++++++++ 10 files changed, 369 insertions(+), 10 deletions(-) create mode 100644 sci-libs/gdal/gdal-3.9.1-r1.ebuild create mode 100644 sci-libs/pdal/pdal-2.8.1.ebuild (limited to 'sci-libs') diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz index 98f0d686af92..4ef9f721dc3d 100644 Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ diff --git a/sci-libs/branca/Manifest b/sci-libs/branca/Manifest index 088b84cff58f..e41add822796 100644 --- a/sci-libs/branca/Manifest +++ b/sci-libs/branca/Manifest @@ -3,8 +3,8 @@ DIST branca-0.7.0.tar.gz 42990 BLAKE2B b8de083b0b94d35dbb6df5d230e388832fe027d75 DIST branca-0.7.1.tar.gz 43005 BLAKE2B 2f2834d87e32ef5507273b14b1b8fcebc33d7eae49e0ffb8e834c540b1a329d177805ccbc1441cd522092d396ba98f69f3c8ab95254068d7b352e6f7df52c60d SHA512 70b6e361e93a01c319928890a40e3aa1e887e718b0736afe0a65bc45fe56fe6ca24a4c50db099066d84876cc8efd540a5cc14aa48607671ac068df3ae5124d29 DIST branca-0.7.2.tar.gz 42586 BLAKE2B 3bb6a1f93babb80788fbc1cbd37d8b0c2d5c975c9a98c5816298e37a447bcffb7742a768a0ad2fbb58af5ce0650ef28fdef42e8e4d505bbf29ab10c87ed388d6 SHA512 ad62e4496b43405dbc54b2cca35ee9d0265b8deeeb3df3b0868e63e6890fe491bfc4987318d74c1e78d83f05bdf56bfd570609699860ab1af9d189357bf00107 DIST branca-0.8.0.tar.gz 43075 BLAKE2B 46779d59ca981c1f6e76193b1776c77a7c455b67d93115027b17f96b8c4df737502dc32feb6ce242e0f2fec9ed4541ed79c6856e85d740dec40d092000873b32 SHA512 b5e8ac51a5d1b70ee72066ee16c9fc8d37623ca807c67cf0f5a2daba37f901ecd9eb81b03857c222ace1f36fb71a9a348aae7079deccf657eaabcc1dc6b64158 -EBUILD branca-0.7.0-r2.ebuild 901 BLAKE2B 79cc3f6889f428a007bfd905338753520660c38dc32d00cad2f9587ae633c67793e66af2a005f58acefc749b84ecde32fa94848651f0e7f2874b966952c36eaf SHA512 90289c6cf1ab22f0e77939c2984c98834a3fcddbca5fe2930c3fa35bf5e2d74d18caecca32f9c537c8a4f0b72555fd7ed2f4ab828ff5ab999eacd6b242375209 -EBUILD branca-0.7.1.ebuild 901 BLAKE2B 79cc3f6889f428a007bfd905338753520660c38dc32d00cad2f9587ae633c67793e66af2a005f58acefc749b84ecde32fa94848651f0e7f2874b966952c36eaf SHA512 90289c6cf1ab22f0e77939c2984c98834a3fcddbca5fe2930c3fa35bf5e2d74d18caecca32f9c537c8a4f0b72555fd7ed2f4ab828ff5ab999eacd6b242375209 -EBUILD branca-0.7.2.ebuild 902 BLAKE2B 4eac358501ca18426d9aca169caa360c194bebc401bc2f870ad5fc606ef2f0699157b00f342f811a08db79a8cec62707d7106d269c0d18d4f540698fe1f92c62 SHA512 b0a8133fad3418a79afa9c9ca0b88231c680a5131a2375ac095db0937ef8973221a25cba6c1f9b65302385e6b29b6700f8ffa8f7588ea8aa57b8412086a93c3e -EBUILD branca-0.8.0.ebuild 902 BLAKE2B 4eac358501ca18426d9aca169caa360c194bebc401bc2f870ad5fc606ef2f0699157b00f342f811a08db79a8cec62707d7106d269c0d18d4f540698fe1f92c62 SHA512 b0a8133fad3418a79afa9c9ca0b88231c680a5131a2375ac095db0937ef8973221a25cba6c1f9b65302385e6b29b6700f8ffa8f7588ea8aa57b8412086a93c3e +EBUILD branca-0.7.0-r2.ebuild 903 BLAKE2B 1cf28c1b204d0d074e254cf4d805e5ee7661073a0e45c5c52bb863b80da1bd3b28cfee810baf6448ca17392419a430e746ce8831e4056917b6a66d0545710585 SHA512 7c61ae174bcfef92b283d39a5fcac433c939ccc91aed33c806116665e0542410d2c22ef0aa8397cef437a6ed4d0414b2336ce41bce127d5c8c71eea28a0ee605 +EBUILD branca-0.7.1.ebuild 903 BLAKE2B 1cf28c1b204d0d074e254cf4d805e5ee7661073a0e45c5c52bb863b80da1bd3b28cfee810baf6448ca17392419a430e746ce8831e4056917b6a66d0545710585 SHA512 7c61ae174bcfef92b283d39a5fcac433c939ccc91aed33c806116665e0542410d2c22ef0aa8397cef437a6ed4d0414b2336ce41bce127d5c8c71eea28a0ee605 +EBUILD branca-0.7.2.ebuild 903 BLAKE2B fa039994a34a66cd55a3d6e96eebcd66b7580229eb40860236ed61d528609da1b3c05fcddf191f27ea57d2fb31401a11ca75b769b6125a7697a83319a9f3c786 SHA512 f4c9663d4f5c46faa7eba85e4e18e836ee8d85a494ba4b07cb1a45e03772091b79b584cb98510a30d0e9aeebba8c315ae18155540cf9cf73b846b56548791dc2 +EBUILD branca-0.8.0.ebuild 903 BLAKE2B fa039994a34a66cd55a3d6e96eebcd66b7580229eb40860236ed61d528609da1b3c05fcddf191f27ea57d2fb31401a11ca75b769b6125a7697a83319a9f3c786 SHA512 f4c9663d4f5c46faa7eba85e4e18e836ee8d85a494ba4b07cb1a45e03772091b79b584cb98510a30d0e9aeebba8c315ae18155540cf9cf73b846b56548791dc2 MISC metadata.xml 567 BLAKE2B a65dec67ea324de3bd665152174cd5d8ca121d2775e9e6db7d15f2c1a2b60058f8788769d2cd4ae54d454b667b9581fe84006b2eebfde99ccdb63ed5d015ff6c SHA512 9cff06968cb58902bc68dab33859310746e7fba3420a53f04c6fa45c5aeda061a68c41343b71240670b21d116d80fe9e6d40c7ba281e2910b7a95caebfcd5dd8 diff --git a/sci-libs/branca/branca-0.7.0-r2.ebuild b/sci-libs/branca/branca-0.7.0-r2.ebuild index 530dc31506f2..7536daf7d341 100644 --- a/sci-libs/branca/branca-0.7.0-r2.ebuild +++ b/sci-libs/branca/branca-0.7.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} inherit distutils-r1 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}"/${PN}-0.6.0-test.patch ) -RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]" +RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="dev-python/setuptools-scm test? ( diff --git a/sci-libs/branca/branca-0.7.1.ebuild b/sci-libs/branca/branca-0.7.1.ebuild index 530dc31506f2..7536daf7d341 100644 --- a/sci-libs/branca/branca-0.7.1.ebuild +++ b/sci-libs/branca/branca-0.7.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} inherit distutils-r1 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}"/${PN}-0.6.0-test.patch ) -RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]" +RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="dev-python/setuptools-scm test? ( diff --git a/sci-libs/branca/branca-0.7.2.ebuild b/sci-libs/branca/branca-0.7.2.ebuild index 6fbc4495a341..e85a29c30f31 100644 --- a/sci-libs/branca/branca-0.7.2.ebuild +++ b/sci-libs/branca/branca-0.7.2.ebuild @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}"/${PN}-0.6.0-test.patch ) -RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]" +RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="dev-python/setuptools-scm test? ( diff --git a/sci-libs/branca/branca-0.8.0.ebuild b/sci-libs/branca/branca-0.8.0.ebuild index 6fbc4495a341..e85a29c30f31 100644 --- a/sci-libs/branca/branca-0.8.0.ebuild +++ b/sci-libs/branca/branca-0.8.0.ebuild @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}"/${PN}-0.6.0-test.patch ) -RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]" +RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="dev-python/setuptools-scm test? ( diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest index 48dbab8fa049..d056b7efe211 100644 --- a/sci-libs/gdal/Manifest +++ b/sci-libs/gdal/Manifest @@ -15,5 +15,6 @@ DIST gdalautotest-3.9.1.tar.gz 16681261 BLAKE2B c6eecb5bdd3d9b9730f49ba88dc9d5c1 EBUILD gdal-3.8.0-r1.ebuild 7637 BLAKE2B 880de2388b10f4de0a049ccee96fe53b857afbfd998e22479b64ed68dce3439c524315b06818dfc863c2258d3557e70fa63404008a443acc5e645400b11d7c14 SHA512 08c344e5faf22d9e2212850c4ac9018172e587cfe09bfc614086bdfcc6ee3e5561167eedc479e8ddcfab6e415f5da96fecd6ce3cf707955d109c94f7440ba3d1 EBUILD gdal-3.8.5.ebuild 7592 BLAKE2B b84884742702cf708847a403e8069ed46916cd038a35013fddf94043994904001bfe6577e738e708b341759495ad9fd8e3c5726440498b08e9a3001d6152317a SHA512 86d8586f309023be222c0aa56a6a6dd7aa3851cd0ca8b4b3b7b40ea6cf388e8cb5dd1b70d945c22c06899461b275320a8a5ec1b1f785c849906a2094d1b3c786 EBUILD gdal-3.9.0.ebuild 7570 BLAKE2B 62464361be497f14052f94cfff55ac357d0822b3fd95e461e8ced40516352a7333ec0fd4671238646775e593f2f64454d3416f01dfb0dd13944593983269279a SHA512 bf53744c3266dac39540c5e2a261e1b16ad92ca71877fb16bc7de0d83523151f6c2d02081967182fa3aea75d3981d41d9a0697852351f56362e1e87e9226f0fc +EBUILD gdal-3.9.1-r1.ebuild 7630 BLAKE2B 4bc755890e5a4767191b08bde1e657774055d059ce96e99bb7ad139206d2ccb91b9215e8e7c4ba2dfd1d6a2622382e2a654d60e8baf5ebec253c02e06b494d90 SHA512 e15e5008d8c0858b4e5a0df70239456fd8dc6b2565ba3c420d3a002bb70fe90d5a29cabb1f4a034048c66be26f49aaadb53ce55ce37463ca38e58f8207de05bb EBUILD gdal-3.9.1.ebuild 7578 BLAKE2B 94a622ce9bbe2cab90a4030dd3312493bf9eeb38c0544c4b6e7206bcfdf65157c2818556e2bf607c0b7942325be675889994657e426aedd811af404a3589a382 SHA512 7347793819b0e6bb18cb8133c898b9e99d6b0c4aeec89b5e3a8b327bd5e858492fc1672b083e55c0bb5b8290b9c6282d228286b1e079a16df2cf4ab8f26546f9 MISC metadata.xml 1401 BLAKE2B f76e292c72b879bf98dd9e009bdc3aabd5d1ca134d2f867a38faafa755db99b39d217b12105a184ca2ad4943704b8f1df6d129605f59485dc74114e88bfcbbed SHA512 54342a758b5d8c0b7dac325565cb7ace9ac32a6a27b621bea232ade813f9bc6b002049fb0293b7b838dd9f0ec10719ccf8f11197227acfbeddc77b4f87dc4a12 diff --git a/sci-libs/gdal/gdal-3.9.1-r1.ebuild b/sci-libs/gdal/gdal-3.9.1-r1.ebuild new file mode 100644 index 000000000000..ceed348d315a --- /dev/null +++ b/sci-libs/gdal/gdal-3.9.1-r1.ebuild @@ -0,0 +1,287 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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/35" # subslot is libgdal.so. +KEYWORDS="~amd64 ~arm ~arm64 ~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 lerc lzma mysql netcdf odbc ogdi opencl oracle parquet pdf png postgres python spatialite sqlite test webp xls zstd" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + spatialite? ( sqlite ) + test? ( ${PYTHON_REQUIRED_USE} ) +" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) + java? ( + >=dev-java/ant-1.10.14-r3:0 + dev-lang/swig + ) + python? ( + dev-lang/swig + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ') + ) + test? ( + ${PYTHON_DEPS} + dev-cpp/gtest + ) +" +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] ) + java? ( + >=virtual/jdk-1.8:*[-headless-awt] + ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lerc? ( media-libs/tiff:=[lerc(-)] ) + 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:= ) + parquet? ( dev-libs/apache-arrow:=[dataset,parquet] ) + 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:* ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + _wstat64 # Windows LFS +) + +PATCHES=( + "${FILESDIR}"/${PN}-3.6.4-abseil-cpp-20230125.2-c++17.patch +) + +pkg_setup() { + if use python || use test ; then + python-single-r1_pkg_setup + fi + + 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 + -DBUILD_TESTING=$(usex test) + + # 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=$(usex lerc) + -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=$(usex parquet) + -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) + ) + + if use test ; then + mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) + fi + + 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 + + if use java; then + # Move the native library into the proper place for Gentoo. The + # library in ${D} has already had its RPATH fixed, so we use it + # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so. + java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so" + rm -rf "${ED}/usr/$(get_libdir)/jni" || die + fi + + # TODO: install docs? +} + +pkg_postinst() { + elog "Check available image and data formats after building with" + elog "gdalinfo and ogrinfo (using the --formats switch)." + + if use java; then + elog + elog "To use the Java bindings, you need to pass the following to java:" + elog " -Djava.library.path=$(java-config -i gdal)" + fi +} diff --git a/sci-libs/pdal/Manifest b/sci-libs/pdal/Manifest index b1ad1d7b75a9..07da5b62838b 100644 --- a/sci-libs/pdal/Manifest +++ b/sci-libs/pdal/Manifest @@ -3,8 +3,10 @@ DIST PDAL-2.5.3-src.tar.bz2 102669314 BLAKE2B 1c6c8406f8de65a04364cc1141be809c00 DIST PDAL-2.6.2-src.tar.bz2 87274819 BLAKE2B 5855a268889064fdc72d15ec1dbe7ab3ed8eb6bee2fa4ec724e9f287f25d6b9f9f9171829a2121e156bec575c96a42f26e223c807c8aa9d3a88f77c245c3d01c SHA512 4a9c07deaca6fbe994808904a6b90e09beb418155c662369046b6ddea03c8aa57ca2e9b4c2057c8e409bb197b90adb36e334c9c2136034a021be84763fa93551 DIST PDAL-2.7.2-src.tar.bz2 87431434 BLAKE2B f5093008a84c9e5250bb9e8124c694a919b2a31c0f55b750f8d186e954c51c6672b5e63824203dfeb4efa24e6b0a8c0d354229a655416d5ef56336dc2bcd3a80 SHA512 81e4d4b136e292f5a2e4145f730e00375a26a6a2aa52af679bea6d9d371b55c92641475ea332fc8301fe35d237415b70ea311da3fc1bc4ff69013a7448f66896 DIST PDAL-2.8.0-src.tar.bz2 87483358 BLAKE2B 8d15187f2b6a7110d52e2621d65ee8eedce0dd21c415c18fbb1e48dbdb0b24307b42487f4631f227875079ba47031c27196399970458236c7139b8f1418aa3b8 SHA512 d3b02f13e56423c5086e72908f932db384cb0d64f3d3e5cec121c1e283268f8e38f6123ff852d77c07ea9777001a78595bdafed458dc06aa52402d92e76ce995 +DIST PDAL-2.8.1-src.tar.bz2 87507277 BLAKE2B 634ba5f2c5548bfa1fbdcc257185dcd99d2c8bda73e3ac24cf092d378150285912d9c5b48c88e21df14d5502221865273fa6167b82886ef848fc7d445c8937dc SHA512 fb1d0e892ea38518526ce0086415fffd92f356d104d9982f8883d254a206a75b51ff796dbf5db266a4dc8345ae91b825e8a50ae78eb21552c86ab600905850ad EBUILD pdal-2.5.3-r1.ebuild 1249 BLAKE2B b995c920174926e3a90dc026516471e61993ce3c69594ca30722e87e1caa212b9fc9bf1c768d6bd58ae311af98127dc63b1b9056da85f395318cdb5b3c855924 SHA512 3768f089397aa8707232be5036dab147a0a5e090a1aabd029a8aa078e618b8227043d928e6d53a6b7b0b5e9b5696f4eb4c200f17de469a96c075ffc43388a656 EBUILD pdal-2.6.2.ebuild 1492 BLAKE2B 24743260105565e213ae4b98c9e73c11f578bb5f484a908fbb25b41bf8888ccf72fa84faa8bc97d22d9dfa8e221769b796365abfd2204888e90a2fe79c0fab72 SHA512 4c9eab35b9f7a934a85e1a61f732daf738e24af01e86c50a8d713d4cd49ccc66a66ead5c76123dfbeecabc2f0a530fab25d18c6ced4f34e276830e4b42a43ceb EBUILD pdal-2.7.2.ebuild 1493 BLAKE2B 4e8d975492905b6f542cda05253c8f1d22c069ea833bce18c11c363ceb6e54b4b43b6c488b3cd6bd778648d941030906eaf5c04188c2fcff963c1c6dfc7ee930 SHA512 701e81e470f4386eb7d2da99cdb879d35d2c3991433711e8a85ca343837e9226793331eab72aa29addfbc24e9f4c837932c76882f52350f713e760b720afeead EBUILD pdal-2.8.0.ebuild 1493 BLAKE2B 6fa9c92adbe8accbe19e2915c6b101df05b33d84b19bdb2d43df83ac40a7502308c89bc2fb42ceb445b855a7a531abbd404b75b2c813f6b821caac7e2705b507 SHA512 9510b2a378397849db4f726ed4fbe24b23d23bbddd4e5049c0b482ed6cc94a9ae74b4d984f19e0fe1cf65b7258ebc33cfa90e7b0a702817e5e4f514d3d640690 +EBUILD pdal-2.8.1.ebuild 1493 BLAKE2B 6fa9c92adbe8accbe19e2915c6b101df05b33d84b19bdb2d43df83ac40a7502308c89bc2fb42ceb445b855a7a531abbd404b75b2c813f6b821caac7e2705b507 SHA512 9510b2a378397849db4f726ed4fbe24b23d23bbddd4e5049c0b482ed6cc94a9ae74b4d984f19e0fe1cf65b7258ebc33cfa90e7b0a702817e5e4f514d3d640690 MISC metadata.xml 799 BLAKE2B 44fff88edc36553687a49ecf5113b1f7f3c8d092e82ef4e45f0d96cf53cc619647f45b3d3439a5b98bf43a8965e1b80582e7b074489dcd69f6f3aad9e5c7f59a SHA512 da405bacd840b714fe274fa5ca658f7a51b0078054058dcce46f690b33e641579981739de9511f4a876ff0f88aec5c2dbaa59e4db035eb9a85bdd8e9725bc7c2 diff --git a/sci-libs/pdal/pdal-2.8.1.ebuild b/sci-libs/pdal/pdal-2.8.1.ebuild new file mode 100644 index 000000000000..f18bb365d8a9 --- /dev/null +++ b/sci-libs/pdal/pdal-2.8.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="A C++ library for translating and manipulating point cloud data" +HOMEPAGE="https://pdal.io/" +SRC_URI="https://github.com/PDAL/PDAL/releases/download/${PV}/PDAL-${PV}-src.tar.bz2" +S="${WORKDIR}/PDAL-${PV}-src" + +LICENSE="BSD" +SLOT="0/18" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug postgres test" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + net-misc/curl + app-arch/zstd:= + dev-libs/libxml2 + dev-libs/openssl:= + sci-libs/gdal:= + sci-libs/libgeotiff:= + sys-libs/zlib + debug? ( sys-libs/libunwind:= ) + postgres? ( dev-db/postgresql:*[xml] ) +" + +DEPEND=" + test? ( sci-libs/gdal[geos,jpeg,png] ) + ${RDEPEND} +" + +RESTRICT="!test? ( test )" + +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862915 + # https://github.com/PDAL/PDAL/issues/3836 + # + # only occurs inside unwind support + if use debug; then + append-flags -fno-strict-aliasing + filter-lto + fi + + local mycmakeargs=( + -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)" + -DWITH_COMPLETION=ON + -DWITH_BACKTRACE="$(usex debug)" + ) + + cmake_src_configure +} + +src_test() { + local myctestargs=( + --exclude-regex '(pgpointcloudtest|pdal_info_test|pdal_io_bpf_base_test|pdal_io_bpf_zlib_test|pdal_filters_overlay_test|pdal_filters_stats_test|pdal_app_plugin_test|pdal_merge_test|pdal_io_stac_reader_test)' + --output-on-failure + -j1 + ) + + cmake_src_test +} -- cgit v1.2.3