dev-ros/rosconsole: bump to 1.13.9
authorAlexis Ballier <aballier@gentoo.org>
Tue, 8 Jan 2019 08:45:08 +0000 (09:45 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 8 Jan 2019 08:54:33 +0000 (09:54 +0100)
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/rosconsole/Manifest
dev-ros/rosconsole/rosconsole-1.13.9.ebuild [new file with mode: 0644]

index 3bc5076fdd592597a9498208fe14bb46a1d42bf4..1128ccdba987615ba6b50f27d6d961230594b1a3 100644 (file)
@@ -1 +1,2 @@
 DIST rosconsole-1.13.7.tar.gz 24202 BLAKE2B bee6d4a9a682fe045a233989373e8a283c26d85bd4d746c2363798cd61f168e368afef81872437363b55a44080e6c926b4f3fd9c66fa9e2bf078454a675336ea SHA512 e0e17641011de5a3b58ddc7ac984042463f375f76174ff6bfa8a6c95d7889e33e702156f7ec0d7628f9f37a1d062f0291367ee81025dd9989320d5d24c35b387
+DIST rosconsole-1.13.9.tar.gz 24798 BLAKE2B 1f6d86775affaaf889d51ae27673b3de826cf16a535867e90373d450d82d3e0ae8d1488fd2b4321462070bdf547f23d9ae464ebd2070c5a448e5b15548179d12 SHA512 cb2c47551c210f8d4b9d41f4b33a27599b5a22dff84344d0d564a5b9b2088cb2da8cc3afce97058a456c1dc4b7b8127fcaa8344f6110a40586d60f16278fd1ff
diff --git a/dev-ros/rosconsole/rosconsole-1.13.9.ebuild b/dev-ros/rosconsole/rosconsole-1.13.9.ebuild
new file mode 100644 (file)
index 0000000..247659b
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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
+}