Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected
@ 2017-02-13 16:13 Gwenhael Goavec-Merou
  2017-02-13 16:13 ` [Buildroot] [PATCH 2/2] gqrx: suppress audio backend dependencies Gwenhael Goavec-Merou
  2017-02-13 21:41 ` [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Gwenhael Goavec-Merou @ 2017-02-13 16:13 UTC (permalink / raw)
  To: buildroot

From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>

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 <gwenhael.goavec-merou@trabucayre.com>
---
 package/gnuradio/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in
index 8301afe..0291d70 100644
--- a/package/gnuradio/Config.in
+++ b/package/gnuradio/Config.in
@@ -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
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] gqrx: suppress audio backend dependencies
  2017-02-13 16:13 [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Gwenhael Goavec-Merou
@ 2017-02-13 16:13 ` Gwenhael Goavec-Merou
  2017-02-13 21:41 ` [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Gwenhael Goavec-Merou @ 2017-02-13 16:13 UTC (permalink / raw)
  To: buildroot

From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>

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.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
---
 package/gqrx/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/gqrx/Config.in b/package/gqrx/Config.in
index 5f7a561..1dc40c6 100644
--- a/package/gqrx/Config.in
+++ b/package/gqrx/Config.in
@@ -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
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected
  2017-02-13 16:13 [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Gwenhael Goavec-Merou
  2017-02-13 16:13 ` [Buildroot] [PATCH 2/2] gqrx: suppress audio backend dependencies Gwenhael Goavec-Merou
@ 2017-02-13 21:41 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-02-13 21:41 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 13 Feb 2017 17:13:18 +0100, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> 
> 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 <gwenhael.goavec-merou@trabucayre.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-13 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 16:13 [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Gwenhael Goavec-Merou
2017-02-13 16:13 ` [Buildroot] [PATCH 2/2] gqrx: suppress audio backend dependencies Gwenhael Goavec-Merou
2017-02-13 21:41 ` [Buildroot] [PATCH 1/2] GNURadio: gr-audio: select alsa-lib if no backend selected Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox