[arch-commits] Commit in bladerf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Aug 3 16:20:41 UTC 2019
Date: Saturday, August 3, 2019 @ 16:20:40
Author: ffy00
Revision: 497174
archrelease: copy trunk to community-x86_64
Added:
bladerf/repos/community-x86_64/PKGBUILD
(from rev 497173, bladerf/trunk/PKGBUILD)
Deleted:
bladerf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 172 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 86 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-03 16:20:22 UTC (rev 497173)
+++ PKGBUILD 2019-08-03 16:20:40 UTC (rev 497174)
@@ -1,86 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Dominik Heidler <dheidler at gmail.com>
-
-# it looks like the release model has gotten better
-# keeping it more modular for now though
-
-pkgname=bladerf
-_libver=2.2.0
-_CLIver=1.7.1
-_FPGAver=0.10.2
-_firmver=2.3.2
-_noOScommit=0bba46e # upstream has pinned a submodule to this
-pkgver=$_libver
-pkgrel=1
-pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
-url="https://github.com/Nuand/bladeRF"
-# https://github.com/Nuand/bladeRF/tags
-arch=('x86_64')
-license=('GPL2')
-depends=('libusb')
-makedepends=('cmake' 'help2man' 'doxygen')
-#backup=("etc/bladerf.cfg")
-
-source=(
- "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.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"
- "https://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
-
-md5sums=('19e62a3eeca1aaad5b6a67c70ceb9ce8'
- '2c06ff9297d8beb0482a1b0b5e4d3128'
- '4aabf1617901423569f425db93598884'
- '33641f8a126bef1c0b7e6ba8bedda93f'
- 'c823ea5aa2c25c26bbaf4ab395ac559d')
-
-# bladeRF-cli is bundled with libbladeRF
-# bladeRF-cli can use libtecla (aur)?
-
-prepare() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver"
- # FS#47168
- sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/*.rules.in
-
- # todo, report warning
- sed -i '94i add_definitions(-Wno-error=format-truncation)' host/CMakeLists.txt
-
- # FS#55326
- sed -i '44s/^else/#&/' host/misc/udev/CMakeLists.txt
-
- # 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
- ln -s "$srcdir/no-OS-$_noOSver"* thirdparty/analogdevicesinc/no-OS
-}
-
-build() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver"
- mkdir -p build
- cd build
- CFLAGS+=" -Wno-error=stringop-truncation" cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DINSTALL_UDEV_RULES=ON \
- -DBUILD_DOCUMENTATION=ON \
- -DCMAKE_INSTALL_LIBDIR:PATH=lib \
- -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
- -DCMAKE_INSTALL_PREFIX=/usr ../
- make
- # ENABLE_FX3_BUILD needs cypress toolchain
- # really really wants to put files in /usr/lib64
-}
-
-package() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
- make DESTDIR="${pkgdir}" install
- cd "$srcdir"
- install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
- install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
- install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
-
- # FS#54105
- cd "$pkgdir/etc/udev/rules.d/"
- mv 88-nuand-bladerf1.rules 70-nuand-bladerf1.rules
- mv 88-nuand-bladerf2.rules 70-nuand-bladerf2.rules
- mv 88-nuand-bootloader.rules 70-nuand-bootloader.rules
-}
Copied: bladerf/repos/community-x86_64/PKGBUILD (from rev 497173, bladerf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-03 16:20:40 UTC (rev 497174)
@@ -0,0 +1,86 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+# it looks like the release model has gotten better
+# keeping it more modular for now though
+
+pkgname=bladerf
+_libver=2.2.1
+_CLIver=1.8.0
+_FPGAver=0.11.0
+_firmver=2.3.2
+_noOScommit=0bba46e # upstream has pinned a submodule to this
+pkgver=$_libver
+pkgrel=1
+pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
+url="https://github.com/Nuand/bladeRF"
+# https://github.com/Nuand/bladeRF/tags
+arch=('x86_64')
+license=('GPL2')
+depends=('libusb')
+makedepends=('cmake' 'help2man' 'doxygen')
+#backup=("etc/bladerf.cfg")
+
+source=(
+ "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.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"
+ "https://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
+
+md5sums=('b579da8650a8ea549fbffd928e28585d'
+ '2c06ff9297d8beb0482a1b0b5e4d3128'
+ '7a9b8e7f0f81af6d393132d7eb3e6e18'
+ 'bee4542c4b020077c71ae630ef0d0fc8'
+ 'c823ea5aa2c25c26bbaf4ab395ac559d')
+
+# bladeRF-cli is bundled with libbladeRF
+# bladeRF-cli can use libtecla (aur)?
+
+prepare() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ # FS#47168
+ sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/*.rules.in
+
+ # todo, report warning
+ sed -i '94i add_definitions(-Wno-error=format-truncation)' host/CMakeLists.txt
+
+ # FS#55326
+ sed -i '44s/^else/#&/' host/misc/udev/CMakeLists.txt
+
+ # 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
+ ln -s "$srcdir/no-OS-$_noOSver"* thirdparty/analogdevicesinc/no-OS
+}
+
+build() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ mkdir -p build
+ cd build
+ CFLAGS+=" -Wno-error=stringop-truncation" cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DINSTALL_UDEV_RULES=ON \
+ -DBUILD_DOCUMENTATION=ON \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib \
+ -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
+ -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+ # ENABLE_FX3_BUILD needs cypress toolchain
+ # really really wants to put files in /usr/lib64
+}
+
+package() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
+ make DESTDIR="${pkgdir}" install
+ cd "$srcdir"
+ install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
+ install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
+ install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
+
+ # FS#54105
+ cd "$pkgdir/etc/udev/rules.d/"
+ mv 88-nuand-bladerf1.rules 70-nuand-bladerf1.rules
+ mv 88-nuand-bladerf2.rules 70-nuand-bladerf2.rules
+ mv 88-nuand-bootloader.rules 70-nuand-bootloader.rules
+}
More information about the arch-commits
mailing list