diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-02-28 10:46:02 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-02-28 12:26:49 +0100 |
commit | 46b076955cad55fa24bcf4046da78aa2ba1ecb9f (patch) | |
tree | b80c94b285cbdc99d67572638074e549aecdd4c8 /sci-libs/rtabmap | |
parent | sci-libs/rtabmap: remove old (diff) | |
download | gentoo-46b076955cad55fa24bcf4046da78aa2ba1ecb9f.tar.gz gentoo-46b076955cad55fa24bcf4046da78aa2ba1ecb9f.tar.bz2 gentoo-46b076955cad55fa24bcf4046da78aa2ba1ecb9f.zip |
sci-libs/rtabmap: Bump to 0.12.1; install package.xml in our custom path
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-libs/rtabmap')
-rw-r--r-- | sci-libs/rtabmap/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/rtabmap/rtabmap-0.12.1.ebuild | 63 | ||||
-rw-r--r-- | sci-libs/rtabmap/rtabmap-9999.ebuild | 8 |
3 files changed, 72 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest index 30ae6d3a4288..e9f6364019e3 100644 --- a/sci-libs/rtabmap/Manifest +++ b/sci-libs/rtabmap/Manifest @@ -1 +1,2 @@ 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 diff --git a/sci-libs/rtabmap/rtabmap-0.12.1.ebuild b/sci-libs/rtabmap/rtabmap-0.12.1.ebuild new file mode 100644 index 000000000000..9de4fb5d4121 --- /dev/null +++ b/sci-libs/rtabmap/rtabmap-0.12.1.ebuild @@ -0,0 +1,63 @@ +# 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 +} + +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" +} diff --git a/sci-libs/rtabmap/rtabmap-9999.ebuild b/sci-libs/rtabmap/rtabmap-9999.ebuild index a4df9bc1b2e8..9de4fb5d4121 100644 --- a/sci-libs/rtabmap/rtabmap-9999.ebuild +++ b/sci-libs/rtabmap/rtabmap-9999.ebuild @@ -53,3 +53,11 @@ src_configure() { ) 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" +} |