diff options
author | acxz | 2022-01-26 23:24:11 -0500 |
---|---|---|
committer | acxz | 2022-01-26 23:24:11 -0500 |
commit | 23cb9390f13e64e8a64f74f4ece2be2333cbde53 (patch) | |
tree | 8264018588f4dd60efc2b1b60649ea31709d48fa | |
parent | 68cd8ca21b8a06251109e324e7ffa9ae93bc28f3 (diff) | |
download | aur-23cb9390f13e64e8a64f74f4ece2be2333cbde53.tar.gz |
add c++-std patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = ardupilot-gazebo-sitl-git pkgdesc = Gazebo plugin for Ardupilot's SITL. pkgver = r34.e72ecf5 - pkgrel = 2 + pkgrel = 3 url = https://ardupilot.org/dev/docs/using-gazebo-simulator-with-sitl.html arch = x86_64 license = GPLv3 @@ -11,6 +11,8 @@ pkgbase = ardupilot-gazebo-sitl-git provides = ardupilot-gazebo-sitl source = ardupilot-gazebo-stil::git+https://github.com/khancyr/ardupilot_gazebo.git source = xacro.patch::https://github.com/khancyr/ardupilot_gazebo/pull/42.patch + source = c++-std.patch::https://github.com/khancyr/ardupilot_gazebo/pull/50.patch + sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP @@ -1,7 +1,7 @@ # Maintainer: acxz <akashpatel2008 at yahoo dot com> pkgname=ardupilot-gazebo-sitl-git pkgver=r34.e72ecf5 -pkgrel=2 +pkgrel=3 pkgdesc="Gazebo plugin for Ardupilot's SITL." arch=('x86_64') url='https://ardupilot.org/dev/docs/using-gazebo-simulator-with-sitl.html' @@ -12,8 +12,10 @@ makedepends=('cmake') provides=('ardupilot-gazebo-sitl') _pkgname=ardupilot-gazebo-stil source=("${_pkgname}::git+https://github.com/khancyr/ardupilot_gazebo.git" - "xacro.patch"::"https://github.com/khancyr/ardupilot_gazebo/pull/42.patch") + "xacro.patch"::"https://github.com/khancyr/ardupilot_gazebo/pull/42.patch" + "c++-std.patch"::"https://github.com/khancyr/ardupilot_gazebo/pull/50.patch") sha256sums=('SKIP' + 'SKIP' 'SKIP') pkgver() { @@ -24,6 +26,7 @@ pkgver() { prepare() { cd "$_pkgname" patch --forward --strip=1 --input="${srcdir}/xacro.patch" + patch --forward --strip=1 --input="${srcdir}/c++-std.patch" } build() { @@ -33,7 +36,6 @@ build() { cmake .. -Wno-dev \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DCMAKE_CXX_STANDARD=17 make } |