summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/rtabmap/rtabmap-9999.ebuild')
-rw-r--r--sci-libs/rtabmap/rtabmap-9999.ebuild22
1 files changed, 7 insertions, 15 deletions
diff --git a/sci-libs/rtabmap/rtabmap-9999.ebuild b/sci-libs/rtabmap/rtabmap-9999.ebuild
index 8fdd4089e4cf..8bd1ed29ac6e 100644
--- a/sci-libs/rtabmap/rtabmap-9999.ebuild
+++ b/sci-libs/rtabmap/rtabmap-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,29 +24,21 @@ DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
HOMEPAGE="http://introlab.github.io/rtabmap/"
LICENSE="BSD"
SLOT="0"
-IUSE="ieee1394 openni2 qt4 qt5"
+IUSE="examples ieee1394 openni2 qt5"
RDEPEND="
- media-libs/opencv:=
+ media-libs/opencv:=[qt5(-)?]
sci-libs/pcl[openni,vtk]
- sci-libs/vtk
+ sci-libs/vtk[qt5(-)?]
sys-libs/zlib
+ sci-libs/octomap:=
ieee1394? ( media-libs/libdc1394 )
openni2? ( dev-libs/OpenNI2 )
- !qt5? (
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtsvg:4
- dev-qt/qtcore:4
- media-libs/opencv[-qt5(-)]
- )
- )
qt5? (
dev-qt/qtwidgets:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
- media-libs/opencv[qt5(-)]
)
"
DEPEND="${RDEPEND}
@@ -54,10 +46,10 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
- "-DWITH_QT=$(usex qt4 ON "$(usex qt5 ON OFF)")"
- "-DRTABMAP_QT_VERSION=$(usex qt5 5 4)"
+ "-DWITH_QT=$(usex qt5 ON OFF)"
"-DWITH_DC1394=$(usex ieee1394 ON OFF)"
"-DWITH_OPENNI2=$(usex openni2 ON OFF)"
+ "-DBUILD_EXAMPLES=$(usex examples ON OFF)"
)
cmake-utils_src_configure
}