From 8e34bc6370f7e1e0f0fc22b01b83e2e6a269e605 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 29 Dec 2016 15:07:57 +0100 Subject: sci-libs/rtabmap: bump to 0.11.12 and update live ebuild Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- sci-libs/rtabmap/Manifest | 1 + sci-libs/rtabmap/rtabmap-0.11.12.ebuild | 55 +++++++++++++++++++++++++++++++++ sci-libs/rtabmap/rtabmap-9999.ebuild | 22 +++++-------- 3 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 sci-libs/rtabmap/rtabmap-0.11.12.ebuild (limited to 'sci-libs/rtabmap') diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest index 023174285a10..cce9fc87af53 100644 --- a/sci-libs/rtabmap/Manifest +++ b/sci-libs/rtabmap/Manifest @@ -1 +1,2 @@ DIST rtabmap-0.10.10.tar.gz 17111390 SHA256 9c0a2c31b56f9e7162ae032da6c55b8781788b00ffdb2f474d8fd6fa870d7ffc SHA512 3267d60d0ad3554ebd543304c782f09f363dd0e77280e6ccbf459c569a5037efe41f7d981f4e64263329dd777f8ec6d9a3d56bfc8b94b48c11d008cc6c695aef WHIRLPOOL e12f0b3c7f9c22b07d3ba56860ec25e4b47a13bae3ebc2793243d17a0e11e2053515efb0cd37a2f7e4eb959aeba7f3ce2fa4a39e26ecb5349f0d4dbe3dd7be25 +DIST rtabmap-0.11.12.tar.gz 17734430 SHA256 92368a8409522efbb36271180c96815a2751c1698fe666d52a814a69c43063f2 SHA512 28ae35761bd878cc480fcc91f67d8c2142808fa0157a368436db9f91931256c14be40042d732491d4c26b8cfb3b9d72366f88ec652b66890ab538b5020e66f46 WHIRLPOOL acabcf01b0ad897d790b6bc5082ad7dd7e86f7df75797faafdf7b07b6ab4ff6b0456f75e3726bd47edc9465d4e1a8ae7036214f8191d4750022204430f938ca3 diff --git a/sci-libs/rtabmap/rtabmap-0.11.12.ebuild b/sci-libs/rtabmap/rtabmap-0.11.12.ebuild new file mode 100644 index 000000000000..8bd1ed29ac6e --- /dev/null +++ b/sci-libs/rtabmap/rtabmap-0.11.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 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 +} diff --git a/sci-libs/rtabmap/rtabmap-9999.ebuild b/sci-libs/rtabmap/rtabmap-9999.ebuild index 8fdd4089e4cf..8bd1ed29ac6e 100644 --- a/sci-libs/rtabmap/rtabmap-9999.ebuild +++ b/sci-libs/rtabmap/rtabmap-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,29 +24,21 @@ DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" HOMEPAGE="http://introlab.github.io/rtabmap/" LICENSE="BSD" SLOT="0" -IUSE="ieee1394 openni2 qt4 qt5" +IUSE="examples ieee1394 openni2 qt5" RDEPEND=" - media-libs/opencv:= + media-libs/opencv:=[qt5(-)?] sci-libs/pcl[openni,vtk] - sci-libs/vtk + sci-libs/vtk[qt5(-)?] sys-libs/zlib + sci-libs/octomap:= ieee1394? ( media-libs/libdc1394 ) openni2? ( dev-libs/OpenNI2 ) - !qt5? ( - qt4? ( - dev-qt/qtgui:4 - dev-qt/qtsvg:4 - dev-qt/qtcore:4 - media-libs/opencv[-qt5(-)] - ) - ) qt5? ( dev-qt/qtwidgets:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtsvg:5 - media-libs/opencv[qt5(-)] ) " DEPEND="${RDEPEND} @@ -54,10 +46,10 @@ DEPEND="${RDEPEND} src_configure() { local mycmakeargs=( - "-DWITH_QT=$(usex qt4 ON "$(usex qt5 ON OFF)")" - "-DRTABMAP_QT_VERSION=$(usex qt5 5 4)" + "-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 } -- cgit v1.2.3-65-gdbad