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:
@@ -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"
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user