diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 11 insertions, 12 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Dec 19 18:25:49 UTC 2017 +# Thu Dec 21 22:29:51 UTC 2017 pkgbase = ros-ardent-ament-cmake-export-dependencies pkgdesc = ROS - The ability to export dependencies to downstream packages in the ament buildsystem in CMake. pkgver = 0.4.0 @@ -9,7 +9,8 @@ pkgbase = ros-ardent-ament-cmake-export-dependencies license = Apache License 2.0 makedepends = cmake makedepends = ros-build-tools - makedepends = ros-ardent-ament-cmake-core + depends = ros-ardent-ament-cmake-libraries + depends = ros-ardent-ament-cmake-core source = ros-ardent-ament-cmake-export-dependencies-0.4.0-0.tar.gz::https://github.com/ros2-gbp/ament_cmake-release/archive/release/ardent/ament_cmake_export_dependencies/0.4.0-0.tar.gz sha256sums = 0b32e17aac518073aba2eca24e0d98ba9f176a321eb7f882d5c4c884b664b36a @@ -10,11 +10,12 @@ arch=('any') pkgrel=1 license=('Apache License 2.0') -ros_makedepends=(ros-ardent-ament-cmake-core) +ros_makedepends=() makedepends=('cmake' 'ros-build-tools' ${ros_makedepends[@]}) -ros_depends=() +ros_depends=(ros-ardent-ament-cmake-libraries + ros-ardent-ament-cmake-core) depends=(${ros_depends[@]}) # Git version (e.g. for debugging) @@ -40,17 +41,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 } |