mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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:
committed by
Thomas Petazzoni
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_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on BR2_STATIC_LIBS
|
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
|
config BR2_PACKAGE_MPD_OSS
|
||||||
bool "oss"
|
bool "oss"
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -200,6 +200,13 @@ else
|
|||||||
MPD_CONF_OPTS += -Dneighbor=false
|
MPD_CONF_OPTS += -Dneighbor=false
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
|
||||||
MPD_DEPENDENCIES += opus libogg
|
MPD_DEPENDENCIES += opus libogg
|
||||||
MPD_CONF_OPTS += -Dopus=enabled
|
MPD_CONF_OPTS += -Dopus=enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user