From 29ac2c3000d684af78ff853406ee0817f829fe81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 1 Sep 2015 19:48:16 +0200 Subject: [PATCH] kded: create dummy native executable for CMake's sake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-kde/kf5/tier3/kded/kded-native.bb | 8 ++++++++ recipes-kde/kf5/tier3/kded/kded.bb | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 recipes-kde/kf5/tier3/kded/kded-native.bb diff --git a/recipes-kde/kf5/tier3/kded/kded-native.bb b/recipes-kde/kf5/tier3/kded/kded-native.bb new file mode 100644 index 00000000..41df4ec7 --- /dev/null +++ b/recipes-kde/kf5/tier3/kded/kded-native.bb @@ -0,0 +1,8 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +CMAKE_DUMMY_BINARIES = "kded5" + +inherit cmake-native-dummy + + diff --git a/recipes-kde/kf5/tier3/kded/kded.bb b/recipes-kde/kf5/tier3/kded/kded.bb index 32adc790..b14b8954 100644 --- a/recipes-kde/kf5/tier3/kded/kded.bb +++ b/recipes-kde/kf5/tier3/kded/kded.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \ inherit kde-kf5 cmake-lib -DEPENDS += "kconfig kcoreaddons kcrash kdbusaddons kdoctools kinit kservice" +DEPENDS += "${BPN}-native kconfig kcoreaddons kcrash kdbusaddons kdoctools kinit kservice" PV = "${KF5_VERSION}" SRC_URI[md5sum] = "f51103fa7e7df6ba60592853aa57276e" @@ -17,8 +17,8 @@ SRC_URI += "file://0001-hardcode-path-to-kconf_update.patch" CMAKE_ALIGN_SYSROOT[1] = "KDED, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" CMAKE_ALIGN_SYSROOT[2] = "KDED, -S${includedir}, -S${STAGING_INCDIR}" -# executables REVISIT -> native -#CMAKE_ALIGN_SYSROOT[3] = "KDED, -S${bindir}, -S${STAGING_BINDIR}" +# kded's kded5 is not required for build -> point to native dummy to make cmake happy +CMAKE_ALIGN_SYSROOT[3] = "KDED, -S${bindir}/kded5, -S${STAGING_BINDIR_NATIVE}/kded5" FILES_${PN} += "${datadir}/dbus-1 ${datadir}/k*5 ${libdir}/libkdeinit5_kded5.so" FILES_${PN}-dev = "${libdir}/cmake"