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

View file

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