b092f74b60
Fixes http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/ and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/ espeak uses fork(), don't work on non-MMU platforms [Peter: indent with tab instead of spaces] Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
comment "espeak needs a toolchain w/ C++, wchar, threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
|
depends on BR2_USE_MMU
|
|
|
|
config BR2_PACKAGE_ESPEAK
|
|
bool "espeak"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
espeak is a speech synthesizer software for English and
|
|
other languages.
|
|
|
|
http://espeak.sourceforge.net/
|
|
|
|
if BR2_PACKAGE_ESPEAK
|
|
|
|
choice
|
|
prompt "choose audio backend"
|
|
default BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
|
|
bool "No sound backend, only produce wav files"
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
|
|
bool "alsa via portaudio"
|
|
select BR2_PACKAGE_PORTAUDIO
|
|
select BR2_PACKAGE_PORTAUDIO_CXX
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
|
|
bool "pulseaudio"
|
|
select BR2_PACKAGE_PULSEAUDIO
|
|
depends on BR2_LARGEFILE # pulseaudio
|
|
|
|
comment "pulseaudio backend needs a toolchain with largefile"
|
|
depends on !BR2_LARGEFILE
|
|
|
|
endchoice
|
|
|
|
endif # BR2_PACKAGE_ESPEAK
|