sddm: add cmake-extra-sanity to inherit and fix detected sysroot paths

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-09-06 13:18:24 +02:00
parent 0d791ef525
commit fe2de33162

View File

@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
REQUIRED_DISTRO_FEATURES = "x11"
inherit cmake_qt5 pkgconfig systemd useradd distro_features_check
inherit cmake_qt5 cmake-extra-sanity pkgconfig systemd useradd distro_features_check
DEPENDS += "qtbase qtdeclarative qttools-native libxcb"
# REVISIT optionals
@@ -27,6 +27,11 @@ S = "${WORKDIR}/git"
EXTRA_OECMAKE += "-DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML}"
do_configure_append() {
# fix sysroot path
sed -i 's:${STAGING_DIR_NATIVE}.*${libdir}:${libdir}:g' ${B}/src/common/Constants.h
}
do_install_append() {
install -d ${D}/${sysconfdir}
install -m 644 ${WORKDIR}/sddm.conf ${D}/${sysconfdir}