package/mpd: add openal optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
385c4da3dd
commit
23dee8e0b9
@ -286,6 +286,18 @@ comment "jack support needs a toolchain w/ dynamic library"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_MPD_OPENAL
|
||||
bool "openal"
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
select BR2_PACKAGE_OPENAL
|
||||
help
|
||||
Enable OpenAL output support.
|
||||
|
||||
comment "openal support needs a toolchain w/ NPTL"
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
config BR2_PACKAGE_MPD_OSS
|
||||
bool "oss"
|
||||
help
|
||||
|
@ -200,6 +200,13 @@ else
|
||||
MPD_CONF_OPTS += -Dneighbor=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_OPENAL),y)
|
||||
MPD_DEPENDENCIES += openal
|
||||
MPD_CONF_OPTS += -Dopenal=enabled
|
||||
else
|
||||
MPD_CONF_OPTS += -Dopenal=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
|
||||
MPD_DEPENDENCIES += opus libogg
|
||||
MPD_CONF_OPTS += -Dopus=enabled
|
||||
|
Loading…
Reference in New Issue
Block a user