mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
11 lines
391 B
Plaintext
11 lines
391 B
Plaintext
inherit cmake_qt5
|
|
|
|
EXTRA_OECMAKE += " \
|
|
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST}"
|
|
|
|
# This function is rather offensive right now, but it seems to work
|
|
do_install_prepend() {
|
|
sed -i 's/\"\/usr\//\"\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
|
|
sed -i 's/\;\/usr\//\;\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
|
|
}
|