From c4407d148da76599afbc627eb6e10f07f1ff178b Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Mon, 31 Jul 2017 14:31:57 -0400 Subject: [PATCH] Remove external TTS dependencies. --- QGCExternalLibs.pri | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index e25abb0a9..06cb2e1fb 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -92,46 +92,6 @@ MacBuild { -lSDL2 } -## -# [OPTIONAL] Speech synthesis library support. -# Can be forcibly disabled by adding a `DEFINES+=DISABLE_SPEECH` argument to qmake. -# Linux support requires the eSpeak speech synthesizer (espeak). -# Mac support is provided in Snow Leopard and newer (10.6+) -# Windows is supported as of Windows 7 -# -contains (DEFINES, DISABLE_SPEECH) { - message("Skipping support for speech output (manual override from command line)") - DEFINES -= DISABLE_SPEECH -# Otherwise the user can still disable this feature in the user_config.pri file. -} else:exists(user_config.pri):infile(user_config.pri, DEFINES, DISABLE_SPEECH) { - message("Skipping support for speech output (manual override from user_config.pri)") -} else:LinuxBuild { - exists(/usr/include/espeak) | exists(/usr/local/include/espeak) { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED - LIBS += \ - -lespeak - } else { - warning("Skipping support for speech output (missing libraries, see README)") - } -} -# Mac support is built into OS 10.6+. -else:MacBuild|iOSBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED -} -# Windows supports speech through native API. -else:WindowsBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED - LIBS += -lOle32 -} -# Android supports speech through native (Java) API. -else:AndroidBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED -} - # # [OPTIONAL] Zeroconf for UDP links # -- 2.22.0