diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-24 00:07:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-24 00:07:11 +0100 |
commit | aa4954f71a3ba2293395a8cce2321a70c39c7554 (patch) | |
tree | 35665855d8a569dca2bdf52a7316e2503df68208 /sci-libs | |
parent | b3b92de25c3fc5f6bddc5e513027140591a0b2a5 (diff) |
gentoo auto-resync : 24:05:2024 - 00:07:11
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44680 -> 44675 bytes | |||
-rw-r--r-- | sci-libs/pcl/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/pcl/pcl-1.14.1.ebuild | 116 |
3 files changed, 118 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 381ca44fa994..c680a5e4f2ae 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/pcl/Manifest b/sci-libs/pcl/Manifest index bfc69aa1bed5..72cdc4864286 100644 --- a/sci-libs/pcl/Manifest +++ b/sci-libs/pcl/Manifest @@ -1,6 +1,8 @@ AUX pcl-1.12.1-allow-configuration-of-install-dirs.patch 1188 BLAKE2B 5ffc3c22c10df8a14270ce1e6a3b0c2db0ed3c5e9154bfed366b87faf8a13546fbf78a88f0d52c4ca09e345ba9add384dad86a08963e0b496a2944293f38516b SHA512 ab4cb57d5d1e494501412d5fcd662f8d75f74a7cf768e948abc1270d11b7ec2bc90901630fa7ac6e96237507c9bfa4214594fc76c58f505bcf2f40e4e37487a8 AUX pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch 832 BLAKE2B e7095163cba68ee7487251506e19434050c4c7d4bb5feb6d0946356a607dad5555c7327dc1ba68761086b3708ad653256337a110983d9d656fa863dbf9a75896 SHA512 5581df74c9f6f0bd9613b7f158d0d799a4fdea512101001aafdf8eaa91c31e4570f4ce04f1b828730c9fa8082d00000e78055da87427301f04807c1087f1b8b2 DIST pcl-1.14.0.tar.gz 68662907 BLAKE2B 5e797666b2a6cd5b828b399592daaa78c3bcbc0968c1ec5dafe441717bb4067de4604cdab11d3317370c7f69a1b29db0cca6348e91697d16846ae44c1952ce3e SHA512 0ea388d5f4ccdc1e5fcace6a1e1b90843be1a4ed2e1d37cc3c80d8abc0e868324d8f9da80513f1cb3f16738e00586f29cac151ce0d501645514f280aee8b1d7f +DIST pcl-1.14.1.tar.gz 68672885 BLAKE2B 207389d844ac2793f6f321504c05282ace2d8e51aaf0277c13fb11f5be22ac93f7e044f34fc2259aca7d7e34ae3b9b00287ee9df0d15f851f1f4b4bd651578c7 SHA512 8e2d2839fe73a955d49b9a72861de2becf2da9a0dc906bd10ab8a3518e270a2f1900d801922d02871d704f2ed380273d35c2d0e04d8da7e24a21eb351c43c00b EBUILD pcl-1.14.0.ebuild 2783 BLAKE2B 9c7e1362d4078dcd6ce910751788ed3d3647a7d6aad4cb45f9fb632dbb0ce8f5d8947dd7d6890a9866c8ddb0aee9069799505a53f93d9c7bf94b52de0ed31fb4 SHA512 b6272250819871c32e703642f97e26f84c0682029b1d2406eca72e093c5eb8e6bc367a4655d81653dbd2dfefaa05eb1d86af8701ffd8ab0f26587d024ce6088c +EBUILD pcl-1.14.1.ebuild 2784 BLAKE2B ecaa84e6d330872b2e4ae3ec4a79c922e103c22d42fe3db3b9b440bdff565af23dfb622580fc9ba6f2eb9c1ecb35de4f8f578147464a19bdf101eebee9a1f41c SHA512 163a8e345185376b5475b81de481b54d791cdb3296d1c4053dfdb7c1c8056be3b1dea02d64c20c12a2e1ec4f4ebdc2f20d6ebd690e217d7af1f3563597418754 EBUILD pcl-9999.ebuild 2784 BLAKE2B ecaa84e6d330872b2e4ae3ec4a79c922e103c22d42fe3db3b9b440bdff565af23dfb622580fc9ba6f2eb9c1ecb35de4f8f578147464a19bdf101eebee9a1f41c SHA512 163a8e345185376b5475b81de481b54d791cdb3296d1c4053dfdb7c1c8056be3b1dea02d64c20c12a2e1ec4f4ebdc2f20d6ebd690e217d7af1f3563597418754 MISC metadata.xml 1069 BLAKE2B efb4dd7a8d1d65a7922da25e9f31e327b35cf88924be9dbc12ec2adc2e2d57017714ab931611d17b575daaa831934d9b90493be307ed668e24b7831bf4bd0106 SHA512 ac01ef352a9d6d66a02981585e8a19b01574a254639067520ab7422d89e5f095f84f7fc91a3e4f5b6dcb154ca0e487604aa1461bae6fa02a2037d7ca2668de3f diff --git a/sci-libs/pcl/pcl-1.14.1.ebuild b/sci-libs/pcl/pcl-1.14.1.ebuild new file mode 100644 index 000000000000..46645bec9842 --- /dev/null +++ b/sci-libs/pcl/pcl-1.14.1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake cuda + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/PointCloudLibrary/pcl" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/PointCloudLibrary/pcl/archive/${P}.tar.gz" + S="${WORKDIR}/${PN}-${P}" +fi + +HOMEPAGE="https://pointclouds.org/" +DESCRIPTION="2D/3D image and point cloud processing" +LICENSE="BSD" +SLOT="0/$(ver_cut 1-2)" +IUSE="cuda doc opengl openni openni2 pcap png +qhull qt5 qt6 usb vtk cpu_flags_x86_sse test tutorials" +# tests need the gtest sources to be available at build time +RESTRICT="test" + +RDEPEND=" + >=sci-libs/flann-1.7.1 + dev-libs/boost:= + dev-cpp/eigen:3 + opengl? ( virtual/opengl media-libs/freeglut ) + openni? ( dev-libs/OpenNI ) + openni2? ( dev-libs/OpenNI2 ) + pcap? ( net-libs/libpcap ) + png? ( media-libs/libpng:0= ) + qhull? ( media-libs/qhull:= ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtcore:5 + dev-qt/qtconcurrent:5 + dev-qt/qtopengl:5 + vtk? ( sci-libs/vtk[qt5] ) + ) + qt6? ( + !qt5? ( + dev-qt/qtbase:6[concurrent,gui,opengl] + vtk? ( sci-libs/vtk[-qt5,qt6] ) + ) + ) + usb? ( virtual/libusb:1 ) + vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering,views] ) + cuda? ( >=dev-util/nvidia-cuda-toolkit-4 ) +" +DEPEND="${RDEPEND} + !!dev-cpp/metslib +" +BDEPEND=" + doc? ( + app-text/doxygen[dot] + virtual/latex-base + ) + tutorials? ( + dev-python/sphinx + dev-python/sphinx-rtd-theme + dev-python/sphinxcontrib-doxylink + ) + virtual/pkgconfig" + +REQUIRED_USE=" + openni? ( usb ) + openni2? ( usb ) + tutorials? ( doc ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12.1-allow-configuration-of-install-dirs.patch + "${FILESDIR}"/${PN}-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch +) + +src_prepare() { + if use cuda; then + cuda_src_prepare + cuda_add_sandbox -w + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + "-DDOC_INSTALL_DIR=share/doc/${PF}" + "-DLIB_INSTALL_DIR=$(get_libdir)" + "-DPCLCONFIG_INSTALL_DIR=share/cmake/${PN}-$(ver_cut 1-2)" + "-DWITH_CUDA=$(usex cuda TRUE FALSE)" + "-DWITH_LIBUSB=$(usex usb TRUE FALSE)" + "-DWITH_OPENGL=$(usex opengl TRUE FALSE)" + "-DWITH_PNG=$(usex png TRUE FALSE)" + "-DWITH_QHULL=$(usex qhull TRUE FALSE)" + "-DWITH_VTK=$(usex vtk TRUE FALSE)" + "-DWITH_PCAP=$(usex pcap TRUE FALSE)" + "-DWITH_OPENNI=$(usex openni TRUE FALSE)" + "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)" + "-DPCL_ENABLE_SSE=$(usex cpu_flags_x86_sse TRUE FALSE)" + "-DWITH_DOCS=$(usex doc TRUE FALSE)" + "-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)" + "-DBUILD_global_tests=FALSE" + ) + + if use qt5; then + mycmakeargs+=( "-DWITH_QT=QT5" ) + elif use qt6; then + mycmakeargs+=( "-DWITH_QT=QT6" ) + else + mycmakeargs+=( "-DWITH_QT=NO" ) + fi + + cmake_src_configure +} |