68161802eb
The BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC dependency of BR2_PACKAGE_PULSEAUDIO was not properly propagated to reverse dependencies, causing the following kconfig warning: warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO && BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_KODI_PULSEAUDIO && BR2_PACKAGE_MPD_PULSEAUDIO && BR2_PACKAGE_EFL_PULSEAUDIO) selects BR2_PACKAGE_PULSEAUDIO which has unmet direct dependencies (BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS && BR2_USE_MMU) This commit fixes that by propagating the dependency as it should have been done. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
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"
|
|
# Selecting portaudio generates spurious "unmet dependencies"
|
|
# warnings. Unless you are changing the dependencies of espeak
|
|
# or portaudio, just ignore those spurious warnings.
|
|
select BR2_PACKAGE_PORTAUDIO
|
|
select BR2_PACKAGE_PORTAUDIO_CXX
|
|
|
|
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
|
|
bool "pulseaudio"
|
|
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
|
select BR2_PACKAGE_PULSEAUDIO
|
|
|
|
endchoice
|
|
|
|
endif # BR2_PACKAGE_ESPEAK
|