kde: move export XDG_DATA_HOME to kde-base

had trouble with plasma's kscreenlocker

| Error: Could not locate service type file kservicetypes5/ "kcmodule.desktop" , tried ("/home/superandy/.local/share", "/usr/local/share", "/usr/share") ((null):0, (null))

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-03-25 18:53:37 +01:00
parent a997613634
commit 80ad7f1333
2 changed files with 4 additions and 4 deletions

View File

@@ -19,6 +19,10 @@ SRC_URI = "${KDE_MIRROR}/stable/${BPN}/${PV}/src/${BPN}-${PV}.tar.xz"
# extra-cmake-modules cause dependent to check for python
inherit cmake_qt5 cmake-extra-sanity pythonnative
do_compile_prepend() {
export XDG_DATA_HOME=${STAGING_DATADIR}
}
FILES_${PN} += "${libdir}/plugins/kf5 ${datadir}/kf5"
FILES_${PN}-dev += "${libdir}/cmake"
FILES_${PN}-dbg += "${libdir}/plugins/kf5/.debug"

View File

@@ -3,7 +3,3 @@ inherit kde-base
KF5_VERSION = "5.19.0"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/5.19/${BPN}-${PV}.tar.xz"
do_compile_prepend() {
export XDG_DATA_HOME=${STAGING_DATADIR}
}