summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/rtabmap/Manifest1
-rw-r--r--sci-libs/rtabmap/rtabmap-0.11.14.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest
index 85dc4c86f5fd..6cf6795da0bc 100644
--- a/sci-libs/rtabmap/Manifest
+++ b/sci-libs/rtabmap/Manifest
@@ -1 +1,2 @@
DIST rtabmap-0.11.13.tar.gz 17744796 SHA256 683dce8656d41d1733ae534144360b3f106080f8da14492a8908d8317134eddb SHA512 648f6ba73b9d2d2d659fd07af6c8c7f502d450e64dcf189edc78e45adc92ba77dda0647a358d55d4c0556bc84334ab1d92b0809b392382ff7f3f2e067da24549 WHIRLPOOL 4a060274b1e8cad55afc8e3f54756d2b746b0170b56bd2f8746b01077ac6790fc6562879639aaeb63ad9b08af7d6e9c1771d75162e6dd9bada2a71ba9daf31c0
+DIST rtabmap-0.11.14.tar.gz 18997635 SHA256 3ca1e46889fe91e83e0de56baa8c8121cc68e0efd1039bd2684323faa8a52b25 SHA512 0793dbe7e58857ef6b5d00296cfe45a2df69d89fac422d3c43d8b550588c500b53b7a0af05683517d40b56e6f7d2af6b9e0dbdbcb1899a49e9736745feee75ae WHIRLPOOL fed930d36bbfcb142a29d010207ece168cb2c8c99f73636bfa0f8bca6d7265dc09b76026715a4b23200ba268022c00be177e28059b7c3c7d83aeb0e4b8eaadcd
diff --git a/sci-libs/rtabmap/rtabmap-0.11.14.ebuild b/sci-libs/rtabmap/rtabmap-0.11.14.ebuild
new file mode 100644
index 000000000000..a4df9bc1b2e8
--- /dev/null
+++ b/sci-libs/rtabmap/rtabmap-0.11.14.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="https://github.com/introlab/rtabmap"
+fi
+
+inherit ${SCM} cmake-utils multilib
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
+HOMEPAGE="http://introlab.github.io/rtabmap/"
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples ieee1394 openni2 qt5"
+
+RDEPEND="
+ media-libs/opencv:=[qt5(-)?]
+ sci-libs/pcl:=[openni,vtk]
+ sci-libs/vtk:=[qt5(-)?]
+ sys-libs/zlib
+ sci-libs/octomap:=
+ ieee1394? ( media-libs/libdc1394 )
+ openni2? ( dev-libs/OpenNI2 )
+ qt5? (
+ dev-qt/qtwidgets:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ "-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
+}