Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rtabmap/
Date: Wed, 28 Aug 2019 17:02:15
Message-Id: 1567011701.afef6b672f5319d0551170fe67d22e9bff566b04.aballier@gentoo
1 commit: afef6b672f5319d0551170fe67d22e9bff566b04
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 28 14:38:56 2019 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 28 17:01:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afef6b67
7
8 sci-libs/rtabmap: bump to 0.19.3
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 sci-libs/rtabmap/Manifest | 1 +
14 sci-libs/rtabmap/rtabmap-0.19.3.ebuild | 64 ++++++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest
18 index f268542078e..e9839fb5e60 100644
19 --- a/sci-libs/rtabmap/Manifest
20 +++ b/sci-libs/rtabmap/Manifest
21 @@ -1 +1,2 @@
22 DIST rtabmap-0.18.1.tar.gz 19725948 BLAKE2B c43cf9c696a151b9f9117d13438122bf47fc66914249377b7c9519a2838c8512147d68f999744c1f1c5a298e1b7adb7b77db8df1c6100d1d9a7a0acbf8b24967 SHA512 37fc2e6445531875cb9b27684cd5ff7a651ca2a8a3c653a52813352579bd2f4a4ee4be7c690cf0b29ae7907d26fd8a1f4e9188071409611b845333e734714aca
23 +DIST rtabmap-0.19.3.tar.gz 19818629 BLAKE2B f732a02db6ef8434b1457234211a128e3050236590e0f6a1e08e36bbb5899b9d3de9409d7d7329f346d29874d440bd86835c1501fb638e3802e2663907e7b04d SHA512 bda72596911b1c35d757322c7e5acd7e43ec1f4e984bfb0599cfb39597bee79e470d1bc11b492f244f39c35812ae570d023848cdcbd011eeb78e347727045509
24
25 diff --git a/sci-libs/rtabmap/rtabmap-0.19.3.ebuild b/sci-libs/rtabmap/rtabmap-0.19.3.ebuild
26 new file mode 100644
27 index 00000000000..da61f393cbd
28 --- /dev/null
29 +++ b/sci-libs/rtabmap/rtabmap-0.19.3.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +SCM=""
37 +if [ "${PV#9999}" != "${PV}" ] ; then
38 + SCM="git-r3"
39 + EGIT_REPO_URI="https://github.com/introlab/rtabmap"
40 +fi
41 +
42 +inherit ${SCM} cmake-utils multilib
43 +
44 +if [ "${PV#9999}" != "${PV}" ] ; then
45 + KEYWORDS=""
46 + SRC_URI=""
47 +else
48 + KEYWORDS="~amd64"
49 + SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 + S="${WORKDIR}/${P}"
51 +fi
52 +
53 +DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
54 +HOMEPAGE="http://introlab.github.io/rtabmap/"
55 +LICENSE="BSD"
56 +SLOT="0"
57 +IUSE="examples ieee1394 openni2 qt5"
58 +
59 +RDEPEND="
60 + media-libs/opencv:=[qt5(-)?]
61 + sci-libs/pcl:=[openni,vtk,qt5(-)?]
62 + sci-libs/vtk:=[qt5(-)?]
63 + sys-libs/zlib
64 + sci-libs/octomap:=
65 + dev-libs/boost:=
66 + ieee1394? ( media-libs/libdc1394 )
67 + openni2? ( dev-libs/OpenNI2 )
68 + qt5? (
69 + dev-qt/qtwidgets:5
70 + dev-qt/qtcore:5
71 + dev-qt/qtgui:5
72 + dev-qt/qtsvg:5
73 + )
74 +"
75 +DEPEND="${RDEPEND}
76 + virtual/pkgconfig"
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + "-DWITH_QT=$(usex qt5 ON OFF)"
81 + "-DWITH_DC1394=$(usex ieee1394 ON OFF)"
82 + "-DWITH_OPENNI2=$(usex openni2 ON OFF)"
83 + "-DBUILD_EXAMPLES=$(usex examples ON OFF)"
84 + )
85 + cmake-utils_src_configure
86 +}
87 +
88 +src_install() {
89 + cmake-utils_src_install
90 + # Needed since we force ros crawling to be done only in
91 + # /usr/share/ros_packages/
92 + insinto /usr/share/ros_packages/${PN}
93 + doins "${ED}/usr/share/${PN}/package.xml"
94 +}