2020-01-05 20:52:58 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2015-09-23 09:57:50 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-07-17 09:41:26 +03:00
|
|
|
EAPI=7
|
2015-09-23 09:57:50 +03:00
|
|
|
|
|
|
|
ROS_REPO_URI="https://github.com/ros/pluginlib"
|
|
|
|
KEYWORDS="~amd64 ~arm"
|
2018-04-09 09:35:30 +03:00
|
|
|
ROS_SUBDIR="${PN}"
|
2015-09-23 09:57:50 +03:00
|
|
|
|
|
|
|
inherit ros-catkin
|
|
|
|
|
2020-07-17 09:41:26 +03:00
|
|
|
DESCRIPTION="Tools for writing and dynamically loading plugins using the ROS infrastructure"
|
2016-03-24 15:26:07 +03:00
|
|
|
LICENSE="BSD"
|
2020-08-08 21:02:18 +03:00
|
|
|
SLOT="0/${PV}"
|
2015-09-23 09:57:50 +03:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
2018-04-09 09:35:30 +03:00
|
|
|
>=dev-ros/class_loader-0.3.5:=
|
2015-09-23 09:57:50 +03:00
|
|
|
dev-ros/rosconsole
|
2020-07-29 20:29:30 +03:00
|
|
|
dev-ros/roslib[${PYTHON_SINGLE_USEDEP}]
|
2015-09-23 09:57:50 +03:00
|
|
|
dev-libs/boost:=
|
2017-08-25 09:21:51 +03:00
|
|
|
dev-libs/tinyxml2:=
|
2015-09-23 09:57:50 +03:00
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
test? ( dev-cpp/gtest )"
|
2020-08-08 21:02:18 +03:00
|
|
|
PATCHES=( "${FILESDIR}/catkin_prefix_path2.patch" "${FILESDIR}/libdir.patch" )
|
2020-07-30 08:54:59 +03:00
|
|
|
|
|
|
|
src_test() {
|
|
|
|
cmake_build tests
|
|
|
|
|
|
|
|
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
|
|
|
|
export CATKIN_PREFIX_PATH=devel/
|
|
|
|
ros-catkin_src_test
|
|
|
|
}
|