summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 17 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da60f4e016a..9cb8d8cfe3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,17 +10,20 @@ arch=('any')
pkgrel=1
license=('Apache License 2.0')
-ros_makedepends=(ros-ardent-rosidl-typesupport-opensplice-cpp
- ros-ardent-rosidl-generator-c
- ros-ardent-opensplice-cmake-module
- ros-ardent-ament-cmake
- ros-ardent-rosidl-cmake)
+ros_makedepends=()
makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]}
- opensplice)
+ ${ros_makedepends[@]})
-ros_depends=(ros-ardent-rosidl-parser)
-depends=(${ros_depends[@]})
+ros_depends=(ros-ardent-rosidl-cmake
+ ros-ardent-rosidl-parser
+ ros-ardent-ament-cmake
+ ros-ardent-rosidl-generator-c
+ ros-ardent-rmw
+ ros-ardent-opensplice-cmake-module
+ ros-ardent-rosidl-typesupport-opensplice-cpp
+ ros-ardent-rosidl-generator-dds-idl)
+depends=(${ros_depends[@]}
+ opensplice-dds)
# Git version (e.g. for debugging)
# _tag=release/ardent/rosidl_typesupport_opensplice_c/${pkgver}-${_pkgver_patch}
@@ -45,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
}