summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:56 +0100
committerTim Rakowski2017-12-21 23:29:56 +0100
commit9df8c527322a0418de884c8b7cec52ca4d3c0b58 (patch)
tree9bd3f404c4ede158b21b02371397a87fdfd11f4c
parent3df05ccc5fb0f2d6bd486007a27b60f24646936a (diff)
downloadaur-9df8c527322a0418de884c8b7cec52ca4d3c0b58.tar.gz
Update to version 0.4.0-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 15 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 798e539d57d..e86961302ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 19 18:26:03 UTC 2017
+# Thu Dec 21 22:29:53 UTC 2017
pkgbase = ros-ardent-ament-cmake-gmock
pkgdesc = ROS - The ability to add Google mock-based tests in the ament buildsystem in CMake.
pkgver = 0.4.0
@@ -10,6 +10,10 @@ pkgbase = ros-ardent-ament-cmake-gmock
makedepends = cmake
makedepends = ros-build-tools
makedepends = ros-ardent-ament-cmake-core
+ depends = ros-ardent-ament-cmake-test
+ depends = ros-ardent-ament-cmake-gtest
+ depends = ros-ardent-gmock-vendor
+ depends = gmock
source = ros-ardent-ament-cmake-gmock-0.4.0-0.tar.gz::https://github.com/ros2-gbp/ament_cmake-release/archive/release/ardent/ament_cmake_gmock/0.4.0-0.tar.gz
sha256sums = 90cbe51bec8b4cd0de4a07e00b3f29b311744b5c97dbe95781e5b0c244f0254d
diff --git a/PKGBUILD b/PKGBUILD
index 3a2cd58bd6c..2a8d0171200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,11 @@ ros_makedepends=(ros-ardent-ament-cmake-core)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=()
-depends=(${ros_depends[@]})
+ros_depends=(ros-ardent-ament-cmake-test
+ ros-ardent-ament-cmake-gtest
+ ros-ardent-gmock-vendor)
+depends=(${ros_depends[@]}
+ gmock)
# Git version (e.g. for debugging)
# _tag=release/ardent/ament_cmake_gmock/${pkgver}-${_pkgver_patch}
@@ -40,17 +43,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
}