summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Reignier2015-08-28 00:46:09 +0200
committerRomain Reignier2015-08-28 00:46:09 +0200
commit749211cce18c5ee7ccfa79e97b8907b32ca07de5 (patch)
tree523babbbf9b6c81771f8612e9995b9f39475af99
downloadaur-ros-indigo-stdr-gui.tar.gz
Initial commit
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD74
2 files changed, 112 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c158a3eb50
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = ros-indigo-stdr-gui
+ pkgdesc = ROS - A gui in Qt for visualizing purposes in STDR Simulator.
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = http://stdr-simulator-ros-pkg.github.io
+ arch = any
+ license = GPLv3
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-stdr-parser
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-stdr-server
+ makedepends = ros-indigo-stdr-msgs
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-map-server
+ makedepends = ros-indigo-stdr-robot
+ makedepends = ros-indigo-sensor-msgs
+ makedepends = ros-indigo-roslib
+ makedepends = ros-indigo-tf
+ makedepends = ros-indigo-nav-msgs
+ makedepends = qt4
+ depends = ros-indigo-stdr-parser
+ depends = ros-indigo-roscpp
+ depends = ros-indigo-stdr-server
+ depends = ros-indigo-stdr-msgs
+ depends = ros-indigo-map-server
+ depends = ros-indigo-stdr-robot
+ depends = ros-indigo-sensor-msgs
+ depends = ros-indigo-roslib
+ depends = ros-indigo-tf
+ depends = ros-indigo-nav-msgs
+ depends = qt4
+ source = stdr_gui::git+https://github.com/stdr-simulator-ros-pkg/stdr_simulator-release.git#tag=release/indigo/stdr_gui/0.2.0-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-stdr-gui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..edf47c5269a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,74 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - A gui in Qt for visualizing purposes in STDR Simulator."
+url='http://stdr-simulator-ros-pkg.github.io'
+
+pkgname='ros-indigo-stdr-gui'
+pkgver='0.2.0'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('GPLv3')
+
+ros_makedepends=(ros-indigo-stdr-parser
+ ros-indigo-roscpp
+ ros-indigo-stdr-server
+ ros-indigo-stdr-msgs
+ ros-indigo-catkin
+ ros-indigo-map-server
+ ros-indigo-stdr-robot
+ ros-indigo-sensor-msgs
+ ros-indigo-roslib
+ ros-indigo-tf
+ ros-indigo-nav-msgs)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ qt4)
+
+ros_depends=(ros-indigo-stdr-parser
+ ros-indigo-roscpp
+ ros-indigo-stdr-server
+ ros-indigo-stdr-msgs
+ ros-indigo-map-server
+ ros-indigo-stdr-robot
+ ros-indigo-sensor-msgs
+ ros-indigo-roslib
+ ros-indigo-tf
+ ros-indigo-nav-msgs)
+depends=(${ros_depends[@]}
+ qt4)
+
+_tag=release/indigo/stdr_gui/${pkgver}-${_pkgver_patch}
+_dir=stdr_gui
+source=("${_dir}"::"git+https://github.com/stdr-simulator-ros-pkg/stdr_simulator-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 \
+ -DPYTHON_BASENAME=-python2.7 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}