summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/laser_assembler')
-rw-r--r--dev-ros/laser_assembler/Manifest1
-rw-r--r--dev-ros/laser_assembler/files/eigen.patch15
-rw-r--r--dev-ros/laser_assembler/laser_assembler-1.7.8.ebuild32
-rw-r--r--dev-ros/laser_assembler/laser_assembler-9999.ebuild7
4 files changed, 52 insertions, 3 deletions
diff --git a/dev-ros/laser_assembler/Manifest b/dev-ros/laser_assembler/Manifest
index d1cf70a3a99f..75be36b6df75 100644
--- a/dev-ros/laser_assembler/Manifest
+++ b/dev-ros/laser_assembler/Manifest
@@ -1,2 +1,3 @@
DIST laser_assembler-1.7.6.tar.gz 22185 BLAKE2B 068c4d64e6de313a1609738880d1fa95b9d6e710e55c7c8d669d7d809955f7cd33a7b50d94abd05a18f5783d8a8b3287df21c7bc9310a6219c42a8c2db0d0561 SHA512 b3df050473a598569a9df796f3e23437604fd24b9bd1500d632c8f2a7fc0c2604063bdf28e5f5bfa5c79efa4f35abf5fb85602769d95935ef262b357e0af2dbb
DIST laser_assembler-1.7.7.tar.gz 22199 BLAKE2B 5ae26ef567149e6f3015cd3188bcc1adb72c09a33f6594658a20f954a500a76ca44f0f87e47dd9ae9a195df120752c4b35564264a1530b75808d8544f9b9162b SHA512 b7eb6f875209f4a692d1a16934196548a607730dd861806cda8a2f4c6a46722a56590148267b635e2bd5ee31e5490d6c533868bed7328a22a365cb1b8c63ddef
+DIST laser_assembler-1.7.8.tar.gz 22255 BLAKE2B dd01153a6fecf649793f180f651f84c790218a34755e367c51994699e928e6ce39486ea6a93ae47136dcd0c66499946570064af8062bef0345f66c7659b4a0ef SHA512 bd13512bc7cacef7e7bb2107390e57538cb701c9593f5cdb3501729b7c38b922470038e6e85c44803051deb04b74e9f677b5707b0441ab21824485fcf1e60942
diff --git a/dev-ros/laser_assembler/files/eigen.patch b/dev-ros/laser_assembler/files/eigen.patch
new file mode 100644
index 000000000000..95c8c58bcdb3
--- /dev/null
+++ b/dev-ros/laser_assembler/files/eigen.patch
@@ -0,0 +1,15 @@
+Index: laser_assembler-1.7.8/CMakeLists.txt
+===================================================================
+--- laser_assembler-1.7.8.orig/CMakeLists.txt
++++ laser_assembler-1.7.8/CMakeLists.txt
+@@ -12,7 +12,9 @@ find_package(catkin REQUIRED COMPONENTS
+ ${THIS_PACKAGE_ROS_DEPS}
+ message_generation)
+ find_package(Boost REQUIRED COMPONENTS system)
+-include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
++find_package(Eigen3 REQUIRED)
++add_definitions(${EIGEN3_DEFINITIONS})
++include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
+
+ ##############################################################################
+ # Build service definitions
diff --git a/dev-ros/laser_assembler/laser_assembler-1.7.8.ebuild b/dev-ros/laser_assembler/laser_assembler-1.7.8.ebuild
new file mode 100644
index 000000000000..d6f39f3796a2
--- /dev/null
+++ b/dev-ros/laser_assembler/laser_assembler-1.7.8.ebuild
@@ -0,0 +1,32 @@
+# 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-perception/laser_assembler"
+CATKIN_HAS_MESSAGES=yes
+KEYWORDS="~amd64 ~arm"
+CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/sensor_msgs dev-ros/std_msgs"
+
+inherit ros-catkin
+
+DESCRIPTION="Nodes to assemble point clouds from either LaserScan or PointCloud messages"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/roscpp
+ dev-libs/boost:=
+ dev-ros/tf
+ dev-ros/laser_geometry[${PYTHON_USEDEP}]
+ dev-ros/pluginlib
+ dev-libs/tinyxml2:=
+ dev-libs/console_bridge:=
+ dev-ros/message_filters[${PYTHON_USEDEP}]
+ dev-ros/filters
+"
+DEPEND="${RDEPEND}
+ dev-cpp/eigen:3
+ test? ( dev-ros/rostest[${PYTHON_USEDEP}] dev-cpp/gtest )
+"
+PATCHES=( "${FILESDIR}/eigen.patch" )
diff --git a/dev-ros/laser_assembler/laser_assembler-9999.ebuild b/dev-ros/laser_assembler/laser_assembler-9999.ebuild
index b81ead0f3d81..d6f39f3796a2 100644
--- a/dev-ros/laser_assembler/laser_assembler-9999.ebuild
+++ b/dev-ros/laser_assembler/laser_assembler-9999.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
ROS_REPO_URI="https://github.com/ros-perception/laser_assembler"
CATKIN_HAS_MESSAGES=yes
KEYWORDS="~amd64 ~arm"
-PYTHON_COMPAT=( python2_7 )
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/sensor_msgs dev-ros/std_msgs"
inherit ros-catkin
@@ -27,5 +26,7 @@ RDEPEND="
dev-ros/filters
"
DEPEND="${RDEPEND}
+ dev-cpp/eigen:3
test? ( dev-ros/rostest[${PYTHON_USEDEP}] dev-cpp/gtest )
"
+PATCHES=( "${FILESDIR}/eigen.patch" )