gnuradio: make gr-audio select alsa-lib if no backend selected
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Mon, 13 Feb 2017 16:13:18 +0000 (17:13 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Feb 2017 21:39:31 +0000 (22:39 +0100)
gr-audio may be built with alsa-lib or portaudio support. To simplify
dependencies if no backend is selected, we automatically select alsa-lib
as the default audio backend if portaudio is not enabled.

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

index 8301afe8f2e21dc303928d5ecd21053a33a85312..0291d70967790578cd7099443aa3995379706a95 100644 (file)
@@ -32,7 +32,7 @@ if BR2_PACKAGE_GNURADIO
 
 config BR2_PACKAGE_GNURADIO_AUDIO
        bool "gr-audio"
-       depends on BR2_PACKAGE_ALSA_LIB || BR2_PACKAGE_PORTAUDIO
+       select BR2_PACKAGE_ALSA_LIB if !BR2_PACKAGE_PORTAUDIO
        help
          Add audio source/sink to GNU Radio