From ced5dc9d8187906c45905dda3cd43681d6f29799 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 23 Sep 2015 14:20:34 +0200 Subject: [PATCH] dev-ros/timestamp_tools: Initial import. Ebuild by me. Package-Manager: portage-2.2.21 --- dev-ros/timestamp_tools/Manifest | 1 + dev-ros/timestamp_tools/files/tests.patch | 14 +++++++++++ dev-ros/timestamp_tools/metadata.xml | 5 ++++ .../timestamp_tools-1.6.8.ebuild | 23 +++++++++++++++++++ .../timestamp_tools-9999.ebuild | 23 +++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 dev-ros/timestamp_tools/Manifest create mode 100644 dev-ros/timestamp_tools/files/tests.patch create mode 100644 dev-ros/timestamp_tools/metadata.xml create mode 100644 dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild create mode 100644 dev-ros/timestamp_tools/timestamp_tools-9999.ebuild diff --git a/dev-ros/timestamp_tools/Manifest b/dev-ros/timestamp_tools/Manifest new file mode 100644 index 000000000000..b6adff09cb2f --- /dev/null +++ b/dev-ros/timestamp_tools/Manifest @@ -0,0 +1 @@ +DIST driver_common-1.6.8.tar.gz 15055 SHA256 74b0464902b3853ff24a2a126767c8fbec2e901b9cd86756e00efaa902e14eaa SHA512 b698143d08785088ac13e62f5b96676bd590a84e4ffb147fa3698be6a8ded510f648d043ecdc1d31ba7b95fb3041d06ee1a39b224c359b8612adebdba259d188 WHIRLPOOL 918b11d2b5d8f90990b7545b992e27b1ae00777c6cc917414b817e9b8909b38e54f808d9bd9477fbf24fddbca08c61543e95d2b5eeb676a776e2fa7682de9958 diff --git a/dev-ros/timestamp_tools/files/tests.patch b/dev-ros/timestamp_tools/files/tests.patch new file mode 100644 index 000000000000..c73d09a1b1ac --- /dev/null +++ b/dev-ros/timestamp_tools/files/tests.patch @@ -0,0 +1,14 @@ +Index: driver_common-1.6.8/timestamp_tools/CMakeLists.txt +=================================================================== +--- driver_common-1.6.8.orig/timestamp_tools/CMakeLists.txt ++++ driver_common-1.6.8/timestamp_tools/CMakeLists.txt +@@ -17,5 +17,7 @@ install(DIRECTORY include/${PROJECT_NAME + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} + FILES_MATCHING PATTERN "*.h") + ++if(CATKIN_ENABLE_TESTING) + catkin_add_gtest(test_trigger_matcher test/test_trigger_matcher.cpp) +-target_link_libraries(test_trigger_matcher ${catkin_LIBRARIES}) +\ No newline at end of file ++target_link_libraries(test_trigger_matcher ${catkin_LIBRARIES}) ++endif() diff --git a/dev-ros/timestamp_tools/metadata.xml b/dev-ros/timestamp_tools/metadata.xml new file mode 100644 index 000000000000..c42ea5b15cf6 --- /dev/null +++ b/dev-ros/timestamp_tools/metadata.xml @@ -0,0 +1,5 @@ + + + +ros + diff --git a/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild b/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild new file mode 100644 index 000000000000..ff904893e2df --- /dev/null +++ b/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +ROS_REPO_URI="https://github.com/ros-drivers/driver_common" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=${PN} + +inherit ros-catkin + +DESCRIPTION="Classes to help timestamp hardware events" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/roslib + dev-ros/roscpp +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" +PATCHES=( "${FILESDIR}/tests.patch" ) diff --git a/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild b/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild new file mode 100644 index 000000000000..ff904893e2df --- /dev/null +++ b/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +ROS_REPO_URI="https://github.com/ros-drivers/driver_common" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=${PN} + +inherit ros-catkin + +DESCRIPTION="Classes to help timestamp hardware events" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/roslib + dev-ros/roscpp +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" +PATCHES=( "${FILESDIR}/tests.patch" ) -- 2.26.2