diff options
Diffstat (limited to 'dev-ros/geometric_shapes/geometric_shapes-0.7.3-r1.ebuild')
-rw-r--r-- | dev-ros/geometric_shapes/geometric_shapes-0.7.3-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ros/geometric_shapes/geometric_shapes-0.7.3-r1.ebuild b/dev-ros/geometric_shapes/geometric_shapes-0.7.3-r1.ebuild new file mode 100644 index 000000000000..a27b5a9e338e --- /dev/null +++ b/dev-ros/geometric_shapes/geometric_shapes-0.7.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +ROS_REPO_URI="https://github.com/ros-planning/geometric_shapes" +KEYWORDS="~amd64 ~arm" + +inherit flag-o-matic ros-catkin + +DESCRIPTION="Generic definitions of geometric shapes and bodies" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-cpp/eigen:3 + dev-libs/boost:= + media-libs/qhull + media-libs/assimp:= + sci-libs/octomap + dev-ros/random_numbers + dev-ros/resource_retriever + dev-ros/eigen_stl_containers + dev-libs/console_bridge:= +" +DEPEND="${RDEPEND} + dev-ros/visualization_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/shape_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + test? ( dev-cpp/gtest dev-ros/rosunit ) +" + +src_prepare() { + ros-catkin_src_prepare + # https://bugs.gentoo.org/738556 + # http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html + append-cxxflags '-std=c++17' + sed -e 's/add_compile_options(/#\0/g' -i CMakeLists.txt || die +} |