commit: f2329f537e6c235f04e3ac71ffea84342a23afde Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun May 18 13:47:40 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 18 13:48:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2329f53
sci-libs/pdal: add 2.8.4 The USE=debug LTO issue is gone, but there's another (irrespective of USE) ODR problem now. Bug: https://github.com/PDAL/PDAL/issues/4709 Bug: https://bugs.gentoo.org/862915 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/pdal/Manifest | 1 + sci-libs/pdal/pdal-2.8.4.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sci-libs/pdal/Manifest b/sci-libs/pdal/Manifest index 4393152b9eb5..dce829479db7 100644 --- a/sci-libs/pdal/Manifest +++ b/sci-libs/pdal/Manifest @@ -1,3 +1,4 @@ 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 DIST PDAL-2.8.2-src.tar.bz2 87504277 BLAKE2B b2037a4fe5ac369380d2b2d83a2210a3c17757f9e6f749e819854d7356ba07d85b83fe3221ab9024f40f8a9f0ec6ee86573092914ac633af56b361a2f128cb00 SHA512 82dc84192e0cda809f4b12233e009c0c92328bf78001fc6394f56b28514a4b20de17dd354904d44cebc40c28a78828c47a1324b749143cc5b41b6c322902a442 +DIST PDAL-2.8.4-src.tar.bz2 86725389 BLAKE2B f1f1009be5d0655f33fe6c57f1efe0f878bb2a2de2075a3d18b2e64d4a07d5201857a78b13288365b9110e106022a473cf7793e1ac2c744499ba0752c67bd0c3 SHA512 5d754d6fa656615aa4a9dc31ca5d5c051194148d721ce217ca4b8a87af54889717b8470b789899e486e0ed3154906659b0c336ed7571abddda0a182febf37e6b diff --git a/sci-libs/pdal/pdal-2.8.4.ebuild b/sci-libs/pdal/pdal-2.8.4.ebuild new file mode 100644 index 000000000000..a78df3c9e644 --- /dev/null +++ b/sci-libs/pdal/pdal-2.8.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-2025 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,sqlite] ) + ${RDEPEND} +" + +RESTRICT="!test? ( test )" + +src_configure() { + # https://github.com/PDAL/PDAL/issues/4709 + append-flags -fno-strict-aliasing + filter-lto + + 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 +}
