gnuradio: add qtgui support
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Fri, 29 Apr 2016 08:12:14 +0000 (10:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Jun 2016 13:54:02 +0000 (15:54 +0200)
gr-qtgui provides a set of module to display time/frequency/waterfall.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnuradio/Config.in
package/gnuradio/gnuradio.mk

index f51b9b297bd555ed19f248cc64b7f7d25bc888f9..50f5e7fa1912d41a17ec7f48e0a2aaec1b1dccba 100644 (file)
@@ -67,7 +67,7 @@ config BR2_PACKAGE_GNURADIO_UTILS
        help
          Misc python utilities
 
-comment "gr-fft, -filter, -analog, -channels, -digital, -trellis, -pager depends fftw's single precision"
+comment "gr-fft, -filter, -analog, -channels, -digital, -trellis, -pager, -qtgui depends fftw's single precision"
        depends on !BR2_PACKAGE_FFTW_PRECISION_SINGLE
 
 if BR2_PACKAGE_FFTW_PRECISION_SINGLE
@@ -108,6 +108,16 @@ config BR2_PACKAGE_GNURADIO_PAGER
        help
          FLEX pager decoder implementation blocks
 
+config BR2_PACKAGE_GNURADIO_QTGUI
+       bool "gr-qtgui"
+       depends on BR2_PACKAGE_PYTHON_PYQT
+       depends on BR2_PACKAGE_QWT
+       depends on BR2_PACKAGE_QT_STL
+       select BR2_PACKAGE_GNURADIO_FFT
+       select BR2_PACKAGE_GNURADIO_FILTER
+       help
+         GNU Radio Qt scopes
+
 config BR2_PACKAGE_GNURADIO_TRELLIS
        bool "gr-trellis support"
        select BR2_PACKAGE_GNURADIO_DIGITAL
index b193569617676b34866d670dca93d8014cd260dd..972f7a494e3ccef7f78643cdbdcbd53f029e5120 100644 (file)
@@ -120,6 +120,13 @@ else
 GNURADIO_CONF_OPTS += -DENABLE_PAGER=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_GNURADIO_QTGUI),y)
+GNURADIO_DEPENDENCIES += python-pyqt qwt
+GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=ON
+else
+GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_GNURADIO_TRELLIS),y)
 GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=ON
 else