summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:55 +0100
committerTim Rakowski2017-12-21 23:29:55 +0100
commit414665a8490055937396e827270108ff20f440ce (patch)
tree362ee2cbbf3d57a2960f5784b24a003dd7b5c160
parentac3a76b9f106a9c5e59ee0a05faf4166414e7289 (diff)
downloadaur-ros-ardent-rclcpp-lifecycle.tar.gz
Update to version 0.4.0-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD23
2 files changed, 15 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc57b172f53..3d9989ddc28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 19 18:43:04 UTC 2017
+# Thu Dec 21 22:29:47 UTC 2017
pkgbase = ros-ardent-rclcpp-lifecycle
pkgdesc = ROS - Package containing a prototype for lifecycle implementation.
pkgver = 0.4.0
@@ -11,13 +11,13 @@ pkgbase = ros-ardent-rclcpp-lifecycle
makedepends = ros-build-tools
makedepends = ros-ardent-ament-cmake
makedepends = ros-ardent-rosidl-default-generators
- depends = ros-ardent-std-msgs
+ depends = ros-ardent-rosidl-default-runtime
+ depends = ros-ardent-rmw-implementation
+ depends = ros-ardent-rcl-lifecycle
depends = ros-ardent-rclcpp
+ depends = ros-ardent-std-msgs
depends = ros-ardent-rclpy
depends = ros-ardent-lifecycle-msgs
- depends = ros-ardent-rmw-implementation
- depends = ros-ardent-rcl-lifecycle
- depends = ros-ardent-rosidl-default-runtime
source = ros-ardent-rclcpp-lifecycle-0.4.0-0.tar.gz::https://github.com/ros2-gbp/rclcpp-release/archive/release/ardent/rclcpp_lifecycle/0.4.0-0.tar.gz
sha256sums = f0886f8b77237e4f565e3bfe35d178cf4cf3ed16d819b19668c0adc4924817bd
diff --git a/PKGBUILD b/PKGBUILD
index 5f6b0bf5b12..fa39c6c222d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,13 +15,13 @@ ros_makedepends=(ros-ardent-ament-cmake
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=(ros-ardent-std-msgs
- ros-ardent-rclcpp
- ros-ardent-rclpy
- ros-ardent-lifecycle-msgs
+ros_depends=(ros-ardent-rosidl-default-runtime
ros-ardent-rmw-implementation
ros-ardent-rcl-lifecycle
- ros-ardent-rosidl-default-runtime)
+ ros-ardent-rclcpp
+ ros-ardent-std-msgs
+ ros-ardent-rclpy
+ ros-ardent-lifecycle-msgs)
depends=(${ros_depends[@]})
# Git version (e.g. for debugging)
@@ -47,17 +47,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
}