mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-09-19 00:49:34 +02:00
Make ECM a dependency for all frameworks
Summary: Also, add a temporary workaround for ECM requiring lrelease/lconvert host tools if the KF5 sources include translations (which they do when using tags). We of course need to fix that eventually, but right now that just prevents anything from building. Reviewers: cordlandwehr Reviewed By: cordlandwehr Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D6976
This commit is contained in:
@@ -2,7 +2,14 @@ inherit cmake_qt5
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST}"
|
||||
|
||||
|
||||
DEPENDS += "ecm"
|
||||
|
||||
# FIXME: using tags gives us translations, translations require lrelease/lconvert host tools, the ecm recipe can't deal with that yet...
|
||||
do_configure_prepend() {
|
||||
rm -rf ${S}/po
|
||||
}
|
||||
|
||||
# This function is rather offensive right now, but it seems to work
|
||||
do_install_prepend() {
|
||||
if [ "0" -ne $(find . -name \*.cmake | grep _usr | wc -l) ]; then
|
||||
|
||||
Reference in New Issue
Block a user