summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-12-19 14:26:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-12-19 14:26:07 +0000
commitb275cf7dcbed966ce949a0f3bad6c66e6637f77e (patch)
treef84d6ff2f432ff59bb593f2e732bb1044131529c /sci-libs
parentInitial import, ebuild by me (diff)
downloadgentoo-2-b275cf7dcbed966ce949a0f3bad6c66e6637f77e.tar.gz
gentoo-2-b275cf7dcbed966ce949a0f3bad6c66e6637f77e.tar.bz2
gentoo-2-b275cf7dcbed966ce949a0f3bad6c66e6637f77e.zip
add openni/openni2 useflags
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/pcl/ChangeLog6
-rw-r--r--sci-libs/pcl/metadata.xml2
-rw-r--r--sci-libs/pcl/pcl-1.7.2.ebuild10
-rw-r--r--sci-libs/pcl/pcl-9999.ebuild10
4 files changed, 23 insertions, 5 deletions
diff --git a/sci-libs/pcl/ChangeLog b/sci-libs/pcl/ChangeLog
index 8b10c68ae721..2db6205c962d 100644
--- a/sci-libs/pcl/ChangeLog
+++ b/sci-libs/pcl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/pcl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/ChangeLog,v 1.2 2014/12/08 15:29:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/ChangeLog,v 1.3 2014/12/19 14:26:07 aballier Exp $
+
+ 19 Dec 2014; Alexis Ballier <aballier@gentoo.org> pcl-1.7.2.ebuild,
+ pcl-9999.ebuild, metadata.xml:
+ add openni/openni2 useflags
08 Dec 2014; Alexis Ballier <aballier@gentoo.org> pcl-1.7.2.ebuild,
pcl-9999.ebuild:
diff --git a/sci-libs/pcl/metadata.xml b/sci-libs/pcl/metadata.xml
index 091b3650f59c..b19117671c27 100644
--- a/sci-libs/pcl/metadata.xml
+++ b/sci-libs/pcl/metadata.xml
@@ -7,6 +7,8 @@
</maintainer>
<use>
<flag name="cuda">Adds support for NVIDIA CUDA.</flag>
+ <flag name="openni">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI</pkg>.</flag>
+ <flag name="openni2">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg> (should be preferred over openni).</flag>
<flag name="pcap">Adds pcap file capabilities in some drivers.</flag>
<flag name="qhull">Adds convex-hull operation support via <pkg>media-libs/qhull</pkg>.</flag>
<flag name="vtk">Adds support for VTK-Visualizations.</flag>
diff --git a/sci-libs/pcl/pcl-1.7.2.ebuild b/sci-libs/pcl/pcl-1.7.2.ebuild
index 8ab986ccab98..9ccce38fedcc 100644
--- a/sci-libs/pcl/pcl-1.7.2.ebuild
+++ b/sci-libs/pcl/pcl-1.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/pcl-1.7.2.ebuild,v 1.2 2014/12/08 15:29:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/pcl-1.7.2.ebuild,v 1.3 2014/12/19 14:26:07 aballier Exp $
EAPI=5
@@ -25,13 +25,15 @@ HOMEPAGE="http://pointclouds.org/"
DESCRIPTION="2D/3D image and point cloud processing"
LICENSE="BSD"
SLOT="0"
-IUSE="cuda doc opengl pcap png +qhull qt4 usb vtk sse test tutorials"
+IUSE="cuda doc opengl openni openni2 pcap png +qhull qt4 usb vtk sse test tutorials"
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 )
@@ -66,6 +68,10 @@ src_configure() {
"-DWITH_QT=$(usex qt4 TRUE FALSE)"
"-DWITH_VTK=$(usex vtk TRUE FALSE)"
"-DWITH_PCAP=$(usex pcap TRUE FALSE)"
+ "-DWITH_OPENNI=$(usex openni TRUE FALSE)"
+ "-DBUILD_OPENNI=$(usex openni TRUE FALSE)"
+ "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)"
+ "-DBUILD_OPENNI2=$(usex openni2 TRUE FALSE)"
"-DPCL_ENABLE_SSE=$(usex sse TRUE FALSE)"
"-DWITH_DOCS=$(usex doc TRUE FALSE)"
"-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)"
diff --git a/sci-libs/pcl/pcl-9999.ebuild b/sci-libs/pcl/pcl-9999.ebuild
index 9efa7b68e454..328f80a04964 100644
--- a/sci-libs/pcl/pcl-9999.ebuild
+++ b/sci-libs/pcl/pcl-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/pcl-9999.ebuild,v 1.2 2014/12/08 15:29:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pcl/pcl-9999.ebuild,v 1.3 2014/12/19 14:26:07 aballier Exp $
EAPI=5
@@ -25,13 +25,15 @@ HOMEPAGE="http://pointclouds.org/"
DESCRIPTION="2D/3D image and point cloud processing"
LICENSE="BSD"
SLOT="0"
-IUSE="cuda doc opengl pcap png +qhull qt4 usb vtk sse test tutorials"
+IUSE="cuda doc opengl openni openni2 pcap png +qhull qt4 usb vtk sse test tutorials"
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 )
@@ -62,6 +64,10 @@ src_configure() {
"-DWITH_QT=$(usex qt4 TRUE FALSE)"
"-DWITH_VTK=$(usex vtk TRUE FALSE)"
"-DWITH_PCAP=$(usex pcap TRUE FALSE)"
+ "-DWITH_OPENNI=$(usex openni TRUE FALSE)"
+ "-DBUILD_OPENNI=$(usex openni TRUE FALSE)"
+ "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)"
+ "-DBUILD_OPENNI2=$(usex openni2 TRUE FALSE)"
"-DPCL_ENABLE_SSE=$(usex sse TRUE FALSE)"
"-DWITH_DOCS=$(usex doc TRUE FALSE)"
"-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)"