sci-libs/rtabmap: bump to 0.17.1
authorAlexis Ballier <aballier@gentoo.org>
Mon, 28 May 2018 08:13:55 +0000 (10:13 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 28 May 2018 08:13:55 +0000 (10:13 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

index 31fd120425c5afe49d5c7ee69c5985a84c49e925..ba13fcf93e2466f0ba07529b875a9d10e8b7122c 100644 (file)
@@ -1 +1,2 @@
 DIST rtabmap-0.14.0.tar.gz 19515196 BLAKE2B 851017bd3114c4dfaf323ef7ba6c3e970480de4c227b06d625cec0363a144a220be587934b0d457eca587d39c0c0b609acebd71ce7a98f1193ab5723f6a47f9a SHA512 00e2996b11aef8e0f61dc59ac59626b5b695ac3b5281d7776d73b54edbd90473bfffa1daae148e090b601a4d56d7feff2190f362ea188640b93db06e3760042f
+DIST rtabmap-0.17.1.tar.gz 19632117 BLAKE2B 6e2bd929da4148856317f0b03197e541223d59810397fc5d282b04ace5af796028cd8cde850d89fb2f3f289ed11d155a5163132edd7e65e2bc8a1bad1d09c54a SHA512 6714d245b87012cb0432b677c87b17e3bc182df2025203f0bd63b1f4ab06d03d795de4792d3cc4fe6d1ca4db40852c15350fed3c3a6e27176ea5e764a9816cd2
diff --git a/sci-libs/rtabmap/rtabmap-0.17.1.ebuild b/sci-libs/rtabmap/rtabmap-0.17.1.ebuild
new file mode 100644 (file)
index 0000000..9bbe6d0
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 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}-melodic.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${P}-melodic"
+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,qt5(-)?]
+       sci-libs/vtk:=[qt5(-)?]
+       sys-libs/zlib
+       sci-libs/octomap:=
+       dev-libs/boost:=
+       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"
+}
index ec181ba72d33cc556575e606d0c15b080264bd79..9bbe6d06b16398d9edf37c45fcd9bfec2da7fc67 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,7 +16,8 @@ if [ "${PV#9999}" != "${PV}" ] ; then
        SRC_URI=""
 else
        KEYWORDS="~amd64"
-       SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}-melodic.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${P}-melodic"
 fi
 
 DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
@@ -27,7 +28,7 @@ IUSE="examples ieee1394 openni2 qt5"
 
 RDEPEND="
        media-libs/opencv:=[qt5(-)?]
-       sci-libs/pcl:=[openni,vtk]
+       sci-libs/pcl:=[openni,vtk,qt5(-)?]
        sci-libs/vtk:=[qt5(-)?]
        sys-libs/zlib
        sci-libs/octomap:=