diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-12-26 10:47:46 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-12-28 02:03:07 +0100 |
commit | dcb7af3c6b6b2dae8123f53f472814add3ceba5b (patch) | |
tree | 5d7ba9cda469c1b4436a4c8c848e6d6ccdc9ca89 /kde-misc | |
parent | mate-extra/mate-sensors-applet: remove unused patch(es) (diff) | |
download | gentoo-dcb7af3c6b6b2dae8123f53f472814add3ceba5b.tar.gz gentoo-dcb7af3c6b6b2dae8123f53f472814add3ceba5b.tar.bz2 gentoo-dcb7af3c6b6b2dae8123f53f472814add3ceba5b.zip |
kde-misc/kdeconnect: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch b/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch deleted file mode 100644 index bec66fd64538..000000000000 --- a/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 97e47efdf6626fa0ae282684ab50ee6fce67d642 Mon Sep 17 00:00:00 2001 -From: Heiko Becker <heiko.becker@kde.org> -Date: Mon, 20 Mar 2023 20:33:11 +0100 -Subject: [PATCH] Make mmtelephony plugin optional - -I see little purpose in pulling that stack in on a desktop computer, -which doesn't even have a modem. ---- - plugins/CMakeLists.txt | 5 ++++- - plugins/mmtelephony/CMakeLists.txt | 1 - - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt -index dda19398b..1e304b88e 100644 ---- a/plugins/CMakeLists.txt -+++ b/plugins/CMakeLists.txt -@@ -39,7 +39,10 @@ if(NOT SAILFISHOS) - add_subdirectory(virtualmonitor) - - if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") -- add_subdirectory(mmtelephony) -+ find_package(KF5ModemManagerQt ${KF5_MIN_VERSION}) -+ if (TARGET KF5::ModemManagerQt) -+ add_subdirectory(mmtelephony) -+ endif() - endif() - - if(NOT WIN32) -diff --git a/plugins/mmtelephony/CMakeLists.txt b/plugins/mmtelephony/CMakeLists.txt -index 1fd9afe1e..c792b4c7c 100644 ---- a/plugins/mmtelephony/CMakeLists.txt -+++ b/plugins/mmtelephony/CMakeLists.txt -@@ -1,4 +1,3 @@ --find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ModemManagerQt) - set(debug_file_SRCS) - ecm_qt_declare_logging_category( - debug_file_SRCS HEADER plugin_mmtelephony_debug.h --- -GitLab - |