# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
ROS_REPO_URI="https://github.com/ros-drivers/urg_node"
KEYWORDS="~amd64 ~arm"
CATKIN_HAS_MESSAGES=yes

# https://bugs.gentoo.org/735106
CMAKE_MAKEFILE_GENERATOR=emake
inherit ros-catkin

DESCRIPTION="ROS wrapper for the Hokuyo urg_c library"
LICENSE="BSD"
SLOT="0"
IUSE=""

RDEPEND="
	dev-ros/urg_c
	dev-ros/tf
	dev-ros/dynamic_reconfigure[${PYTHON_SINGLE_USEDEP}]
	dev-ros/nodelet
	dev-ros/rosconsole
	dev-ros/roscpp
	dev-ros/diagnostic_updater
	dev-ros/laser_proc
	dev-libs/boost:=
"
DEPEND="${RDEPEND}
	dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
	dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}]
	test? (
		dev-ros/roslint
		dev-ros/roslaunch
	)
"