community/gnuradio to 3.9.4.0-2.1

This commit is contained in:
Kevin Mihelich 2022-02-07 06:12:12 +00:00
parent 0ff5856d00
commit 104348868c

View file

@ -3,13 +3,12 @@
# Contributor: Dominik Heidler <dheidler@gmail.com> # Contributor: Dominik Heidler <dheidler@gmail.com>
# Contributor: Jonatan Sastre <jsastreh [ at ] hotmail.com> # Contributor: Jonatan Sastre <jsastreh [ at ] hotmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # remove when bumped upstream
# - set -Dhave_mfpu_neon=0 for v5/v6
pkgbase=gnuradio pkgbase=gnuradio
pkgname=(gnuradio gnuradio-companion) pkgname=(gnuradio gnuradio-companion)
pkgver=3.9.4.0 pkgver=3.9.4.0
pkgrel=2 pkgrel=2.1
pkgdesc="General purpose DSP and SDR toolkit. With drivers for usrp and fcd." pkgdesc="General purpose DSP and SDR toolkit. With drivers for usrp and fcd."
arch=('x86_64') arch=('x86_64')
url="https://gnuradio.org" url="https://gnuradio.org"
@ -64,7 +63,6 @@ prepare() {
build() { build() {
export PYTHON=python3 export PYTHON=python3
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && NEON="-Dhave_mfpu_neon=0"
cd "$pkgbase-$pkgver" cd "$pkgbase-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr \ cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=$(which python3) \ -DPYTHON_EXECUTABLE=$(which python3) \
@ -75,7 +73,7 @@ build() {
-DENABLE_GRC=ON \ -DENABLE_GRC=ON \
-DENABLE_GR_QTGUI=ON \ -DENABLE_GR_QTGUI=ON \
-DQWT_LIBRARIES=/usr/lib/libqwt.so \ -DQWT_LIBRARIES=/usr/lib/libqwt.so \
-Wno-dev $NEON \ -Wno-dev \
-B build \ -B build \
-S . -S .
make VERBOSE=1 -C build make VERBOSE=1 -C build