janus-gateway: make echo test plugin optional
[buildroot-gz.git] / package / espeak / Config.in
blobaed627af92fc403278fbcca49edf3dce28594fbd
1 comment "espeak needs a toolchain w/ C++, wchar, threads, dynamic library"
2         depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
3         depends on BR2_USE_MMU
5 config BR2_PACKAGE_ESPEAK
6         bool "espeak"
7         depends on BR2_INSTALL_LIBSTDCPP
8         depends on BR2_USE_WCHAR
9         depends on BR2_TOOLCHAIN_HAS_THREADS
10         depends on BR2_USE_MMU # fork()
11         # does not properly support building only a static version
12         depends on !BR2_STATIC_LIBS
13         help
14           espeak is a speech synthesizer software for English and
15           other languages.
17           http://espeak.sourceforge.net/
19 if BR2_PACKAGE_ESPEAK
21 choice
22         prompt "choose audio backend"
23         default BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
25 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
26         bool "No sound backend, only produce wav files"
28 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
29         bool "alsa via portaudio"
30         select BR2_PACKAGE_PORTAUDIO
31         select BR2_PACKAGE_PORTAUDIO_CXX
33 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
34         bool "pulseaudio"
35         depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
36         select BR2_PACKAGE_PULSEAUDIO
38 endchoice
40 endif # BR2_PACKAGE_ESPEAK