summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:55 +0100
committerTim Rakowski2017-12-21 23:29:55 +0100
commit27985ea8e5ee13250ffc513ca5ea3db688ef9bbe (patch)
tree99de6050be0ae800fd94bbf933a9e8d59dfb7eea
parente2320ccf41ca3db705bc967405c919c400dbbbcf (diff)
downloadaur-27985ea8e5ee13250ffc513ca5ea3db688ef9bbe.tar.gz
Update to version 2.0.0-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD28
2 files changed, 17 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e0c44c1050..c0cc47adaa0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 19 18:42:40 UTC 2017
+# Thu Dec 21 22:29:52 UTC 2017
pkgbase = ros-ardent-pcl-conversions
pkgdesc = ROS - Provides conversions from PCL data types and ROS message types.
pkgver = 2.0.0
@@ -10,11 +10,11 @@ pkgbase = ros-ardent-pcl-conversions
makedepends = cmake
makedepends = ros-build-tools
makedepends = ros-ardent-ament-cmake
- makedepends = ros-ardent-std-msgs
- makedepends = ros-ardent-builtin-interfaces
- makedepends = ros-ardent-sensor-msgs
- makedepends = eigen3
+ depends = ros-ardent-sensor-msgs
+ depends = ros-ardent-std-msgs
+ depends = ros-ardent-builtin-interfaces
depends = pcl
+ depends = eigen3
source = ros-ardent-pcl-conversions-2.0.0-0.tar.gz::https://github.com/ros2-gbp/pcl_conversions-release/archive/release/ardent/pcl_conversions/2.0.0-0.tar.gz
sha256sums = ab295c4d7b391003665561b056f15aab2d399edf5bcf2c0ca39a97420f77d33c
diff --git a/PKGBUILD b/PKGBUILD
index 09da3c31662..7137269abec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,17 +10,16 @@ arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-ardent-ament-cmake
- ros-ardent-std-msgs
- ros-ardent-builtin-interfaces
- ros-ardent-sensor-msgs)
+ros_makedepends=(ros-ardent-ament-cmake)
makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]}
- eigen3)
+ ${ros_makedepends[@]})
-ros_depends=()
+ros_depends=(ros-ardent-sensor-msgs
+ ros-ardent-std-msgs
+ ros-ardent-builtin-interfaces)
depends=(${ros_depends[@]}
- pcl)
+ pcl
+ eigen3)
# Git version (e.g. for debugging)
# _tag=release/ardent/pcl_conversions/${pkgver}-${_pkgver_patch}
@@ -45,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
}