|
@@ -0,0 +1,44 @@
|
|
|
+comment "espeak needs a toolchain w/ C++, wchar"
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
|
|
+
|
|
|
+config BR2_PACKAGE_ESPEAK
|
|
|
+ bool "espeak"
|
|
|
+ depends on BR2_INSTALL_LIBSTDCPP
|
|
|
+ depends on BR2_USE_WCHAR
|
|
|
+ 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"
|
|
|
+
|
|
|
+comment "alsa backend needs a toolchain w/ threads"
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
+
|
|
|
+config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
|
|
|
+ bool "alsa via portaudio"
|
|
|
+ select BR2_PACKAGE_PORTAUDIO
|
|
|
+ select BR2_PACKAGE_PORTAUDIO_CXX
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # portaudio
|
|
|
+
|
|
|
+comment "pulseaudio backend needs a toolchain w/ wchar, largefile, threads"
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_LARGEFILE
|
|
|
+
|
|
|
+config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
|
|
|
+ bool "pulseaudio"
|
|
|
+ select BR2_PACKAGE_PULSEAUDIO
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
|
|
+ depends on BR2_USE_WCHAR # pulseaudio
|
|
|
+ depends on BR2_LARGEFILE # pulseaudio
|
|
|
+
|
|
|
+endchoice
|
|
|
+
|
|
|
+endif # BR2_PACKAGE_ESPEAK
|