summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2015-06-01 17:56:15 +0900
committerBenjamin Chr├ętien2015-06-01 17:56:15 +0900
commit240d213f307fc8fb4237cb7dfebd98e0c3cb220a (patch)
tree7da6c93534528382a64ba886e3a1d6ff9ccd6862
downloadaur-240d213f307fc8fb4237cb7dfebd98e0c3cb220a.tar.gz
jade: add ros_base package and its dependencies.
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD61
2 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de24e2d7305
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = ros-jade-message-filters
+ pkgdesc = ROS - A set of message filters which take in messages and may output those messages at a later time, based on the conditions that filter needs met.
+ pkgver = 1.11.13
+ pkgrel = 1
+ url = http://ros.org/wiki/message_filters
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-jade-rosunit
+ makedepends = ros-jade-rostest
+ makedepends = ros-jade-roscpp
+ makedepends = ros-jade-catkin
+ makedepends = ros-jade-xmlrpcpp
+ makedepends = ros-jade-rosconsole
+ makedepends = boost
+ depends = ros-jade-rosconsole
+ depends = ros-jade-xmlrpcpp
+ depends = ros-jade-roscpp
+ source = message_filters::git+https://github.com/ros-gbp/ros_comm-release.git#tag=release/jade/message_filters/1.11.13-0
+ md5sums = SKIP
+
+pkgname = ros-jade-message-filters
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b214fe7767b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,61 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - A set of message filters which take in messages and may output those messages at a later time, based on the conditions that filter needs met."
+url='http://ros.org/wiki/message_filters'
+
+pkgname='ros-jade-message-filters'
+pkgver='1.11.13'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-jade-rosunit
+ ros-jade-rostest
+ ros-jade-roscpp
+ ros-jade-catkin
+ ros-jade-xmlrpcpp
+ ros-jade-rosconsole)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ boost)
+
+ros_depends=(ros-jade-rosconsole
+ ros-jade-xmlrpcpp
+ ros-jade-roscpp)
+depends=(${ros_depends[@]})
+
+_tag=release/jade/message_filters/${pkgver}-${_pkgver_patch}
+_dir=message_filters
+source=("${_dir}"::"git+https://github.com/ros-gbp/ros_comm-release.git"#tag=${_tag})
+md5sums=('SKIP')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/jade/setup.bash ] && source /opt/ros/jade/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/jade \
+ -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
+}