summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-10-12 20:30:50 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-10-12 21:08:34 +0200
commit60db4c6c83f32b7b17bab21e7a129a766cf4a053 (patch)
tree09d3d472e3c765fd33c403d9256673747a446a0b /dev-ros/amcl/amcl-1.17.1.ebuild
parentsci-libs/shapely: fixed revdep to renamed package (diff)
downloadgentoo-60db4c6c83f32b7b17bab21e7a129a766cf4a053.tar.gz
gentoo-60db4c6c83f32b7b17bab21e7a129a766cf4a053.tar.bz2
gentoo-60db4c6c83f32b7b17bab21e7a129a766cf4a053.zip
dev-ros/amcl: Bump to 1.17.1.
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/amcl/amcl-1.17.1.ebuild')
-rw-r--r--dev-ros/amcl/amcl-1.17.1.ebuild69
1 files changed, 69 insertions, 0 deletions
diff --git a/dev-ros/amcl/amcl-1.17.1.ebuild b/dev-ros/amcl/amcl-1.17.1.ebuild
new file mode 100644
index 000000000000..a871a83d6448
--- /dev/null
+++ b/dev-ros/amcl/amcl-1.17.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+ROS_REPO_URI="https://github.com/ros-planning/navigation"
+ROS_SUBDIR=${PN}
+KEYWORDS="~amd64 ~arm"
+
+inherit ros-catkin
+
+DESCRIPTION="Probabilistic localization system for a robot moving in 2D"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+TEST_DATA="
+basic_localization_stage_indexed.bag
+global_localization_stage_indexed.bag
+small_loop_prf_indexed.bag
+small_loop_crazy_driving_prg_indexed.bag
+texas_greenroom_loop_indexed.bag
+texas_willow_hallway_loop_indexed.bag
+rosie_localization_stage.bag
+willow-full.pgm
+willow-full-0.05.pgm
+"
+
+for i in ${TEST_DATA}; do
+ SRC_URI="${SRC_URI}
+ http://download.ros.org/data/amcl/${i} -> ${P}-${i}"
+done
+
+RDEPEND="
+ dev-ros/diagnostic_updater[${PYTHON_SINGLE_USEDEP}]
+ dev-ros/dynamic_reconfigure[${PYTHON_SINGLE_USEDEP}]
+ dev-ros/message_filters
+ dev-ros/rosbag
+ dev-libs/boost:=
+ dev-ros/roscpp
+ dev-ros/tf2
+ dev-ros/tf2_ros
+"
+DEPEND="${RDEPEND}
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-ros/nav_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-ros/tf2_geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-ros/tf2_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ test? (
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
+ $(python_gen_cond_dep "dev-python/python_orocos_kdl[\${PYTHON_USEDEP}]")
+ dev-ros/map_server[${PYTHON_SINGLE_USEDEP}]
+ )
+"
+PATCHES=( "${FILESDIR}/cmake.patch" )
+
+src_prepare() {
+ ros-catkin_src_prepare
+ for i in ${TEST_DATA}; do
+ cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die
+ done
+ sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die
+}
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}