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