community/libuhd to 4.1.0.5-1.1

This commit is contained in:
Kevin Mihelich 2022-02-07 06:33:44 +00:00
parent d761a2ffe4
commit 154be9afe6
1 changed files with 3 additions and 7 deletions

View File

@ -1,13 +1,11 @@
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Dominik Heidler <dheidler@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - set -DNEON_SIMD_ENABLE=OFF
# - explicitly link v5/v6 with libatomic
# remove when bumped upstream
pkgname=libuhd
pkgver=4.1.0.5
pkgrel=1
pkgrel=1.1
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
arch=('x86_64')
url="https://files.ettus.com/manual/"
@ -30,7 +28,6 @@ prepare() {
build() {
cd "$srcdir/uhd-$pkgver/host/build"
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(uhd atomic)" >> "$srcdir/uhd-$pkgver/host/lib/CMakeLists.txt"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DENABLE_PYTHON_API=ON \
@ -38,8 +35,7 @@ build() {
-DENABLE_UTILS=ON \
-DENABLE_TESTS=OFF \
-DENABLE_E100=ON \
-DENABLE_E300=ON \
-DNEON_SIMD_ENABLE=OFF
-DENABLE_E300=ON
make
}