community/gnuradio to 3.7.13.4-2

This commit is contained in:
Kevin Mihelich 2018-08-24 12:29:18 +00:00
parent e09f388cdf
commit 71f3c9847b

View file

@ -9,7 +9,7 @@
pkgbase=gnuradio pkgbase=gnuradio
pkgname=(gnuradio gnuradio-companion) pkgname=(gnuradio gnuradio-companion)
pkgver=3.7.13.4 pkgver=3.7.13.4
pkgrel=1 pkgrel=2
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"
@ -17,7 +17,7 @@ license=('GPL')
depends=('fftw' 'python2-numpy' 'cppunit' 'gsl' 'blas' 'boost-libs>=1.53' depends=('fftw' 'python2-numpy' 'cppunit' 'gsl' 'blas' 'boost-libs>=1.53'
'libusbx' 'portaudio' 'libuhd' 'zeromq' 'libvolk') 'libusbx' 'portaudio' 'libuhd' 'zeromq' 'libvolk')
makedepends=('boost' 'cmake' 'python2-lxml' 'python2-cheetah' 'glu' 'swig' makedepends=('boost' 'cmake' 'python2-lxml' 'python2-cheetah' 'glu' 'swig'
'pygtk' 'wxpython' 'python2-pyqwt' 'qwtplot3d') 'pygtk' 'wxpython' 'qwtplot3d' 'qwt5')
# todo # todo
# split the gui components? # split the gui components?
@ -62,6 +62,7 @@ prepare() {
#sed -i 's|SET(CMAKE_CXX_STANDARD 98)|#&|' CMakeLists.txt #sed -i 's|SET(CMAKE_CXX_STANDARD 98)|#&|' CMakeLists.txt
#sed -i 's|SET(CMAKE_C_FLAGS .* -std=gnu99"|#&|' 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 sed -i '333i ${CMAKE_THREAD_LIBS_INIT}' gr-blocks/lib/CMakeLists.txt
sed -e '/PyQt4/d' -i gr-qtgui/CMakeLists.txt # Build PyQt4 UI even if PyQt4 is not installed
} }
build() { build() {
@ -81,6 +82,7 @@ build() {
-DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \ -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
-DENABLE_GR_QTGUI=ON \ -DENABLE_GR_QTGUI=ON \
-DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \ -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
-DPYQT4_FOUND=ON \
-DENABLE_INTERNAL_VOLK=OFF \ -DENABLE_INTERNAL_VOLK=OFF \
-DENABLE_GRC=ON \ -DENABLE_GRC=ON \
-DENABLE_GR_WXGUI=ON \ -DENABLE_GR_WXGUI=ON \
@ -110,7 +112,7 @@ package_gnuradio() {
package_gnuradio-companion() { package_gnuradio-companion() {
pkgdesc="GUI frontend for gnuradio and SDR." pkgdesc="GUI frontend for gnuradio and SDR."
depends=('gnuradio' 'python2-cheetah' 'python2-lxml' depends=('gnuradio' 'python2-cheetah' 'python2-lxml'
'pygtk' 'wxpython' 'python2-opengl' 'python2-pyqwt' 'qwtplot3d' 'pygtk' 'wxpython' 'python2-opengl' 'qwt5' 'qwtplot3d'
'python2-numarray') 'python2-numarray')
# Yup, nothing in the package except dependencies, # Yup, nothing in the package except dependencies,
# because more than five optdeps is too many for most people. # because more than five optdeps is too many for most people.