[Buildroot] [PATCH 2/3] gst-plugins-base: add option to select 'alsa'

Arnout Vandecappelle arnout at mind.be
Sat Feb 11 16:05:26 UTC 2012


On Saturday 11 February 2012 01:04:35 Felipe Contreras wrote:
> It's nice to go straight to GStreamer, and enable all the plug-in
> elements without having to go back through the menus to select the
> dependencies.
> 
> Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
> ---
>  package/multimedia/gst-plugins-base/Config.in |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/package/multimedia/gst-plugins-base/Config.in b/package/multimedia/gst-plugins-base/Config.in
> index 851337b..a1fa0f1 100644
> --- a/package/multimedia/gst-plugins-base/Config.in
> +++ b/package/multimedia/gst-plugins-base/Config.in
> @@ -94,5 +94,10 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS
>  	bool "vorbis (*.ogg audio)"
>  	select BR2_PACKAGE_LIBVORBIS
>  
> -endif
> +config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA
> +	bool "alsa"
> +	select BR2_PACKAGE_ALSA_LIB
> +	select BR2_PACKAGE_ALSA_LIB_MIXER
> +	select BR2_PACKAGE_ALSA_LIB_PCM
>  
> +endif

 Keep the config options ordered alphabetically, so put it before OGG.

 Also, if the option exists, it should be used in the mk-file.  So add:

ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
GST_PLUGINS_BASE_CONF_OPT += --enable-alsa
else
GST_PLUGINS_BASE_CONF_OPT += --disable-alsa
endif

(again alphabetically).

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list