Skip to contentSkip to conversation

qtwebengine: show progress for do_compile

PATCH In review Andreas Müller 2 participants 2 messages Mar 8, 2017 – Mar 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtwebengine: show progress for do_compile

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

---
 recipes-qt/qt5/qtwebengine_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-qt/qt5/qtwebengine_git.bb +2 -0
index 8e60d72..b945363 100644
@@ -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
Signature · 1 line
2.9.3
#1 lore raw

\o/ thanks, it takes forever, so it's nice to have progress status!

Quoted 29 lines · Andreas Müller

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

---
 recipes-qt/qt5/qtwebengine_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-qt/qt5/qtwebengine_git.bb +2 -0
index 8e60d72..b945363 100644
@@ -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
Signature · 7 lines
2.9.3

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel