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