summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-03-04 14:17:48 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-03-04 14:36:49 +0100
commit3d4335353d5eca343ea0cba1d5fa7e809126b52b (patch)
treeb68d9b9b9a1a43401109bcf8e5a9d8cfb5164d9d /sci-libs/rtabmap
parentmedia-libs/libbluray: remove old (diff)
downloadgentoo-3d4335353d5eca343ea0cba1d5fa7e809126b52b.tar.gz
gentoo-3d4335353d5eca343ea0cba1d5fa7e809126b52b.tar.bz2
gentoo-3d4335353d5eca343ea0cba1d5fa7e809126b52b.zip
sci-libs/rtabmap: Bump to 0.12.2
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'sci-libs/rtabmap')
-rw-r--r--sci-libs/rtabmap/Manifest1
-rw-r--r--sci-libs/rtabmap/rtabmap-0.12.2.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest
index e9f6364019e3..8558e099b3a6 100644
--- a/sci-libs/rtabmap/Manifest
+++ b/sci-libs/rtabmap/Manifest
@@ -1,2 +1,3 @@
DIST rtabmap-0.11.14.tar.gz 18997635 SHA256 3ca1e46889fe91e83e0de56baa8c8121cc68e0efd1039bd2684323faa8a52b25 SHA512 0793dbe7e58857ef6b5d00296cfe45a2df69d89fac422d3c43d8b550588c500b53b7a0af05683517d40b56e6f7d2af6b9e0dbdbcb1899a49e9736745feee75ae WHIRLPOOL fed930d36bbfcb142a29d010207ece168cb2c8c99f73636bfa0f8bca6d7265dc09b76026715a4b23200ba268022c00be177e28059b7c3c7d83aeb0e4b8eaadcd
DIST rtabmap-0.12.1.tar.gz 19417321 SHA256 9da5800a573257f764130a12ded3d8e893faa3b1d54ec30c673c59a14e40af03 SHA512 23b689af9f3b8746076d6042d4c882680116347ec0e6babdf5dd659bd3bf56b0bceadf905a67f416da90d04cc8acbc8972ee52d43237f9681b067a08ed15f600 WHIRLPOOL 03f3d353603dd679362c76a18c670c40066f79d4c33c128d0fa6cbea1185227596f434de7f1c1b73a31a895df08a5c46bc1a711e7bdcf5d6a4c41ff620e51012
+DIST rtabmap-0.12.2.tar.gz 19425558 SHA256 24c4392080f752e0609c05f15a5351cecaaaa83a28290d626bbc315ea3eff525 SHA512 95a7b442dac31e0d86d7b94985f7ffac0b90e693b4d4abe91a438809f56a6e053f34c63324bbf3ecd7cbb240ae24021a97da46ab5c8ef695071aeea6f2ac081d WHIRLPOOL aedb257f9e8a65bd0ad44d4bf5f85ffdbec10731c6db0654a52c8ec33545d150cdb7f067d35a4e3539581ca92d06947a0374c38955c4471de70e1562d1d93adf
diff --git a/sci-libs/rtabmap/rtabmap-0.12.2.ebuild b/sci-libs/rtabmap/rtabmap-0.12.2.ebuild
new file mode 100644
index 000000000000..a195495705ef
--- /dev/null
+++ b/sci-libs/rtabmap/rtabmap-0.12.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
+
+src_install() {
+ cmake-utils_src_install
+ # Needed since we force ros crawling to be done only in
+ # /usr/share/ros_packages/
+ insinto /usr/share/ros_packages/${PN}
+ doins "${ED}/usr/share/${PN}/package.xml"
+}