# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license

EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )

inherit ros-cmake

DESCRIPTION="Source for the WGE100 Ethernet camera: Verilog source for the\
	FPGA, Fo[...]"
HOMEPAGE="http://ros.org/wiki/wge100_camera_firmware"
SRC_URI="https://github.com/ros-drivers-gbp/wge100_driver-release/archive/release/melodic/${PN}/1.8.2-1.tar.gz -> ${PN}-melodic-release-${PV}.tar.gz"

LICENSE="BSD"

KEYWORDS="~x86 ~amd64 ~arm ~arm64"
IUSE="test"
RDEPEND="
	ros-melodic/rospy
	test? ( ros-melodic/rostest )
	dev-lang/gforth
"
DEPEND="${RDEPEND}
	ros-melodic/catkin
"

SLOT="0"
ROS_DISTRO="melodic"
ROS_PREFIX="opt/ros/${ROS_DISTRO}"