sddm: fix build for Qt 5.10

Further explanation at [1]

Checked for Qt 5.9: IMPORTS_INSTALL_DIR path was set to qtbase-native's
sysroot. From code it seems sddm used default theme as default so this bug
was not detected. There was always done the wrong thing but it turned into
a bug by oe's recipe specific sysroot.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2018-February/116806.html

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-02-21 14:36:15 +01:00
parent 8d37e897b2
commit b4ef02e257

View File

@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
REQUIRED_DISTRO_FEATURES = "x11"
inherit cmake_qt5_extra pkgconfig systemd useradd distro_features_check
inherit cmake_qt5_extra qmake5_base pkgconfig systemd useradd distro_features_check
DEPENDS += "extra-cmake-modules-native qtbase qtdeclarative qttools libxcb"
# REVISIT optionals
@@ -32,7 +32,7 @@ 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
sed -i 's:${STAGING_DIR_HOST}.*${libdir}:${libdir}:g' ${B}/src/common/Constants.h
}
do_install_append() {