xref: /OK3568_Linux_fs/buildroot/package/espeak/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "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
4
5config 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.
16
17	  http://espeak.sourceforge.net/
18
19if BR2_PACKAGE_ESPEAK
20
21choice
22	prompt "choose audio backend"
23	default BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
24
25config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
26	bool "No sound backend, only produce wav files"
27
28config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
29	bool "alsa via portaudio"
30	# Selecting portaudio generates spurious "unmet dependencies"
31	# warnings. Unless you are changing the dependencies of espeak
32	# or portaudio, just ignore those spurious warnings.
33	select BR2_PACKAGE_PORTAUDIO
34	select BR2_PACKAGE_PORTAUDIO_CXX
35
36config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
37	bool "pulseaudio"
38	depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
39	select BR2_PACKAGE_PULSEAUDIO
40
41endchoice
42
43endif # BR2_PACKAGE_ESPEAK
44