diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-02 12:18:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-02 18:46:32 +0200 |
commit | 2b78445c5a91904a1ddd78a74f443bbb165199fc (patch) | |
tree | 56011c59236d7773bfc5ede90551c4769cb33cec /kde-plasma/discover/files | |
parent | kde-plasma/breeze-plymouth: 5.22.5 version bump (diff) | |
download | gentoo-2b78445c5a91904a1ddd78a74f443bbb165199fc.tar.gz gentoo-2b78445c5a91904a1ddd78a74f443bbb165199fc.tar.bz2 gentoo-2b78445c5a91904a1ddd78a74f443bbb165199fc.zip |
kde-plasma/discover: 5.22.5 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/discover/files')
-rw-r--r-- | kde-plasma/discover/files/discover-5.22.5-no-updates-kcm.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kde-plasma/discover/files/discover-5.22.5-no-updates-kcm.patch b/kde-plasma/discover/files/discover-5.22.5-no-updates-kcm.patch new file mode 100644 index 000000000000..e2c21ac1b997 --- /dev/null +++ b/kde-plasma/discover/files/discover-5.22.5-no-updates-kcm.patch @@ -0,0 +1,30 @@ +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 fa27fc77a..26387b2f0 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 + |