diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-07-15 16:58:36 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-15 17:35:49 +0200 |
commit | 3adc9d9b3859097f65d19cf7656ccd3f166e49bf (patch) | |
tree | 41ff3d2e349a0be45fac5b9b5bde81d1947b3278 /dev-ros/rosconsole/rosconsole-1.14.0.ebuild | |
parent | dev-ros/rosconsole_bridge: Remove old (diff) | |
download | gentoo-3adc9d9b3859097f65d19cf7656ccd3f166e49bf.tar.gz gentoo-3adc9d9b3859097f65d19cf7656ccd3f166e49bf.tar.bz2 gentoo-3adc9d9b3859097f65d19cf7656ccd3f166e49bf.zip |
dev-ros/rosconsole: bump to 0.14.0
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/rosconsole/rosconsole-1.14.0.ebuild')
-rw-r--r-- | dev-ros/rosconsole/rosconsole-1.14.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ros/rosconsole/rosconsole-1.14.0.ebuild b/dev-ros/rosconsole/rosconsole-1.14.0.ebuild new file mode 100644 index 000000000000..76c9a71eb9d4 --- /dev/null +++ b/dev-ros/rosconsole/rosconsole-1.14.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ROS_REPO_URI="https://github.com/ros/rosconsole" +KEYWORDS="~amd64 ~arm" + +inherit ros-catkin + +DESCRIPTION="ROS console output library" +LICENSE="BSD" +SLOT="0" +IUSE="+log4cxx glog" + +RDEPEND=" + dev-ros/cpp_common + dev-ros/rostime + dev-ros/rosunit + dev-libs/boost:=[threads] + log4cxx? ( dev-libs/log4cxx ) + !log4cxx? ( glog? ( dev-cpp/glog ) ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local ROSCONSOLE_BACKEND="" + if use log4cxx; then + ROSCONSOLE_BACKEND="log4cxx" + elif use glog; then + ROSCONSOLE_BACKEND="glog" + else + ROSCONSOLE_BACKEND="print" + fi + local mycatkincmakeargs=( "-DROSCONSOLE_BACKEND=${ROSCONSOLE_BACKEND}" ) + ros-catkin_src_configure +} |