From 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 27 Dec 2013 23:55:53 +0000 Subject: Fri Dec 27 23:54:04 UTC 2013 --- community/gnuradio/PKGBUILD | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) (limited to 'community/gnuradio/PKGBUILD') diff --git a/community/gnuradio/PKGBUILD b/community/gnuradio/PKGBUILD index 3200dee0a..32dcfb539 100644 --- a/community/gnuradio/PKGBUILD +++ b/community/gnuradio/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 100355 2013-11-02 16:17:09Z kkeen $ +# $Id: PKGBUILD 102721 2013-12-17 19:43:24Z kkeen $ # Maintainer: Kyle Keen # Contributor: Dominik Heidler +# Contributor: Jonatan Sastre pkgname=gnuradio -pkgver=3.7.1 -pkgrel=8 -pkgdesc="General purpose DSP and SDR toolkit. Supports usrp and fcd." +pkgver=3.7.2.1 +pkgrel=1 +pkgdesc="General purpose DSP and SDR toolkit. With drivers for usrp and fcd." arch=('i686' 'x86_64') url="http://gnuradio.org" license=('GPL') @@ -14,27 +15,41 @@ optdepends=('python2-cheetah: gnuradio-companion' 'python2-lxml: gnuradio-companion' 'pygtk: gnuradio-companion' 'wxpython: gr-wxgui' - 'qwtplot3d: gr-qtgui' - 'pyqwt: gr-qtgui' - 'doxygen: autogenerated documentation' - 'pkgconfig: ?') + 'pkgconfig: libuhd') conflicts=('gnuradio-git') install=gnuradio.install +# gr-qtgui todo +# talk to ronald about adding qwt5 to qwt package +# bring pyqwt in from AUR +# update optdepends +# 'qwtplot3d: gr-qtgui' +# 'pyqwt: gr-qtgui' +# update makedepends +# 'qwtplot3d' + # todo # add gr-osmosdr-git to optdepends # split the gui components? # build doxygen docs? # icons +# comedilib: gr-comedi +# zeroc-ice: gr-ctrlport +# doxygen: C++ autogenerated documentation +# python2-sphinx: Python autogenerated documentation + source=("http://gnuradio.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" "21-fcd.rules") -md5sums=('6c5e67da6ed8724dd900d8e343b64be4' +md5sums=('f2ea23a30cb02802870fe8cb9bf272c9' '465e12c454c6a22ebec9849181af7bdc') build() { export PYTHON=python2 cd "$srcdir/$pkgname-$pkgver" + sed -i -e "s|GR_PKG_LIBEXEC_DIR|GR_RUNTIME_DIR|" grc/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." mkdir -p build cd build @@ -43,7 +58,7 @@ build() { -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \ -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \ -DENABLE_GRC=ON \ - -DCMAKE_INSTALL_PREFIX=/usr ../ + -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../ make } -- cgit v1.2.3-54-g00ecf