[arch-commits] Commit in bladerf/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Aug 4 12:29:56 UTC 2019
Date: Sunday, August 4, 2019 @ 12:29:55
Author: ffy00
Revision: 497353
fix CLI version (2.2.1-2)
Modified:
bladerf/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-04 11:34:18 UTC (rev 497352)
+++ PKGBUILD 2019-08-04 12:29:55 UTC (rev 497353)
@@ -11,7 +11,7 @@
_firmver=2.3.2
_noOScommit=0bba46e # upstream has pinned a submodule to this
pkgver=$_libver
-pkgrel=1
+pkgrel=2
pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
url="https://github.com/Nuand/bladeRF"
# https://github.com/Nuand/bladeRF/tags
@@ -23,6 +23,7 @@
source=(
"https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.tar.gz"
+ "https://github.com/Nuand/bladeRF/archive/bladeRF-cli_v$_CLIver.tar.gz"
"noOS-$_noOScommit.tgz::https://github.com/analogdevicesinc/no-OS/archive/$_noOScommit.tar.gz"
"https://nuand.com/fpga/v$_FPGAver/hostedx40.rbf"
"https://nuand.com/fpga/v$_FPGAver/hostedx115.rbf"
@@ -29,6 +30,7 @@
"https://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
md5sums=('b579da8650a8ea549fbffd928e28585d'
+ '0a7207f233a09c6322e03eb6ce3af2f6'
'2c06ff9297d8beb0482a1b0b5e4d3128'
'7a9b8e7f0f81af6d393132d7eb3e6e18'
'bee4542c4b020077c71ae630ef0d0fc8'
@@ -48,6 +50,10 @@
# FS#55326
sed -i '44s/^else/#&/' host/misc/udev/CMakeLists.txt
+ # replace cli
+ rm -rf host/utilities/bladeRF-cli
+ ln -s "$srcdir/bladeRF-bladeRF-cli_v$_CLIver"/host/utilities/bladeRF-cli host/utilities/bladeRF-cli
+
# manually replace the submodules
# because "git submodule init/update" doesn't work with a release tarball
rmdir --ignore-fail-on-non-empty thirdparty/analogdevicesinc/no-OS
More information about the arch-commits
mailing list