if BR2_PACKAGE_GNURADIO
+config BR2_PACKAGE_GNURADIO_AUDIO
+ bool "gr-audio"
+ depends on BR2_PACKAGE_ALSA_LIB || BR2_PACKAGE_PORTAUDIO
+ help
+ Add audio source/sink to GNU Radio
+
config BR2_PACKAGE_GNURADIO_BLOCKS
bool "blocks support"
help
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF
endif
+ifeq ($(BR2_PACKAGE_GNURADIO_AUDIO),y)
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+GNURADIO_DEPENDENCIES += alsa-lib
+endif
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+GNURADIO_DEPENDENCIES += portaudio
+endif
+GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=ON
+else
+GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=OFF
+endif
+
ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y)
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON
else