Config.in 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. comment "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. config BR2_PACKAGE_ESPEAK
  5. bool "espeak"
  6. depends on BR2_INSTALL_LIBSTDCPP
  7. depends on BR2_USE_WCHAR
  8. depends on BR2_TOOLCHAIN_HAS_THREADS
  9. depends on BR2_USE_MMU # fork()
  10. # does not properly support building only a static version
  11. depends on !BR2_STATIC_LIBS
  12. help
  13. espeak is a speech synthesizer software for English and
  14. other languages.
  15. http://espeak.sourceforge.net/
  16. if BR2_PACKAGE_ESPEAK
  17. choice
  18. prompt "choose audio backend"
  19. default BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
  20. config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
  21. bool "No sound backend, only produce wav files"
  22. config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
  23. bool "alsa via portaudio"
  24. # Selecting portaudio generates spurious "unmet dependencies"
  25. # warnings. Unless you are changing the dependencies of espeak
  26. # or portaudio, just ignore those spurious warnings.
  27. select BR2_PACKAGE_PORTAUDIO
  28. select BR2_PACKAGE_PORTAUDIO_CXX
  29. config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
  30. bool "pulseaudio"
  31. depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
  32. select BR2_PACKAGE_PULSEAUDIO
  33. endchoice
  34. endif # BR2_PACKAGE_ESPEAK