2015-04-06 12:07:37 +02:00
|
|
|
comment "espeak needs a toolchain w/ C++, wchar, threads, dynamic library"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
2014-08-11 18:03:51 +02:00
|
|
|
depends on BR2_USE_MMU
|
2014-04-30 16:21:53 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_ESPEAK
|
|
|
|
bool "espeak"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_USE_WCHAR
|
2014-08-05 13:16:27 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-08-11 18:03:51 +02:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2015-04-06 12:07:37 +02:00
|
|
|
# does not properly support building only a static version
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-04-30 16:21:53 +02:00
|
|
|
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
|
2014-10-02 22:04:51 +02:00
|
|
|
bool "No sound backend, only produce wav files"
|
2014-04-30 16:21:53 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
|
|
|
|
bool "alsa via portaudio"
|
2017-05-07 22:38:56 +02:00
|
|
|
# Selecting portaudio generates spurious "unmet dependencies"
|
|
|
|
# warnings. Unless you are changing the dependencies of espeak
|
|
|
|
# or portaudio, just ignore those spurious warnings.
|
2014-04-30 16:21:53 +02:00
|
|
|
select BR2_PACKAGE_PORTAUDIO
|
|
|
|
select BR2_PACKAGE_PORTAUDIO_CXX
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
|
|
|
|
bool "pulseaudio"
|
2018-07-31 23:10:23 +02:00
|
|
|
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
2015-02-04 01:34:07 +01:00
|
|
|
select BR2_PACKAGE_PULSEAUDIO
|
2014-04-30 16:21:53 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif # BR2_PACKAGE_ESPEAK
|