opnsense-ports/accessibility/qt5-speech/files/patch-qtspeech.pro

19 lines
385 B
Prolog

--- qtspeech.pro.orig 2019-02-16 08:32:35 UTC
+++ qtspeech.pro
@@ -1,7 +1,11 @@
load(configure)
-qtCompileTest(flite)
-qtCompileTest(flite_alsa)
-!packagesExist(speech-dispatcher) {
- qtCompileTest(speechd)
+with_flite {
+ qtCompileTest(flite)
+ qtCompileTest(flite_alsa)
+}
+with_speechd {
+ !packagesExist(speech-dispatcher) {
+ qtCompileTest(speechd)
+ }
}
load(qt_parts)