mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
30907c201a
Previously we only assumed to build the speechd backend. If however flite was installed, it would be picked up and could leed to it failing due to a missing dependency to qt5-multimedia required by said backend. With this we add options to deterministically toggle which of the backends to build. PR: 235900 Reported by: starikarp@dismail.de, lumiwa@gmail.com
32 lines
678 B
Prolog
32 lines
678 B
Prolog
--- src/plugins/tts/tts.pro.orig 2019-02-16 08:43:06 UTC
|
|
+++ src/plugins/tts/tts.pro
|
|
@@ -1,10 +1,12 @@
|
|
TEMPLATE = subdirs
|
|
|
|
-unix {
|
|
- CONFIG += link_pkgconfig
|
|
- config_speechd | packagesExist(speech-dispatcher) {
|
|
- SUBDIRS += speechdispatcher
|
|
- }
|
|
+with_speechd {
|
|
+ unix {
|
|
+ CONFIG += link_pkgconfig
|
|
+ config_speechd | packagesExist(speech-dispatcher) {
|
|
+ SUBDIRS += speechdispatcher
|
|
+ }
|
|
+ }
|
|
}
|
|
|
|
windows:!winrt: SUBDIRS += sapi
|
|
@@ -15,6 +17,8 @@ uikit: SUBDIRS += ios
|
|
|
|
android: SUBDIRS += android
|
|
|
|
-config_flite | config_flite_alsa {
|
|
- SUBDIRS += flite
|
|
+with_flite {
|
|
+ config_flite | config_flite_alsa {
|
|
+ SUBDIRS += flite
|
|
+ }
|
|
}
|