[arch-commits] Commit in pc-ble-driver/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Aug 1 06:37:47 UTC 2022
Date: Monday, August 1, 2022 @ 06:37:47
Author: dvzrv
Revision: 1259563
upgpkg: pc-ble-driver 4.1.4-3: Rebuild to add static libs and debug package.
Ensure to set the project version in its cmake setup as it is required by consumers.
Modified:
pc-ble-driver/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-01 06:36:23 UTC (rev 1259562)
+++ PKGBUILD 2022-08-01 06:37:47 UTC (rev 1259563)
@@ -2,7 +2,7 @@
pkgname=pc-ble-driver
pkgver=4.1.4
-pkgrel=2
+pkgrel=3
pkgdesc="C/C++ libraries for Bluetooth Low Energy nRF5 SoftDevice serialization"
arch=(x86_64)
url="https://github.com/NordicSemiconductor/pc-ble-driver"
@@ -15,6 +15,7 @@
libnrf-ble-driver-sd_api_v5.so
libnrf-ble-driver-sd_api_v6.so
)
+options=(debug staticlibs)
source=(
$pkgname-$pkgver.tar.gz::https://github.com/NordicSemiconductor/$pkgname/archive/refs/tags/v$pkgver.tar.gz
$pkgname-4.1.4-gcc_11.2.patch::https://github.com/NordicSemiconductor/pc-ble-driver/commit/37258e65bdbcd0b4369ae448faf650dd181816ec.patch
@@ -26,6 +27,8 @@
prepare() {
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-4.1.4-gcc_11.2.patch
+ # set project version properly, as it is used by all sorts of downstream projects
+ sed -e "s/0.0.0/$pkgver/g" -i $pkgname-$pkgver/CMakeLists.txt
}
build() {
More information about the arch-commits
mailing list