summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-25 07:58:50 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-25 16:50:10 +0200
commit1db15bb0975fe16645e1edeac4f018554c13c5e2 (patch)
tree14a8aa0f1637d076b8eb9ad7676fb96728d3841b /sci-libs
parentx11-misc/devilspie: Disable -Werror (bug #594488). (diff)
downloadgentoo-1db15bb0975fe16645e1edeac4f018554c13c5e2.tar.gz
gentoo-1db15bb0975fe16645e1edeac4f018554c13c5e2.tar.bz2
gentoo-1db15bb0975fe16645e1edeac4f018554c13c5e2.zip
sci-libs/rtabmap: bump to 0.12.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/rtabmap/Manifest1
-rw-r--r--sci-libs/rtabmap/rtabmap-0.12.5.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest
index 89e3ab650a87..110ea085de53 100644
--- a/sci-libs/rtabmap/Manifest
+++ b/sci-libs/rtabmap/Manifest
@@ -1,2 +1,3 @@
DIST rtabmap-0.12.2.tar.gz 19425558 SHA256 24c4392080f752e0609c05f15a5351cecaaaa83a28290d626bbc315ea3eff525 SHA512 95a7b442dac31e0d86d7b94985f7ffac0b90e693b4d4abe91a438809f56a6e053f34c63324bbf3ecd7cbb240ae24021a97da46ab5c8ef695071aeea6f2ac081d WHIRLPOOL aedb257f9e8a65bd0ad44d4bf5f85ffdbec10731c6db0654a52c8ec33545d150cdb7f067d35a4e3539581ca92d06947a0374c38955c4471de70e1562d1d93adf
DIST rtabmap-0.12.4.tar.gz 19405909 SHA256 ba9939636d29d8bbbd77fd60aaabda1f24843366aa138b5f8061f43ed61bab7c SHA512 5517b314f00f2e3f99b50237ba8a991e06905ed916d53289ce111961e33a2aebfffbffae0435947d041f18314d5829f36d0c14b0bda472e7b151babfbe5a20fa WHIRLPOOL c3a624dff2769cded3348a0a15bc11b33f37c29c42419d98dd9b4f68f056a2bfc22f4766c983d6356d67efccb7f35655dec34813ad146d4fb60cd26e32b6405c
+DIST rtabmap-0.12.5.tar.gz 19441945 SHA256 8d8970940e96d52345d9ad9fbbe86a8e7df39bf9c91304d5e3fb1fd5f1853bd0 SHA512 4d4b8bb2d640e2bb457976a0a159c2fcc2a325c0473253f60b84f9520035a2160ad077d70b7c6bda0f7e984bdbb7aed2dd3c09f3cde3436dd699b336eb90b5dc WHIRLPOOL a213d2559cd856be67256c042ddcb74cf3ac7151e55bf4fad0d1c1a2c4fee53b46f4e5f6168ac2294eca7c55c9d5aef337887d97e62dd05828daa6e23a83dcb9
diff --git a/sci-libs/rtabmap/rtabmap-0.12.5.ebuild b/sci-libs/rtabmap/rtabmap-0.12.5.ebuild
new file mode 100644
index 000000000000..a195495705ef
--- /dev/null
+++ b/sci-libs/rtabmap/rtabmap-0.12.5.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"
+}