diff options
author | Alexis Ballier <aballier@gentoo.org> | 2022-06-22 15:57:17 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2022-06-22 16:49:12 +0200 |
commit | 7d497a9b173c87284b5be46d4a6b62573ab7581b (patch) | |
tree | 8791553a0e56ec2c49878953768978ebaacbc90a | |
parent | net-misc/chrome-remote-desktop: version bump to 103.0.5060.46 #845345 (diff) | |
download | gentoo-7d497a9b173c87284b5be46d4a6b62573ab7581b.tar.gz gentoo-7d497a9b173c87284b5be46d4a6b62573ab7581b.tar.bz2 gentoo-7d497a9b173c87284b5be46d4a6b62573ab7581b.zip |
sci-libs/pcl: add missing views usedep on vtk
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r-- | sci-libs/pcl/pcl-1.12.1-r1.ebuild | 83 | ||||
-rw-r--r-- | sci-libs/pcl/pcl-9999.ebuild | 4 |
2 files changed, 85 insertions, 2 deletions
diff --git a/sci-libs/pcl/pcl-1.12.1-r1.ebuild b/sci-libs/pcl/pcl-1.12.1-r1.ebuild new file mode 100644 index 000000000000..eeb47d9d7c6a --- /dev/null +++ b/sci-libs/pcl/pcl-1.12.1-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/PointCloudLibrary/pcl" +fi + +inherit ${SCM} cmake multilib + +if [ "${PV#9999}" != "${PV}" ] ; then + SRC_URI="" +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/1.12" +IUSE="cuda doc opengl openni openni2 pcap png +qhull qt5 usb vtk cpu_flags_x86_sse test tutorials" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=sci-libs/flann-1.7.1 + dev-libs/boost:=[threads(+)] + 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 + ) + 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 + test? ( >=dev-cpp/gtest-1.6.0 ) +" +BDEPEND=" + doc? ( app-doc/doxygen ) + tutorials? ( dev-python/sphinx dev-python/sphinxcontrib-doxylink ) + virtual/pkgconfig" + +REQUIRED_USE=" + openni? ( usb ) + openni2? ( usb ) + tutorials? ( doc ) +" + +src_configure() { + local mycmakeargs=( + "-DLIB_INSTALL_DIR=$(get_libdir)" + "-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_QT=$(usex qt5 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_TESTS=$(usex test TRUE FALSE)" + ) + cmake_src_configure +} diff --git a/sci-libs/pcl/pcl-9999.ebuild b/sci-libs/pcl/pcl-9999.ebuild index 1ab0b8e362ff..eeb47d9d7c6a 100644 --- a/sci-libs/pcl/pcl-9999.ebuild +++ b/sci-libs/pcl/pcl-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -43,7 +43,7 @@ RDEPEND=" dev-qt/qtopengl:5 ) usb? ( virtual/libusb:1 ) - vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering] ) + vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering,views] ) cuda? ( >=dev-util/nvidia-cuda-toolkit-4 ) " DEPEND="${RDEPEND} |