mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -19,3 +19,5 @@ do_install() {
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += " ${datadir}/ECM"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user