mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
55 lines
1.9 KiB
Diff
55 lines
1.9 KiB
Diff
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"); }
|