summaryrefslogtreecommitdiff
path: root/package/espeak/Config.in
blob: 607d5b039913586ab8bee781b1ee4ffafd3be9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"
	depends on BR2_LARGEFILE # pulseaudio
	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
	select BR2_PACKAGE_PULSEAUDIO

comment "pulseaudio backend needs a toolchain with largefile"
	depends on !BR2_LARGEFILE
	depends on BR2_ARCH_HAS_ATOMICS

endchoice

endif # BR2_PACKAGE_ESPEAK