summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rakowski2017-05-20 11:17:47 +0200
committerTim Rakowski2017-05-22 19:26:27 +0200
commita6e70312f50cc4e13cfabdfc1fef9ada8360bd3f (patch)
treec070bdac20e7695c68b06d25e4b6f7cc74481b46
downloadaur-a6e70312f50cc4e13cfabdfc1fef9ada8360bd3f.tar.gz
Initial commit
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD76
2 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c942e37c33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,35 @@
+# Generated by mksrcinfo v8
+# Mon May 22 17:06:32 UTC 2017
+pkgbase = ros-lunar-stereo-image-proc
+ pkgdesc = ROS - Stereo and single image rectification and disparity processing.
+ pkgver = 1.12.20
+ pkgrel = 1
+ url = http://www.ros.org/wiki/stereo_image_proc
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-lunar-message-filters
+ makedepends = ros-lunar-image-geometry
+ makedepends = ros-lunar-catkin
+ makedepends = ros-lunar-stereo-msgs
+ makedepends = ros-lunar-dynamic-reconfigure
+ makedepends = ros-lunar-sensor-msgs
+ makedepends = ros-lunar-cv-bridge
+ makedepends = ros-lunar-nodelet
+ makedepends = ros-lunar-image-proc
+ makedepends = ros-lunar-image-transport
+ depends = ros-lunar-message-filters
+ depends = ros-lunar-image-geometry
+ depends = ros-lunar-stereo-msgs
+ depends = ros-lunar-dynamic-reconfigure
+ depends = ros-lunar-sensor-msgs
+ depends = ros-lunar-cv-bridge
+ depends = ros-lunar-nodelet
+ depends = ros-lunar-image-proc
+ depends = ros-lunar-image-transport
+ source = ros-lunar-stereo-image-proc-1.12.20-0.tar.gz::https://github.com/ros-gbp/image_pipeline-release/archive/release/lunar/stereo_image_proc/1.12.20-0.tar.gz
+ sha256sums = 1fdde9b5b6340cbd8db9d20a2af8740a760133043a8e1d59d6e253699589f1cb
+
+pkgname = ros-lunar-stereo-image-proc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14478e72ffc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,76 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - Stereo and single image rectification and disparity processing."
+url='http://www.ros.org/wiki/stereo_image_proc'
+
+pkgname='ros-lunar-stereo-image-proc'
+pkgver='1.12.20'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-lunar-message-filters
+ ros-lunar-image-geometry
+ ros-lunar-catkin
+ ros-lunar-stereo-msgs
+ ros-lunar-dynamic-reconfigure
+ ros-lunar-sensor-msgs
+ ros-lunar-cv-bridge
+ ros-lunar-nodelet
+ ros-lunar-image-proc
+ ros-lunar-image-transport)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-lunar-message-filters
+ ros-lunar-image-geometry
+ ros-lunar-stereo-msgs
+ ros-lunar-dynamic-reconfigure
+ ros-lunar-sensor-msgs
+ ros-lunar-cv-bridge
+ ros-lunar-nodelet
+ ros-lunar-image-proc
+ ros-lunar-image-transport)
+depends=(${ros_depends[@]})
+
+# Git version (e.g. for debugging)
+# _tag=release/lunar/stereo_image_proc/${pkgver}-${_pkgver_patch}
+# _dir=${pkgname}
+# source=("${_dir}"::"git+https://github.com/ros-gbp/image_pipeline-release.git"#tag=${_tag})
+# sha256sums=('SKIP')
+
+# Tarball version (faster download)
+_dir="image_pipeline-release-release-lunar-stereo_image_proc-${pkgver}-${_pkgver_patch}"
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/image_pipeline-release/archive/release/lunar/stereo_image_proc/${pkgver}-${_pkgver_patch}.tar.gz")
+sha256sums=('1fdde9b5b6340cbd8db9d20a2af8740a760133043a8e1d59d6e253699589f1cb')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/lunar/setup.bash ] && source /opt/ros/lunar/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/lunar \
+ -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
+}