1config BR2_PACKAGE_FLUIDSYNTH 2 bool "fluidsynth" 3 depends on BR2_USE_WCHAR # libglib2 4 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 5 depends on BR2_USE_MMU # libglib2 6 # the .pc file installed by fluidsynth does not mention its 7 # indirect dependencies in Libs.private. 8 depends on !BR2_STATIC_LIBS 9 depends on BR2_INSTALL_LIBSTDCPP 10 select BR2_PACKAGE_LIBGLIB2 11 help 12 FluidSynth is a real-time software synthesizer based on the 13 SoundFont 2 specifications and has reached widespread 14 distribution. FluidSynth itself does not have a graphical 15 user interface, but due to its powerful API several 16 applications utilize it and it has even found its way onto 17 embedded systems and is used in some mobile apps. 18 19 http://www.fluidsynth.org/ 20 21if BR2_PACKAGE_FLUIDSYNTH 22 23comment "Output support" 24 25config BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB 26 bool "alsa" 27 default y 28 depends on BR2_TOOLCHAIN_HAS_THREADS 29 select BR2_PACKAGE_ALSA_LIB 30 select BR2_PACKAGE_ALSA_LIB_RAWMIDI 31 select BR2_PACKAGE_ALSA_LIB_SEQ 32 help 33 Enable alsa support. 34 35comment "alsa support needs a toolchain w/ threads" 36 depends on !BR2_TOOLCHAIN_HAS_THREADS 37 38config BR2_PACKAGE_FLUIDSYNTH_JACK2 39 bool "jack2" 40 # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 41 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS 42 depends on BR2_TOOLCHAIN_HAS_THREADS # jack2 43 depends on BR2_USE_MMU # jack2 44 depends on BR2_INSTALL_LIBSTDCPP # jack2 45 depends on !BR2_STATIC_LIBS # jack2 46 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # jack2 47 select BR2_PACKAGE_JACK2 48 help 49 Enable jack support. 50 51comment "jack support needs a toolchain w/ dynamic library, threads, C++" 52 depends on BR2_TOOLCHAIN_HAS_SYNC_4 53 depends on BR2_USE_MMU 54 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS 55 depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ 56 !BR2_TOOLCHAIN_HAS_THREADS 57 58config BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE 59 bool "libsndfile" 60 select BR2_PACKAGE_LIBSNDFILE 61 help 62 Enable libsndfile support, for writing output to WAV files. 63 64config BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO 65 bool "portaudio" 66 depends on BR2_TOOLCHAIN_HAS_THREADS 67 select BR2_PACKAGE_PORTAUDIO 68 help 69 Enable portaudio support. 70 71comment "portaudio support needs a toolchain w/ threads" 72 depends on !BR2_TOOLCHAIN_HAS_THREADS 73 74config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO 75 bool "pulseaudio" 76 # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 77 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS 78 depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio 79 depends on BR2_USE_WCHAR # pulseaudio 80 depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio 81 depends on !BR2_STATIC_LIBS # pulseaudio 82 depends on BR2_USE_MMU # pulseaudio 83 select BR2_PACKAGE_PULSEAUDIO 84 help 85 Enable PulseAudio support. 86 87comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads" 88 depends on BR2_USE_MMU 89 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS 90 depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC 91 depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS 92 93config BR2_PACKAGE_FLUIDSYNTH_SDL2 94 bool "sdl2" 95 depends on !BR2_STATIC_LIBS 96 select BR2_PACKAGE_SDL2 97 help 98 Enable SDL2 audio support. 99 100comment "SDL2 audio support needs a toolchain w/ dynamic library" 101 depends on BR2_STATIC_LIBS 102 103comment "Misc options" 104 105config BR2_PACKAGE_FLUIDSYNTH_DBUS 106 bool "dbus" 107 depends on BR2_TOOLCHAIN_HAS_THREADS 108 depends on BR2_USE_MMU 109 select BR2_PACKAGE_DBUS 110 help 111 Enable dbus support. 112 113comment "dbus support needs a toolchain w/ threads" 114 depends on BR2_USE_MMU 115 depends on !BR2_TOOLCHAIN_HAS_THREADS 116 117config BR2_PACKAGE_FLUIDSYNTH_FLOATS 118 bool "32-bit single precision float" 119 help 120 Enable 32-bit single precision float support, instead of 121 64-bit double precision floats for DSP samples. 122 123config BR2_PACKAGE_FLUIDSYNTH_READLINE 124 bool "readline" 125 select BR2_PACKAGE_READLINE 126 help 127 Enable readline support, for better line editing in FluidSynth 128 shell. 129 130endif # BR2_PACKAGE_FLUIDSYNTH 131 132comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" 133 depends on BR2_USE_MMU 134 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ 135 BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP 136