summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:55 +0100
committerTim Rakowski2017-12-21 23:29:55 +0100
commit0638d47ad4773378cd75ee2a29047fd45a706a85 (patch)
tree39f45f737a004c2b770b571c6ff8bce9dcfa17c3 /PKGBUILD
parentf67ad161d2b5ccb400a2cce489cc93487f600840 (diff)
downloadaur-ros-ardent-rosidl-typesupport-cpp.tar.gz
Update to version 0.4.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c3fd4a4eeac..0d8a2fded43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,13 +10,18 @@ arch=('any')
pkgrel=1
license=('Apache License 2.0')
-ros_makedepends=(ros-ardent-rosidl-generator-c
- ros-ardent-ament-cmake)
+ros_makedepends=(ros-ardent-ament-cmake)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=(ros-ardent-poco-vendor
- ros-ardent-rosidl-typesupport-interface)
+ros_depends=(ros-ardent-rosidl-typesupport-introspection-cpp
+ ros-ardent-rmw-implementation
+ ros-ardent-rosidl-typesupport-interface
+ ros-ardent-rosidl-generator-c
+ ros-ardent-rosidl-typesupport-opensplice-cpp
+ ros-ardent-poco-vendor
+ ros-ardent-rosidl-typesupport-c
+ ros-ardent-ament-cmake-core)
depends=(${ros_depends[@]}
poco)
@@ -43,17 +48,14 @@ build() {
# Fix Python2/Python3 conflicts
/usr/share/ros-build-tools/fix-python-scripts.sh -v 3 "${srcdir}/${_dir}"
+ export PYTHONPATH=/opt/ros/ardent/lib/python3.6/site-packages
+ export AMENT_PREFIX_PATH=/opt/ros/ardent
+
# Build project
cmake "${srcdir}/${_dir}" \
-DCMAKE_BUILD_TYPE=Release \
- -DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/ardent \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.5m.so \
- -DPYTHON_BASENAME=.cpython-35m \
- -DSETUPTOOLS_DEB_LAYOUT=OFF \
- -DCATKIN_ENABLE_TESTING=OFF
+ -DBUILD_TESTING=Off \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/ardent
make
}