summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2015-06-20 21:48:33 +0900
committerBenjamin Chr├ętien2015-06-20 21:48:33 +0900
commit929bba3c91449919a4f9c00671244f01059d73fa (patch)
treebeff1ef9d2d25243f179db8f25b0edc2cde1d334
downloadaur-929bba3c91449919a4f9c00671244f01059d73fa.tar.gz
jade: add desktop_full and its dependencies
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD59
2 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bbe98653920
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = ros-jade-camera-calibration-parsers
+ pkgdesc = ROS - camera_calibration_parsers contains routines for reading and writing camera calibration parameters.
+ pkgver = 1.11.5
+ pkgrel = 1
+ url = http://ros.org/wiki/camera_calibration_parsers
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-jade-rosconsole
+ makedepends = ros-jade-sensor-msgs
+ makedepends = ros-jade-catkin
+ makedepends = boost
+ makedepends = yaml-cpp
+ makedepends = pkg-config
+ depends = ros-jade-sensor-msgs
+ depends = yaml-cpp
+ source = camera_calibration_parsers::git+https://github.com/ros-gbp/image_common-release.git#tag=release/jade/camera_calibration_parsers/1.11.5-0
+ md5sums = SKIP
+
+pkgname = ros-jade-camera-calibration-parsers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a745a4996da
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,59 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - camera_calibration_parsers contains routines for reading and writing camera calibration parameters."
+url='http://ros.org/wiki/camera_calibration_parsers'
+
+pkgname='ros-jade-camera-calibration-parsers'
+pkgver='1.11.5'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-jade-rosconsole
+ ros-jade-sensor-msgs
+ ros-jade-catkin)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ boost
+ yaml-cpp
+ pkg-config)
+
+ros_depends=(ros-jade-sensor-msgs)
+depends=(${ros_depends[@]}
+ yaml-cpp)
+
+_tag=release/jade/camera_calibration_parsers/${pkgver}-${_pkgver_patch}
+_dir=camera_calibration_parsers
+source=("${_dir}"::"git+https://github.com/ros-gbp/image_common-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
+}