milou: fix build for kf5 5.8.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-03-18 17:51:43 +01:00
parent 1c3eaceb69
commit b336a4296b
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
From a53085390be6a1f6405abd93694cd612841a60fc Mon Sep 17 00:00:00 2001
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Thu, 5 Mar 2015 18:31:57 +0100
Subject: [PATCH] Add missing KF5 dependancies
KDeclarative no longer pulls them in
Reviewed-by: Vishesh Handa
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 070391f..a99df1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,7 @@ find_package(ECM 1.2.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Script Qml Quick Widgets Test)
-find_package(KF5 REQUIRED COMPONENTS Runner Plasma I18n Declarative)
+find_package(KF5 REQUIRED COMPONENTS CoreAddons I18n Declarative Service Plasma Runner)
include(FeatureSummary)
include(ECMAddTests)
--
1.9.3

View File

@@ -15,11 +15,13 @@ DEPENDS += " \
plasma-framework \
ki18n \
kdeclarative \
kservice \
"
PV = "${PLASMA_VERSION}"
SRC_URI[md5sum] = "68f3bec27aa66de065cf2fb087d8bd95"
SRC_URI[sha256sum] = "d6472ca1ce2fb865a856c1b3008a5c8c385df3e9bbe991cb7f03bfc50f77abe0"
SRC_URI += "file://0001-Add-missing-KF5-dependancies.patch"
FILES_${PN} += " \
${datadir}/k*5 \