The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / espeak / Config.in
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/espeak/Config.in b/cirros-testvm/src-cirros/buildroot-2015.05/package/espeak/Config.in
new file mode 100644 (file)
index 0000000..94e2816
--- /dev/null
@@ -0,0 +1,40 @@
+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
+       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()
+       # does not properly support building only a static version
+       depends on !BR2_STATIC_LIBS
+       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_ARCH_HAS_ATOMICS # pulseaudio
+       select BR2_PACKAGE_PULSEAUDIO
+
+endchoice
+
+endif # BR2_PACKAGE_ESPEAK