about summary refs log tree commit diff
path: root/pkgs/applications/misc/actiona/disable-tts.patch
blob: 977959db254c147ee751b877aa1f325d331d2479 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff --git a/actions/system/CMakeLists.txt b/actions/system/CMakeLists.txt
index ca861145..3e3d3d3b 100644
--- a/actions/system/CMakeLists.txt
+++ b/actions/system/CMakeLists.txt
@@ -66,8 +66,6 @@ set(HEADERS
     ${HEADERS_PREFIX}/actions/playsoundinstance.hpp
     ${HEADERS_PREFIX}/actions/systemdefinition.hpp
     ${HEADERS_PREFIX}/actions/systeminstance.hpp
-    ${HEADERS_PREFIX}/actions/texttospeechdefinition.hpp
-    ${HEADERS_PREFIX}/actions/texttospeechinstance.hpp
     ${HEADERS_PREFIX}/code/mediaplaylist.hpp
     ${HEADERS_PREFIX}/code/notify.hpp
     ${HEADERS_PREFIX}/code/process.hpp
@@ -131,7 +129,6 @@ find_package(Qt5 ${ACT_MINIMUM_QT_VERSION} COMPONENTS
     DBus
     Multimedia
     MultimediaWidgets
-    TextToSpeech
 REQUIRED)
 
 target_include_directories(${PROJECT}
@@ -153,7 +150,6 @@ target_link_libraries(${PROJECT}
     Qt5::DBus
     Qt5::Multimedia
     Qt5::MultimediaWidgets
-    Qt5::TextToSpeech
     ${LIBNOTIFY_LIBRARIES}
     ${BLUEZ_LIBRARIES}
     ${UDEV_LIBRARIES}
diff --git a/actions/system/src/actionpacksystem.hpp b/actions/system/src/actionpacksystem.hpp
index c5768415..27a899d6 100644
--- a/actions/system/src/actionpacksystem.hpp
+++ b/actions/system/src/actionpacksystem.hpp
@@ -31,10 +31,6 @@
 #include "actions/playsounddefinition.hpp"
 #include "actions/findimagedefinition.hpp"
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
-#include "actions/texttospeechdefinition.hpp"
-#endif
-
 #include "code/system.hpp"
 #include "code/mediaplaylist.hpp"
 #include "code/notify.hpp"
@@ -67,9 +63,6 @@ public:
 		addActionDefinition(new Actions::DetachedCommandDefinition(this));
 		addActionDefinition(new Actions::PlaySoundDefinition(this));
 		addActionDefinition(new Actions::FindImageDefinition(this));
-#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
-        addActionDefinition(new Actions::TextToSpeechDefinition(this));
-#endif
 	}
 
 	QString id() const override							{ return QStringLiteral("system"); }