diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-06 10:20:56 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-06 10:21:09 +0200 |
commit | da65504350245d922ab95b61b97d2fe5315f6189 (patch) | |
tree | 09acb8280ff827e8a96e39c47d6d379df908bb3c /sci-libs/rtabmap | |
parent | dev-libs/zookeeper-c: Bump to 3.4.10 (diff) | |
download | gentoo-da65504350245d922ab95b61b97d2fe5315f6189.tar.gz gentoo-da65504350245d922ab95b61b97d2fe5315f6189.tar.bz2 gentoo-da65504350245d922ab95b61b97d2fe5315f6189.zip |
sci-libs/rtabmap: bump to 0.12.4
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-libs/rtabmap')
-rw-r--r-- | sci-libs/rtabmap/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/rtabmap/rtabmap-0.12.4.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest index 26d954c4ff74..89e3ab650a87 100644 --- a/sci-libs/rtabmap/Manifest +++ b/sci-libs/rtabmap/Manifest @@ -1 +1,2 @@ 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 diff --git a/sci-libs/rtabmap/rtabmap-0.12.4.ebuild b/sci-libs/rtabmap/rtabmap-0.12.4.ebuild new file mode 100644 index 000000000000..a195495705ef --- /dev/null +++ b/sci-libs/rtabmap/rtabmap-0.12.4.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" +} |