summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2014-06-07 18:51:05 +0200
committerBenjamin Chr├ętien2014-06-07 18:51:05 +0200
commitc79e962bccf3c465327c0e211226b7a12e33622b (patch)
treed242019669d5ca0fd0de41a63647085fed58495d
downloadaur-c79e962bccf3c465327c0e211226b7a12e33622b.tar.gz
indigo: add viz.
-rw-r--r--.SRCINFO76
-rw-r--r--PKGBUILD111
2 files changed, 187 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a7dbe84ff73
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,76 @@
+pkgbase = ros-indigo-rviz
+ pkgdesc = ROS - 3D visualization tool for ROS.
+ pkgver = 1.11.2
+ pkgrel = 2
+ url = http://ros.org/wiki/rviz
+ arch = any
+ license = BSD, Creative Commons
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-geometry-msgs
+ makedepends = ros-indigo-python-qt-binding
+ makedepends = ros-indigo-rospy
+ makedepends = ros-indigo-nav-msgs
+ makedepends = ros-indigo-visualization-msgs
+ makedepends = ros-indigo-interactive-markers
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-std-msgs
+ makedepends = ros-indigo-map-msgs
+ makedepends = ros-indigo-rosconsole
+ makedepends = ros-indigo-urdfdom
+ makedepends = ros-indigo-cmake-modules
+ makedepends = ros-indigo-tf
+ makedepends = ros-indigo-urdf
+ makedepends = ros-indigo-image-geometry
+ makedepends = ros-indigo-rosbag
+ makedepends = ros-indigo-laser-geometry
+ makedepends = ros-indigo-std-srvs
+ makedepends = ros-indigo-pluginlib
+ makedepends = ros-indigo-resource-retriever
+ makedepends = ros-indigo-sensor-msgs
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-image-transport
+ makedepends = ros-indigo-roslib
+ makedepends = ros-indigo-message-filters
+ makedepends = qt4
+ makedepends = ogre
+ makedepends = assimp
+ makedepends = eigen3
+ makedepends = tinyxml
+ makedepends = yaml-cpp
+ depends = ros-indigo-geometry-msgs
+ depends = ros-indigo-python-qt-binding
+ depends = ros-indigo-rospy
+ depends = ros-indigo-nav-msgs
+ depends = ros-indigo-visualization-msgs
+ depends = ros-indigo-interactive-markers
+ depends = ros-indigo-roscpp
+ depends = ros-indigo-std-msgs
+ depends = ros-indigo-map-msgs
+ depends = ros-indigo-rosconsole
+ depends = ros-indigo-urdfdom
+ depends = ros-indigo-media-export
+ depends = ros-indigo-tf
+ depends = ros-indigo-urdf
+ depends = ros-indigo-image-geometry
+ depends = ros-indigo-rosbag
+ depends = ros-indigo-laser-geometry
+ depends = ros-indigo-std-srvs
+ depends = ros-indigo-pluginlib
+ depends = ros-indigo-resource-retriever
+ depends = ros-indigo-sensor-msgs
+ depends = ros-indigo-image-transport
+ depends = ros-indigo-roslib
+ depends = ros-indigo-message-filters
+ depends = qt4
+ depends = ogre
+ depends = assimp
+ depends = eigen3
+ depends = tinyxml
+ depends = yaml-cpp
+ source = rviz::git+https://github.com/ros-gbp/rviz-release.git#tag=release/indigo/rviz/1.11.2-1
+ md5sums = SKIP
+
+pkgname = ros-indigo-rviz
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fd235fd0926
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,111 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - 3D visualization tool for ROS."
+url='http://ros.org/wiki/rviz'
+
+pkgname='ros-indigo-rviz'
+pkgver='1.11.2'
+_pkgver_patch=1
+arch=('any')
+pkgrel=2
+license=('BSD, Creative Commons')
+
+ros_makedepends=(ros-indigo-geometry-msgs
+ ros-indigo-python-qt-binding
+ ros-indigo-rospy
+ ros-indigo-nav-msgs
+ ros-indigo-visualization-msgs
+ ros-indigo-interactive-markers
+ ros-indigo-roscpp
+ ros-indigo-std-msgs
+ ros-indigo-map-msgs
+ ros-indigo-rosconsole
+ ros-indigo-urdfdom
+ ros-indigo-cmake-modules
+ ros-indigo-tf
+ ros-indigo-urdf
+ ros-indigo-image-geometry
+ ros-indigo-rosbag
+ ros-indigo-laser-geometry
+ ros-indigo-std-srvs
+ ros-indigo-pluginlib
+ ros-indigo-resource-retriever
+ ros-indigo-sensor-msgs
+ ros-indigo-catkin
+ ros-indigo-image-transport
+ ros-indigo-roslib
+ ros-indigo-message-filters)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ qt4
+ ogre
+ assimp
+ eigen3
+ tinyxml
+ yaml-cpp)
+
+ros_depends=(ros-indigo-geometry-msgs
+ ros-indigo-python-qt-binding
+ ros-indigo-rospy
+ ros-indigo-nav-msgs
+ ros-indigo-visualization-msgs
+ ros-indigo-interactive-markers
+ ros-indigo-roscpp
+ ros-indigo-std-msgs
+ ros-indigo-map-msgs
+ ros-indigo-rosconsole
+ ros-indigo-urdfdom
+ ros-indigo-media-export
+ ros-indigo-tf
+ ros-indigo-urdf
+ ros-indigo-image-geometry
+ ros-indigo-rosbag
+ ros-indigo-laser-geometry
+ ros-indigo-std-srvs
+ ros-indigo-pluginlib
+ ros-indigo-resource-retriever
+ ros-indigo-sensor-msgs
+ ros-indigo-image-transport
+ ros-indigo-roslib
+ ros-indigo-message-filters)
+depends=(${ros_depends[@]}
+ qt4
+ ogre
+ assimp
+ eigen3
+ tinyxml
+ yaml-cpp)
+
+_tag=release/indigo/rviz/${pkgver}-${_pkgver_patch}
+_dir=rviz
+source=("${_dir}"::"git+https://github.com/ros-gbp/rviz-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
+}