summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ros/collada_urdf/collada_urdf-1.12.5.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-ros/collada_urdf/collada_urdf-1.12.5.ebuild b/dev-ros/collada_urdf/collada_urdf-1.12.5.ebuild
index bea7a16f72a..ccf46f3c10d 100644
--- a/dev-ros/collada_urdf/collada_urdf-1.12.5.ebuild
+++ b/dev-ros/collada_urdf/collada_urdf-1.12.5.ebuild
@@ -7,7 +7,7 @@ ROS_REPO_URI="https://github.com/ros/robot_model"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
-inherit ros-catkin
+inherit ros-catkin flag-o-matic
DESCRIPTION="Tool to convert Unified Robot Description Format (URDF) documents into COLLADA documents"
LICENSE="BSD"
@@ -19,11 +19,20 @@ RDEPEND="
dev-ros/angles
dev-ros/collada_parser
dev-ros/resource_retriever
- dev-ros/urdf
+ >=dev-ros/urdf-1.12.3-r1
dev-ros/geometric_shapes
dev-ros/tf
media-libs/assimp
dev-libs/tinyxml
dev-libs/collada-dom
+ >=dev-libs/urdfdom-1:=
+ dev-cpp/eigen:3
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/urdfdom1.patch" )
+
+src_configure() {
+ append-cppflags `pkg-config --cflags eigen3`
+ append-cxxflags -std=gnu++11
+ ros-catkin_src_configure
+}