summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD17
2 files changed, 9 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 326bf4920fb..ab3bcc6597b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 19 18:39:39 UTC 2017
+# Thu Dec 21 22:29:52 UTC 2017
pkgbase = ros-ardent-sensor-msgs
pkgdesc = ROS - A package containing some sensor data related message and service definitions.
pkgver = 0.4.0
@@ -12,9 +12,9 @@ pkgbase = ros-ardent-sensor-msgs
makedepends = ros-ardent-ament-cmake
makedepends = ros-ardent-rosidl-default-generators
depends = ros-ardent-std-msgs
- depends = ros-ardent-builtin-interfaces
depends = ros-ardent-rosidl-default-runtime
depends = ros-ardent-geometry-msgs
+ depends = ros-ardent-builtin-interfaces
source = ros-ardent-sensor-msgs-0.4.0-0.tar.gz::https://github.com/ros2-gbp/common_interfaces-release/archive/release/ardent/sensor_msgs/0.4.0-0.tar.gz
sha256sums = 1db497b0e875e2f03e38ee0335c878b9d701921d5d159db5097c93617e6ce545
diff --git a/PKGBUILD b/PKGBUILD
index 05124406ae6..7463c889c57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,9 @@ makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
ros_depends=(ros-ardent-std-msgs
- ros-ardent-builtin-interfaces
ros-ardent-rosidl-default-runtime
- ros-ardent-geometry-msgs)
+ ros-ardent-geometry-msgs
+ ros-ardent-builtin-interfaces)
depends=(${ros_depends[@]})
# Git version (e.g. for debugging)
@@ -44,17 +44,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
}