Enable building native variants of the KF5 packages too

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D6985
This commit is contained in:
Volker Krause
2017-07-29 21:38:57 +02:00
parent b8b1b99c6d
commit 9c973e8940
2 changed files with 7 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
inherit cmake_qt5
EXTRA_OECMAKE += " \
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST}"
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \
-DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/usr/lib/cmake \
"
DEPENDS += "ecm"
@@ -17,3 +19,5 @@ do_install_prepend() {
sed -i 's/\;\/usr\//\;\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
fi
}
BBCLASSEXTEND = "native nativesdk"

View File

@@ -19,3 +19,5 @@ do_install() {
}
FILES_${PN}-dev += " ${datadir}/ECM"
BBCLASSEXTEND = "native nativesdk"