From 05e588c3330aa1bc7c45b26afb4c1f53266548a0 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 1 Dec 2021 17:48:01 +0200 Subject: [PATCH] update .knsrc file --update knsrc file in new way of handling online latte indicators and in this way support at the same time latte indicators to be installed from Plasma LookNFeel packages. --because of previous change the new required kde frameworks version is 5.71 --- CMakeLists.txt | 2 +- README.md | 46 ++++++++++++++++++-------------------- app/latte-indicators.knsrc | 4 ++-- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ee5ce24c..da175b36b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(BUG_ADDRESS "https://bugs.kde.org/enter_bug.cgi?product=lattedock") set(FAQS "https://userbase.kde.org/LatteDock/FAQ") set(QT_MIN_VERSION "5.9.0") -set(KF5_MIN_VERSION "5.48.0") +set(KF5_MIN_VERSION "5.71.0") set(KF5_LOCALE_PREFIX "") diff --git a/README.md b/README.md index 2282246fb..32d6c97f9 100644 --- a/README.md +++ b/README.md @@ -41,30 +41,28 @@ Minimum requirements: Qt5Gui >= 5.12.0 Qt5Dbus >= 5.12.0 - KF5Plasma >= 5.48.0 - KF5PlasmaQuick >= 5.48.0 - KF5Activities >= 5.48.0 - KF5CoreAddons >= 5.48.0 - KF5GuiAddons >= 5.48.0 - KF5DBusAddons >= 5.48.0 - KF5Declarative >= 5.48.0 - KF5Kirigami2 >= 5.48.0 - KF5Wayland >= 5.48.0 - KF5Package >= 5.48.0 - KF5XmlGui >= 5.48.0 - KF5IconThemes >= 5.48.0 - KF5KIO >= 5.48.0 - KF5I18n >= 5.48.0 - KF5Notifications >= 5.48.0 - KF5NewStuff >= 5.48.0 - KF5Archive >= 5.48.0 - KF5GlobalAccel >= 5.48.0 - KF5Crash >= 5.48.0 - - KSysGuard [reguired only for kf5<=5.61] - - For X11 support: - KF5WindowSystem >= 5.48.0 + KF5Plasma >= 5.71.0 + KF5PlasmaQuick >= 5.71.0 + KF5Activities >= 5.71.0 + KF5CoreAddons >= 5.71.0 + KF5GuiAddons >= 5.71.0 + KF5DBusAddons >= 5.71.0 + KF5Declarative >= 5.71.0 + KF5Kirigami2 >= 5.71.0 + KF5Wayland >= 5.71.0 + KF5Package >= 5.71.0 + KF5XmlGui >= 5.71.0 + KF5IconThemes >= 5.71.0 + KF5KIO >= 5.71.0 + KF5I18n >= 5.71.0 + KF5Notifications >= 5.71.0 + KF5NewStuff >= 5.71.0 + KF5Archive >= 5.71.0 + KF5GlobalAccel >= 5.71.0 + KF5Crash >= 5.71.0 + + For X11 support: + KF5WindowSystem >= 5.71.0 Qt5X11Extras >= 5.7.0 libxcb libxcb-randr diff --git a/app/latte-indicators.knsrc b/app/latte-indicators.knsrc index 4886c6714..96e6b397e 100644 --- a/app/latte-indicators.knsrc +++ b/app/latte-indicators.knsrc @@ -33,5 +33,5 @@ Name[zh_TW]=Latte 指示器 ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml Categories=Latte Indicators StandardResource=tmp -InstallationCommand=kpackagetool5 --install %f --type Latte/Indicator -UninstallCommand=kpackagetool5 --remove %f --type Latte/Indicator +Uncompress=kpackage +KPackageType=Latte/Indicator