mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/gnuradio to 3.7.13.4-1
This commit is contained in:
parent
344ba1adff
commit
97dbde7b70
1 changed files with 12 additions and 7 deletions
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
pkgbase=gnuradio
|
pkgbase=gnuradio
|
||||||
pkgname=(gnuradio gnuradio-companion)
|
pkgname=(gnuradio gnuradio-companion)
|
||||||
pkgver=3.7.11
|
pkgver=3.7.13.4
|
||||||
pkgrel=6
|
pkgrel=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="http://gnuradio.org"
|
url="http://gnuradio.org"
|
||||||
|
@ -36,8 +36,9 @@ source=("https://gnuradio.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz"
|
||||||
"https://gnuradio.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz.asc"
|
"https://gnuradio.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz.asc"
|
||||||
"21-fcd.rules" "gnuradio-gcc7.patch"
|
"21-fcd.rules" "gnuradio-gcc7.patch"
|
||||||
"boost-1.67.patch" "boost-1.67-pthread.patch")
|
"boost-1.67.patch" "boost-1.67-pthread.patch")
|
||||||
validpgpkeys=('B90DDFAC56989BF62262EB812987C77CBB8ED9B2') # GNU Radio Project
|
validpgpkeys=('B90DDFAC56989BF62262EB812987C77CBB8ED9B2' # GNU Radio Project
|
||||||
md5sums=('7b7b871237ae6fc109d203f78c4654ef'
|
'D74F9F146E7F755783583158B343B2BA293E5174') # Marcus Müller
|
||||||
|
md5sums=('b38d9cfa7cb4dcb97f5d19ebcabe8dcb'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'465e12c454c6a22ebec9849181af7bdc'
|
'465e12c454c6a22ebec9849181af7bdc'
|
||||||
'c510104fa2ad9852a683c265c42ae1da'
|
'c510104fa2ad9852a683c265c42ae1da'
|
||||||
|
@ -53,10 +54,14 @@ prepare() {
|
||||||
sed -i -e "s|#![ ]*/usr/bin/env /usr/bin/python$|#!/usr/bin/env python2|" \
|
sed -i -e "s|#![ ]*/usr/bin/env /usr/bin/python$|#!/usr/bin/env python2|" \
|
||||||
$(find ./ -name '*.py')
|
$(find ./ -name '*.py')
|
||||||
# fix build with GCC 7 (Fedora)
|
# fix build with GCC 7 (Fedora)
|
||||||
patch -p1 -i ../gnuradio-gcc7.patch
|
#patch -p1 -N -i ../gnuradio-gcc7.patch
|
||||||
# https://github.com/gnuradio/gnuradio/pull/1733
|
# https://github.com/gnuradio/gnuradio/pull/1733
|
||||||
patch -p1 -i ../boost-1.67.patch
|
#patch -p1 -N -i ../boost-1.67.patch
|
||||||
patch -p1 -i ../boost-1.67-pthread.patch
|
#patch -p1 -N -i ../boost-1.67-pthread.patch
|
||||||
|
# GCC 7?
|
||||||
|
#sed -i 's|SET(CMAKE_CXX_STANDARD 98)|#&|' CMakeLists.txt
|
||||||
|
#sed -i 's|SET(CMAKE_C_FLAGS .* -std=gnu99"|#&|' CMakeLists.txt
|
||||||
|
sed -i '333i ${CMAKE_THREAD_LIBS_INIT}' gr-blocks/lib/CMakeLists.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue