sci-libs/rtabmap: bump to 0.12.4
authorAlexis Ballier <aballier@gentoo.org>
Thu, 6 Apr 2017 08:20:56 +0000 (10:20 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 6 Apr 2017 08:21:09 +0000 (10:21 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

sci-libs/rtabmap/Manifest
sci-libs/rtabmap/rtabmap-0.12.4.ebuild [new file with mode: 0644]

index 26d954c4ff7454d532ed3afd8f71a969a79fea10..89e3ab650a87e6698cbdf6bf37f031bb376bbe05 100644 (file)
@@ -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 (file)
index 0000000..a195495
--- /dev/null
@@ -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"
+}