kdePackages.itinerary: hack to fix build for now

Unblock Plasma 6.0 merge, proper fix soon(tm)

K900 30c4a4b8 7d939284

Changed files
+18
pkgs
+3
pkgs/kde/gear/itinerary/default.nix
···
mkKdeDerivation {
pname = "itinerary";
+
# FIXME: this should really be fixed at ECM level somehow
+
patches = [./optional-runtime-dependencies.patch];
+
extraNativeBuildInputs = [pkg-config shared-mime-info];
extraBuildInputs = [qtlocation qtpositioning libical];
}
+15
pkgs/kde/gear/itinerary/optional-runtime-dependencies.patch
···
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
+
index 55ae3280..cac86220 100644
+
--- a/CMakeLists.txt
+
+++ b/CMakeLists.txt
+
@@ -85,8 +85,8 @@ ecm_find_qmlmodule(QtPositioning 6.0)
+
ecm_find_qmlmodule(org.kde.kitemmodels 5.245)
+
ecm_find_qmlmodule(org.kde.prison 5.245)
+
ecm_find_qmlmodule(org.kde.prison.scanner 5.245)
+
-ecm_find_qmlmodule(org.kde.kosmindoormap 24.02 REQUIRED)
+
-ecm_find_qmlmodule(org.kde.kopeninghours 24.02 REQUIRED)
+
+ecm_find_qmlmodule(org.kde.kosmindoormap 24.02)
+
+ecm_find_qmlmodule(org.kde.kopeninghours 24.02)
+
+
# runtime dependencies are build-time dependencies on Android
+
if (ANDROID)