mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
gst-plugins-base: make alsa plug-in configurable
It may be desirable not to use the alsa sink for playback even though alsa-lib is installed. So make this a configuration option. This also takes care of selecting the proper options for alsa-lib (BR2_PACKAGE_ALSA_LIB_MIXER and BR2_PACKAGE_ALSA_LIB_PCM). [Peter: fix indentation] Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
77c7046715
commit
1a18a456f2
@@ -73,6 +73,12 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME
|
|||||||
|
|
||||||
comment "plugins with external dependencies (there may be more available)"
|
comment "plugins with external dependencies (there may be more available)"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA
|
||||||
|
bool "alsa (mandatory for audio playback)"
|
||||||
|
select BR2_PACKAGE_ALSA_LIB
|
||||||
|
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||||
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||||
|
|
||||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
|
||||||
bool "ogg (*.ogg audio/video)"
|
bool "ogg (*.ogg audio/video)"
|
||||||
select BR2_PACKAGE_LIBOGG
|
select BR2_PACKAGE_LIBOGG
|
||||||
|
|||||||
@@ -40,8 +40,7 @@ ifeq ($(BR2_PACKAGE_ORC),y)
|
|||||||
GST_PLUGINS_BASE_DEPENDENCIES += orc
|
GST_PLUGINS_BASE_DEPENDENCIES += orc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# alsa support needs pcm+mixer support, but configure fails to check for it
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
|
||||||
ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)
|
|
||||||
GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
||||||
else
|
else
|
||||||
GST_PLUGINS_BASE_CONF_OPT += --disable-alsa
|
GST_PLUGINS_BASE_CONF_OPT += --disable-alsa
|
||||||
|
|||||||
Reference in New Issue
Block a user