GNURadio: gr-audio: select alsa-lib if no backend selected
PATCH 1/2 GNURadio: gr-audio: select alsa-lib if no backend selected
From: Gwenhael Goavec-Merou <[email protected]>
gr-audio may be built with alsa-lib or portaudio support. To simplify dependencies if no backend is selected, then alsa-lib is the default choice.
--- package/gnuradio/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gnuradio/Config.in +1 -1
@@ -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
Signature · 1 line
2.10.2
PATCH 2/2 gqrx: suppress audio backend dependencies
From: Gwenhael Goavec-Merou <[email protected]>
Now gr-audio selects an audio backend by default. Consequently, it is no more needed to depends on BR2_PACKAGE_ALSA_LIB or BR2_PACKAGE_PORTAUDIO.
--- package/gqrx/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/gqrx/Config.in +2 -3
@@ -2,13 +2,12 @@ comment "gqrx needs a toolchain w/ C++, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_USE_WCHAR -comment "gqrx needs qt5, gnuradio, fftw's single precision, alsa-lib or portaudio" +comment "gqrx needs qt5, gnuradio, fftw's single precision" depends on !BR2_PACKAGE_GNURADIO || !BR2_PACKAGE_FFTW_PRECISION_SINGLE || \ - !(BR2_PACKAGE_ALSA_LIB || BR2_PACKAGE_PORTAUDIO) || !BR2_PACKAGE_QT5 + !BR2_PACKAGE_QT5 config BR2_PACKAGE_GQRX bool "gqrx" - depends on BR2_PACKAGE_ALSA_LIB || BR2_PACKAGE_PORTAUDIO # gr-audio depends on BR2_PACKAGE_FFTW_PRECISION_SINGLE # gnuradio depends on BR2_PACKAGE_GNURADIO depends on BR2_PACKAGE_QT5
Signature · 1 line
2.10.2
PATCH 1/2 GNURadio: gr-audio: select alsa-lib if no backend selected
In reply to Gwenhael Goavec-MerouHello,
Quoted 9 lines · Gwenhael Goavec-Merou
From: Gwenhael Goavec-Merou <[email protected]>
gr-audio may be built with alsa-lib or portaudio support. To simplify dependencies if no backend is selected, then alsa-lib is the default choice.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>--- package/gnuradio/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Both patches applied to the next branch, after some small tweaks to the commit logs.
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com