community/gnuradio to 3.9.2.0-2

This commit is contained in:
Kevin Mihelich 2021-07-23 18:30:07 +00:00
parent ab6eff0fb2
commit 9c7acc51f0

View file

@ -8,17 +8,18 @@
pkgbase=gnuradio
pkgname=(gnuradio gnuradio-companion)
pkgver=3.8.2.0
pkgver=3.9.2.0
pkgrel=2
pkgdesc="General purpose DSP and SDR toolkit. With drivers for usrp and fcd."
arch=('x86_64')
url="https://gnuradio.org"
license=('GPL')
depends=('python-numpy' 'gsl' 'blas' 'libuhd' 'libvolk' 'log4cpp' 'python-yaml'
'gmp' 'gsm' 'codec2' 'python-mako' 'python-click-plugins')
'gmp' 'gsm' 'codec2' 'python-mako' 'python-click-plugins' 'soapysdr'
'pybind11')
makedepends=('alsa-lib' 'boost' 'cmake' 'fftw' 'glu' 'gtk3' 'jack' 'pango'
'portaudio' 'python-gobject' 'python-lxml' 'python-pyqt5' 'python-cairo'
'qwt' 'swig' 'zeromq')
'qwt' 'zeromq')
# todo
# split the gui components?
@ -26,6 +27,7 @@ makedepends=('alsa-lib' 'boost' 'cmake' 'fftw' 'glu' 'gtk3' 'jack' 'pango'
# gr-video-sdl ?
# icons
# add thrift?
# could soapy and pybind be optional makedeps?
# zeroc-ice: gr-ctrlport
# doxygen: C++ autogenerated documentation
@ -38,22 +40,23 @@ makedepends=('alsa-lib' 'boost' 'cmake' 'fftw' 'glu' 'gtk3' 'jack' 'pango'
# seems upstream stopped doing signed tags/release assets > 3.8.0.0 :-/
# https://github.com/gnuradio/gnuradio/issues/3858
source=("https://github.com/gnuradio/gnuradio/releases/download/v$pkgver/gnuradio-$pkgver.tar.gz"
source=("gnuradio-$pkgver.tgz::https://github.com/gnuradio/gnuradio/archive/refs/tags/v$pkgver.tar.gz"
#"https://github.com/gnuradio/gnuradio/releases/download/v$pkgver/gnuradio-$pkgver.tar.gz"
# "https://github.com/gnuradio/gnuradio/releases/download/v$pkgver/gnuradio-$pkgver.tar.gz.asc"
gnuradio-bind-placeholders.patch
"21-fcd.rules")
validpgpkeys=('B90DDFAC56989BF62262EB812987C77CBB8ED9B2' # GNU Radio Project
'D74F9F146E7F755783583158B343B2BA293E5174') # Marcus Müller
sha512sums=('28ac794f3016ebf598467fda2ca90500f6479b773bb7d3c1c7e21fc1fdcac83f9e1973ef5ad9132f17333f786cf0f4a1d17c2b9256e4fa216c8e5bb7550d2474'
sha512sums=('4a2807d6713fff10906354553ef5810b81ef4116573fdf15b122e8fc18373c56e1685b8592a8f0f08c0524c4983f3d7d4774bdada98dff0990d028f71cbd7898'
'f4e52e6e9ef6054f358d3ee00cbcb70bab65c36dfac8975c3182f6514c547905f36801a049f0918d69c9ffd98ce801891a3bfc4e4faeb8fb33582d84140a70b7'
'6f02dc8e20a7a1cd11099c851a7c8427fcd21e9652e6cddd0a72ca747b0e93cd4fd1b7b7b7e426b6231348bcc34fb2417716a2f03c92ec141889edc65031c3a0')
prepare() {
cd "$srcdir/$pkgbase-$pkgver"
patch -Np1 -i ../gnuradio-bind-placeholders.patch
#patch -Np1 -i ../gnuradio-bind-placeholders.patch
sed -i -e "s|GR_PKG_LIBEXEC_DIR|GR_RUNTIME_DIR|" grc/scripts/freedesktop/CMakeLists.txt
#sed -i -e "s|/qwt$|/qwt5|" -e "s| qwt | qwt5 |" cmake/Modules/FindQwt.cmake
sed -i -e "s| sphinx-build$| sphinx-build2|" cmake/Modules/FindSphinx.cmake
#sed -i -e "s| sphinx-build$| sphinx-build2|" cmake/Modules/FindSphinx.cmake
}
build() {
@ -87,7 +90,6 @@ package_gnuradio() {
'libboost_program_options.so' 'libboost_thread.so' 'libfftw3f.so'
'libfftw3f_threads.so' 'libjack.so' 'libportaudio.so' 'libzmq.so')
optdepends=('boost: gr_modtool'
'swig: gr_modtool'
'cmake: gr_modtool'
'pkgconfig: libuhd')
provides=(