diff options
Diffstat (limited to 'community/discover/0002-Make-building-updates-KCM-optional.patch')
-rw-r--r-- | community/discover/0002-Make-building-updates-KCM-optional.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/community/discover/0002-Make-building-updates-KCM-optional.patch b/community/discover/0002-Make-building-updates-KCM-optional.patch deleted file mode 100644 index 20bcf640781..00000000000 --- a/community/discover/0002-Make-building-updates-KCM-optional.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 725ae1f2b9d4a8995881faafb323c541ff6d3c1b Mon Sep 17 00:00:00 2001 -From: Antonio Rojas <arojas@archlinux.org> -Date: Thu, 1 Jul 2021 22:24:40 +0200 -Subject: [PATCH] Make building updates KCM optional - -Some distros (such as Arch) don't support offline updates or automatic updates, so the options in the KCM are misleading and can cause unexpected behavior. ---- - CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index fa27fc77..26387b2f 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -53,7 +53,11 @@ add_subdirectory(libdiscover) - add_subdirectory(discover) - add_subdirectory(exporter) - add_subdirectory(update) --add_subdirectory(kcm) -+ -+option(WITH_KCM "Build and install the updates KCM" ON) -+if(WITH_KCM) -+ add_subdirectory(kcm) -+endif() - - option(WITH_NOTIFIER "Build and install the notifier plasmoid" ON) - if(WITH_NOTIFIER) --- -GitLab - |