| # 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/lagadic/vision_visp" |
| KEYWORDS="~amd64 ~arm" |
| VER_PREFIX="jade-" |
| ROS_SUBDIR=${PN} |
| CATKIN_HAS_MESSAGES=yes |
| PYTHON_COMPAT=( python2_7 ) |
| CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs" |
| |
| inherit ros-catkin |
| |
| DESCRIPTION="Wraps the ViSP moving edge tracker provided by the ViSP visual servoing library into a ROS package" |
| LICENSE="GPL-2" |
| SLOT="0" |
| IUSE="" |
| |
| RDEPEND=" |
| dev-libs/boost:=[threads] |
| dev-ros/dynamic_reconfigure |
| dev-ros/geometry_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] |
| dev-ros/image_proc |
| dev-ros/image_transport |
| dev-ros/nodelet |
| dev-ros/resource_retriever |
| dev-ros/roscpp |
| dev-ros/sensor_msgs |
| dev-ros/tf[${PYTHON_USEDEP}] |
| dev-ros/rospy[${PYTHON_USEDEP}] |
| dev-python/numpy[${PYTHON_USEDEP}] |
| sci-libs/ViSP[opencv,X] |
| " |
| DEPEND="${RDEPEND}" |
| if [ "${PV#9999}" = "${PV}" ] ; then |
| S="${WORKDIR}/vision_visp-jade-${PV}/${ROS_SUBDIR}" |
| fi |