summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2014-06-07 18:51:05 +0200
committerBenjamin Chr├ętien2014-06-07 18:51:05 +0200
commita61aece098f63a437b3c76c18d3bc1f1338133c4 (patch)
tree10a806d24596d890c3828e79a31b9e55394c7fea
downloadaur-a61aece098f63a437b3c76c18d3bc1f1338133c4.tar.gz
indigo: add viz.
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD72
2 files changed, 109 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ce082e0eecd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+pkgbase = ros-indigo-rqt-common-plugins
+ pkgdesc = ROS - rqt_common_plugins metapackage provides ROS backend graphical tools suite that can be used on/off of robot runtime.
+ pkgver = 0.3.6
+ pkgrel = 1
+ url = http://ros.org/wiki/rqt_common_plugins
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-catkin
+ depends = ros-indigo-rqt-top
+ depends = ros-indigo-rqt-publisher
+ depends = ros-indigo-rqt-dep
+ depends = ros-indigo-rqt-shell
+ depends = ros-indigo-rqt-launch
+ depends = ros-indigo-rqt-py-common
+ depends = ros-indigo-rqt-msg
+ depends = ros-indigo-rqt-action
+ depends = ros-indigo-rqt-bag
+ depends = ros-indigo-rqt-console
+ depends = ros-indigo-rqt-logger-level
+ depends = ros-indigo-rqt-bag-plugins
+ depends = ros-indigo-rqt-plot
+ depends = ros-indigo-rqt-service-caller
+ depends = ros-indigo-rqt-reconfigure
+ depends = ros-indigo-rqt-graph
+ depends = ros-indigo-rqt-topic
+ depends = ros-indigo-rqt-image-view
+ depends = ros-indigo-rqt-srv
+ depends = ros-indigo-rqt-web
+ depends = ros-indigo-rqt-py-console
+ source = rqt_common_plugins::git+https://github.com/ros-gbp/rqt_common_plugins-release.git#tag=release/indigo/rqt_common_plugins/0.3.6-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-rqt-common-plugins
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ad96d7bbb2c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,72 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - rqt_common_plugins metapackage provides ROS backend graphical tools suite that can be used on/off of robot runtime."
+url='http://ros.org/wiki/rqt_common_plugins'
+
+pkgname='ros-indigo-rqt-common-plugins'
+pkgver='0.3.6'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-catkin)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-indigo-rqt-top
+ ros-indigo-rqt-publisher
+ ros-indigo-rqt-dep
+ ros-indigo-rqt-shell
+ ros-indigo-rqt-launch
+ ros-indigo-rqt-py-common
+ ros-indigo-rqt-msg
+ ros-indigo-rqt-action
+ ros-indigo-rqt-bag
+ ros-indigo-rqt-console
+ ros-indigo-rqt-logger-level
+ ros-indigo-rqt-bag-plugins
+ ros-indigo-rqt-plot
+ ros-indigo-rqt-service-caller
+ ros-indigo-rqt-reconfigure
+ ros-indigo-rqt-graph
+ ros-indigo-rqt-topic
+ ros-indigo-rqt-image-view
+ ros-indigo-rqt-srv
+ ros-indigo-rqt-web
+ ros-indigo-rqt-py-console)
+depends=(${ros_depends[@]})
+
+_tag=release/indigo/rqt_common_plugins/${pkgver}-${_pkgver_patch}
+_dir=rqt_common_plugins
+source=("${_dir}"::"git+https://github.com/ros-gbp/rqt_common_plugins-release.git"#tag=${_tag})
+md5sums=('SKIP')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/indigo/setup.bash ] && source /opt/ros/indigo/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/indigo \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}