mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/fluidsynth: add sdl2 optional dependency
sdl2 is an optional dependency (enabled by default) since version 2.1.0:
978283bbf0
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
52683ea407
commit
1cdf1941ae
@@ -89,6 +89,16 @@ comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads
|
|||||||
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
||||||
depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_FLUIDSYNTH_SDL2
|
||||||
|
bool "sdl2"
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
|
select BR2_PACKAGE_SDL2
|
||||||
|
help
|
||||||
|
Enable SDL2 audio support.
|
||||||
|
|
||||||
|
comment "SDL2 audio support needs a toolchain w/ dynamic library"
|
||||||
|
depends on BR2_STATIC_LIBS
|
||||||
|
|
||||||
comment "Misc options"
|
comment "Misc options"
|
||||||
|
|
||||||
config BR2_PACKAGE_FLUIDSYNTH_DBUS
|
config BR2_PACKAGE_FLUIDSYNTH_DBUS
|
||||||
|
|||||||
@@ -66,4 +66,11 @@ else
|
|||||||
FLUIDSYNTH_CONF_OPTS += -Denable-readline=0
|
FLUIDSYNTH_CONF_OPTS += -Denable-readline=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y)
|
||||||
|
FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1
|
||||||
|
FLUIDSYNTH_DEPENDENCIES += sdl2
|
||||||
|
else
|
||||||
|
FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user