kactivites: fix build
kactivities was not compiling, due to "desktopfileparser" trying to locate "kfileitemactionplugin.desktop" in the target's default /usr/*/share directories. Add the host datadir to fix this. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
This commit is contained in:
committed by
Andreas Müller
parent
c84244c13d
commit
ded125a886
@@ -14,6 +14,11 @@ PV = "${KF5_VERSION}"
|
||||
SRC_URI[md5sum] = "a6c41e3ca997e878c6bc354fe854d10b"
|
||||
SRC_URI[sha256sum] = "799acd58d0feffea63d2ea09cf183a6205c549452669bf5764f0104e0d831219"
|
||||
|
||||
do_compile_prepend() {
|
||||
# Error: Could not locate service type file kservicetypes5/ "kfileitemactionplugin.desktop" , tried ...
|
||||
export XDG_DATA_HOME=${STAGING_DATADIR}
|
||||
}
|
||||
|
||||
# cross libs / headers
|
||||
CMAKE_ALIGN_SYSROOT[1] = "KF5Activities, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib"
|
||||
CMAKE_ALIGN_SYSROOT[2] = "KF5Activities, -S${includedir}, -S${STAGING_INCDIR}"
|
||||
|
||||
Reference in New Issue
Block a user