qtwebengine: show progress for do_compile

This was stolen from meta-oe / meson.bbclass - qtwebengine uses ninja for
build too.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller
2017-03-09 00:28:16 +01:00
committed by Martin Jansa
parent b72a117386
commit c4e34aaab9

View File

@@ -87,6 +87,8 @@ do_configure() {
-after ${EXTRA_QMAKEVARS_POST}
}
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
do_install_append() {
rmdir ${D}${OE_QMAKE_PATH_PLUGINS}/${BPN} ${D}${OE_QMAKE_PATH_PLUGINS} || true
sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@-L${B}[^ ]* @ @g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc