kweather: update an patch for beta 1 compatibility

This commit is contained in:
Andreas Cord-Landwehr
2023-12-18 19:56:31 +01:00
parent 29f170a4a9
commit 9b7542c226
3 changed files with 55 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ DEPENDS = " \
kirigami-addons \
knotifications \
kquickcharts \
plasma-framework \
libplasma \
kweathercore \
"

View File

@@ -0,0 +1,53 @@
From 851d28f0f7cee27aecd40a949436e4b73a3afb0f Mon Sep 17 00:00:00 2001
From: Jonathan Esk-Riddell <jr@jriddell.org>
Date: Fri, 24 Nov 2023 15:37:12 +0000
Subject: [PATCH] use kweathercore updated for kf6
---
CMakeLists.txt | 2 +-
src/CMakeLists.txt | 2 +-
src/plasmoid/CMakeLists.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee960fa9..cc2d20d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,7 +67,7 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
Notifications
)
-find_package(KF6KWeatherCore 0.6.0 REQUIRED)
+find_package(KWeatherCore 0.8.0 REQUIRED)
find_package(KF6KirigamiAddons 0.11 REQUIRED)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 87ae56a4..6bab3f8a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -135,7 +135,7 @@ target_link_libraries(kweather
KF6::I18n
KF6::CoreAddons
KF6::Notifications
- KF6::KWeatherCore
+ KWeatherCore
kweatherLib
kweatherbackgroundsplugin
kweatherbackgroundscomponentsplugin
diff --git a/src/plasmoid/CMakeLists.txt b/src/plasmoid/CMakeLists.txt
index 1a9444d8..15a1ce9f 100644
--- a/src/plasmoid/CMakeLists.txt
+++ b/src/plasmoid/CMakeLists.txt
@@ -18,7 +18,7 @@ add_library(plasma_applet_kweather_1x4 MODULE ${kweather_1x4_SRCS})
target_link_libraries(plasma_applet_kweather_1x4
Qt::Gui
Qt::Qml
- KF6::KWeatherCore
+ KWeatherCore
Plasma::Plasma
KF6::I18n
kweatherLib)
--
GitLab

View File

@@ -3,4 +3,5 @@
require ${PN}.inc
SRC_URI = "https://download.kde.org/unstable/release-service/24.01.80/src/kweather-24.01.80.tar.xz"
SRC_URI += "file://851d28f0f7cee27aecd40a949436e4b73a3afb0f.patch"
SRC_URI[sha256sum] = "07e0432d0c415b8df64cc4b2fd3a00768a08616b948a048eb5aa2b08304f8230"