diff options
author | Benjamin Chrétien | 2014-08-07 18:21:21 +0200 |
---|---|---|
committer | Benjamin Chrétien | 2014-08-07 18:29:28 +0200 |
commit | 7a3748536b13218752f9bba285ffa2b36cbf795d (patch) | |
tree | 68462720027d8742b3d9f3a1e5dcfdf0635c1835 | |
parent | 896df44c6d72cb34e2f2d109c195e1dcc831f8f5 (diff) | |
download | aur-7a3748536b13218752f9bba285ffa2b36cbf795d.tar.gz |
hydro/indigo: fix rviz bug with PySide.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = ros-indigo-rviz pkgdesc = ROS - 3D visualization tool for ROS. pkgver = 1.11.3 - pkgrel = 1 + pkgrel = 2 url = http://ros.org/wiki/rviz arch = any license = BSD, Creative Commons @@ -7,7 +7,7 @@ pkgname='ros-indigo-rviz' pkgver='1.11.3' _pkgver_patch=0 arch=('any') -pkgrel=1 +pkgrel=2 license=('BSD, Creative Commons') ros_makedepends=(ros-indigo-geometry-msgs @@ -79,6 +79,11 @@ _dir=rviz source=("${_dir}"::"git+https://github.com/ros-gbp/rviz-release.git"#tag=${_tag}) md5sums=('SKIP') +# Fix PySide bug +_cmake_options=( + -DPYTHON_BASENAME=-python2.7 +) + build() { # Use ROS environment variables source /usr/share/ros-build-tools/clear-ros-env.sh @@ -99,7 +104,8 @@ build() { -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ - -DSETUPTOOLS_DEB_LAYOUT=OFF + -DSETUPTOOLS_DEB_LAYOUT=OFF \ + ${_cmake_options[@]} make } |