diff options
-rw-r--r-- | dev-ros/roslaunch/Manifest | 1 | ||||
-rw-r--r-- | dev-ros/roslaunch/roslaunch-1.11.17.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-ros/roslaunch/Manifest b/dev-ros/roslaunch/Manifest index 645f05b71e57..7049d65c995c 100644 --- a/dev-ros/roslaunch/Manifest +++ b/dev-ros/roslaunch/Manifest @@ -1 +1,2 @@ DIST ros_comm-1.11.16.tar.gz 947310 SHA256 b8f48c57d58b623c0b9828476fd8fc785570238d1e117fddaae9aaf8600915d3 SHA512 a97678acbafbe33d063f2c69b42e11bc4815c18ba9bb701542fb272d95410d2c1c2a133aa40ad2211ea1b0c2535938a364adac8099b5231c50e37fa42fff5d3d WHIRLPOOL 16dbdb2f754f16ae73b989e443de9f9e4fdbea2f9411c63d02a53a46517fb565dd97d5ea2b155833bcd592d7e9dd23ae3e7676dd1a49ea3dd509ab47f28082f2 +DIST ros_comm-1.11.17.tar.gz 950987 SHA256 a7222b849d709e47ab9c491e491f6b90dcf12db1780382c9cd294e4410839eb2 SHA512 2dfb95feafa6976c62d2d31f2c6586636e534f39cfce20bc6dfa22731ee256ab8a0c0050a672098123d4d7d32702203bf15c7f323b897f74201bb41bd823ebf7 WHIRLPOOL 0c0d55a2119503b2e0b0b218ce99862815b7070c66127ace51929cda91267fdb33f50012936f1da784ac9c82ace86c41059b3b919effb6b767b7617ff4d33c09 diff --git a/dev-ros/roslaunch/roslaunch-1.11.17.ebuild b/dev-ros/roslaunch/roslaunch-1.11.17.ebuild new file mode 100644 index 000000000000..83dd9b8705ba --- /dev/null +++ b/dev-ros/roslaunch/roslaunch-1.11.17.ebuild @@ -0,0 +1,64 @@ +# 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/ros_comm" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=tools/${PN} +PYTHON_COMPAT=( python2_7 ) + +inherit ros-catkin user + +DESCRIPTION="Tool for easily launching multiple ROS nodes" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/roslib[${PYTHON_USEDEP}] + dev-python/rospkg[${PYTHON_USEDEP}] + dev-ros/rosclean[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-ros/rosgraph_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] + dev-ros/rosparam[${PYTHON_USEDEP}] + dev-ros/rosmaster[${PYTHON_USEDEP}] + dev-ros/rosout +" +DEPEND="${RDEPEND} + test? ( + dev-util/rosdep[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-ros/test_rosmaster + )" +PATCHES=( "${FILESDIR}/timeout.patch" ) + +src_test() { + rosdep update + ros-catkin_src_test +} + +src_install() { + ros-catkin_src_install + + dodir /etc/ros + sed -e "s/@PKG_VERSION@/${PV}/" "${FILESDIR}/roscore.xml.in" > "${ED}/etc/ros/roscore.xml" || die + + newinitd "${FILESDIR}/roscore.initd" roscore + newconfd "${FILESDIR}/roscore.confd" roscore + + newinitd "${FILESDIR}/roslaunch.initd" roslaunch + newconfd "${FILESDIR}/roslaunch.confd" roslaunch + + doenvd "${FILESDIR}/40roslaunch" + + # Needed by test_roslaunch + insinto /usr/share/${PN} + doins test/xml/noop.launch +} + +pkg_preinst() { + enewgroup ros + enewuser ros -1 -1 /home/ros ros +} |