summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Exner2021-01-24 16:38:44 +0100
committerFelix Exner2021-01-24 16:38:44 +0100
commitc0317cbf7acf3a2c8a4dc8b6baaee7830232c033 (patch)
tree8b238856763aa40a8a3ffbb2759e2bfde9477028
parent90fc41fe008288d93bcb0eaaab245f6b88b6a22e (diff)
downloadaur-c0317cbf7acf3a2c8a4dc8b6baaee7830232c033.tar.gz
Setup boost paths during build
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b6f694897d..d7cea2fa0c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-melodic-map-server
pkgdesc = ROS - map_server provides the map_server ROS Node, which offers map data as a ROS Service.
pkgver = 1.16.7
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.ros.org/map_server
arch = i686
arch = x86_64
@@ -11,6 +11,7 @@ pkgbase = ros-melodic-map-server
license = BSD
makedepends = cmake
makedepends = ros-build-tools
+ makedepends = boost1.69
makedepends = ros-melodic-rostest
makedepends = ros-melodic-tf
makedepends = ros-melodic-nav-msgs
@@ -25,6 +26,7 @@ pkgbase = ros-melodic-map-server
depends = ros-melodic-roscpp
depends = sdl_image
depends = yaml-cpp
+ depends = boost1.69
source = ros-melodic-map-server-1.16.7.tar.gz::https://github.com/ros-planning/navigation/archive/1.16.7.tar.gz
sha256sums = 3a4ee70949a07d4f5f84deddb2ee8a4314bc143d10fb2054b90683c7f92a2f33
diff --git a/PKGBUILD b/PKGBUILD
index b4a043714d3..7d881ded537 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ url='https://wiki.ros.org/map_server'
pkgname='ros-melodic-map-server'
pkgver='1.16.7'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=1
+pkgrel=2
license=('BSD')
ros_makedepends=(ros-melodic-rostest
@@ -13,7 +13,7 @@ ros_makedepends=(ros-melodic-rostest
ros-melodic-nav-msgs
ros-melodic-roscpp
ros-melodic-catkin)
-makedepends=('cmake' 'ros-build-tools'
+makedepends=('cmake' 'ros-build-tools' 'boost1.69'
${ros_makedepends[@]}
sdl_image
yaml-cpp
@@ -26,7 +26,8 @@ ros_depends=(ros-melodic-rostest
ros-melodic-roscpp)
depends=(${ros_depends[@]}
sdl_image
- yaml-cpp)
+ yaml-cpp
+ boost1.69)
# Tarball version (faster download)
_dir="navigation-${pkgver}/map_server"
@@ -51,7 +52,9 @@ build() {
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
-DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
+ -DSETUPTOOLS_DEB_LAYOUT=OFF \
+ -DBOOST_ROOT=/opt/boost1.69 \
+ -DBoost_NO_SYSTEM_PATHS=TRUE
make
}