summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Greenslade2016-12-20 21:36:19 -0800
committerSean Greenslade2016-12-20 21:36:19 -0800
commit39ea5111b18990f21f79fec57e70d62a56d9cf73 (patch)
tree36a2fbef0a90ef992d987ac2253f0a277b927f82
downloadaur-39ea5111b18990f21f79fec57e70d62a56d9cf73.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD62
2 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..22f7f89e462
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Wed Dec 21 05:36:19 UTC 2016
+pkgbase = ros-kinetic-rosconsole-bridge
+ pkgdesc = ROS - rosconsole_bridge is a package used in conjunction with console_bridge and rosconsole for connecting console_bridge-based logging to rosconsole-based logging.
+ pkgver = 0.4.4
+ pkgrel = 1
+ url = http://www.ros.org/wiki/rosconsole_bridge
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-kinetic-rosconsole
+ makedepends = ros-kinetic-catkin
+ makedepends = console-bridge
+ depends = ros-kinetic-rosconsole
+ depends = console-bridge
+ source = ros-kinetic-rosconsole-bridge-0.4.4-0.tar.gz::https://github.com/ros-gbp/rosconsole_bridge-release/archive/release/kinetic/rosconsole_bridge/0.4.4-0.tar.gz
+ sha256sums = b507fffc1913f2c4aafa988fc7119a1b2749618d7945b350f91be40ff6c4e49c
+
+pkgname = ros-kinetic-rosconsole-bridge
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0c810e738f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,62 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - rosconsole_bridge is a package used in conjunction with console_bridge and rosconsole for connecting console_bridge-based logging to rosconsole-based logging."
+url='http://www.ros.org/wiki/rosconsole_bridge'
+
+pkgname='ros-kinetic-rosconsole-bridge'
+pkgver='0.4.4'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-kinetic-rosconsole
+ ros-kinetic-catkin)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ console-bridge)
+
+ros_depends=(ros-kinetic-rosconsole)
+depends=(${ros_depends[@]}
+ console-bridge)
+
+# Git version (e.g. for debugging)
+# _tag=release/kinetic/rosconsole_bridge/${pkgver}-${_pkgver_patch}
+# _dir=${pkgname}
+# source=("${_dir}"::"git+https://github.com/ros-gbp/rosconsole_bridge-release.git"#tag=${_tag})
+# sha256sums=('SKIP')
+
+# Tarball version (faster download)
+_dir="rosconsole_bridge-release-release-kinetic-rosconsole_bridge-${pkgver}-${_pkgver_patch}"
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/rosconsole_bridge-release/archive/release/kinetic/rosconsole_bridge/${pkgver}-${_pkgver_patch}.tar.gz")
+sha256sums=('b507fffc1913f2c4aafa988fc7119a1b2749618d7945b350f91be40ff6c4e49c')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/kinetic/setup.bash ] && source /opt/ros/kinetic/setup.bash
+
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Fix Python2/Python3 conflicts
+ /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
+
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_BASENAME=-python2.7 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}