community/gnuradio to 3.7.10-1

This commit is contained in:
Kevin Mihelich 2016-07-09 03:52:51 +00:00
parent a197a452c1
commit b2fc9ba8ef

View file

@ -8,7 +8,7 @@
pkgbase=gnuradio
pkgname=(gnuradio gnuradio-companion)
pkgver=3.7.9.2
pkgver=3.7.10
pkgrel=1
pkgdesc="General purpose DSP and SDR toolkit. With drivers for usrp and fcd."
arch=('i686' 'x86_64')
@ -35,7 +35,7 @@ install=gnuradio.install
#source=("http://s3-dist.gnuradio.org/gnuradio-$pkgver.tar.gz"
source=("http://gnuradio.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz"
"21-fcd.rules")
md5sums=('ec5532a438ae3169069a9909499fa19b'
md5sums=('fc40fadcc3c9ac339c9618c6dc8c303b'
'465e12c454c6a22ebec9849181af7bdc')
prepare() {
@ -51,7 +51,7 @@ prepare() {
build() {
export PYTHON=python2
cd "$srcdir/$pkgbase-$pkgver"
sed -i -e "s|GR_PKG_LIBEXEC_DIR|GR_RUNTIME_DIR|" grc/freedesktop/CMakeLists.txt
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
msg "Starting build."
@ -85,7 +85,7 @@ package_gnuradio() {
'pkgconfig: libuhd')
cd "$srcdir"
install -Dm644 21-fcd.rules "$pkgdir/usr/lib/udev/rules.d/21-fcd.rules"
cd "$srcdir/$pkgbase-$pkgver/grc/freedesktop"
cd "$srcdir/$pkgbase-$pkgver/grc/scripts/freedesktop"
install -Dm644 gnuradio-grc.desktop "$pkgdir/usr/share/applications/gnuradio-grc.desktop"
cd "$srcdir/$pkgbase-$pkgver/build"
make DESTDIR="$pkgdir" install