package/mpd: add option to enable or disable OSS support
By default, the OSS support is enabled, which may not necessarily be useful on most Linux systems that use ALSA. [Thomas: tweak commit title and log.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
761ca24c3b
commit
25c083b447
@ -245,6 +245,11 @@ comment "jack support needs a toolchain w/ largefile"
|
||||
depends on BR2_ARCH_HAS_ATOMICS
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
config BR2_PACKAGE_MPD_OSS
|
||||
bool "oss"
|
||||
help
|
||||
Enable OSS (Open Sound System) output support.
|
||||
|
||||
config BR2_PACKAGE_MPD_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
|
||||
|
@ -175,6 +175,12 @@ else
|
||||
MPD_CONF_OPTS += --disable-opus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_OSS),y)
|
||||
MPD_CONF_OPTS += --enable-oss
|
||||
else
|
||||
MPD_CONF_OPTS += --disable-oss
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
|
||||
MPD_DEPENDENCIES += pulseaudio
|
||||
MPD_CONF_OPTS += --enable-pulse
|
||||
|
Loading…
Reference in New Issue
Block a user