diff --git a/recipes-application/plasma-mobile/kweather.inc b/recipes-application/plasma-mobile/kweather.inc index 5c06fe3..df23b76 100644 --- a/recipes-application/plasma-mobile/kweather.inc +++ b/recipes-application/plasma-mobile/kweather.inc @@ -17,7 +17,7 @@ DEPENDS = " \ kirigami-addons \ knotifications \ kquickcharts \ - plasma-framework \ + libplasma \ kweathercore \ " diff --git a/recipes-application/plasma-mobile/kweather/851d28f0f7cee27aecd40a949436e4b73a3afb0f.patch b/recipes-application/plasma-mobile/kweather/851d28f0f7cee27aecd40a949436e4b73a3afb0f.patch new file mode 100644 index 0000000..7c16f61 --- /dev/null +++ b/recipes-application/plasma-mobile/kweather/851d28f0f7cee27aecd40a949436e4b73a3afb0f.patch @@ -0,0 +1,53 @@ +From 851d28f0f7cee27aecd40a949436e4b73a3afb0f Mon Sep 17 00:00:00 2001 +From: Jonathan Esk-Riddell +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 + diff --git a/recipes-application/plasma-mobile/kweather_24.01.80.bb b/recipes-application/plasma-mobile/kweather_24.01.80.bb index cd7cbf9..ba8dfe2 100644 --- a/recipes-application/plasma-mobile/kweather_24.01.80.bb +++ b/recipes-application/plasma-mobile/kweather_24.01.80.bb @@ -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"