summaryrefslogtreecommitdiff
path: root/community/gnuradio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnuradio/PKGBUILD')
-rw-r--r--community/gnuradio/PKGBUILD35
1 files changed, 25 insertions, 10 deletions
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 <keenerd@gmail.com>
# Contributor: Dominik Heidler <dheidler@gmail.com>
+# Contributor: Jonatan Sastre <jsastreh [ at ] hotmail.com>
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
}