Skip to contentSkip to conversation

qtbase: don't stage the fonts directory

PATCH New Martin Jansa 1 participant 1 message Oct 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: don't stage the fonts directory

* the staged files conflict with fonts staged by qt4-embedded and we don't need them in sysroot at all

---
 recipes-qt/qt5/qtbase.inc | 5 +++++
 1 file changed, 5 insertions(+)
recipes-qt/qt5/qtbase.inc +5 -0
index 176aec4..389d356 100644
@@ -249,3 +249,8 @@ FILES_${PN}-fonts-pfb            = "${OE_QMAKE_PATH_LIBS}/fonts/*.pfb"
 FILES_${PN}-fonts-qpf            = "${OE_QMAKE_PATH_LIBS}/fonts/*.qpf*"
 FILES_${PN}-fonts                = "${OE_QMAKE_PATH_LIBS}/fonts/README \
                                     ${OE_QMAKE_PATH_LIBS}/fonts/fontdir"
+
+sysroot_stage_dirs_append() {
+    # $to is 2nd parameter passed to sysroot_stage_dir, e.g. ${SYSROOT_DESTDIR} passed from sysroot_stage_all
+    rm -rf $to${OE_QMAKE_PATH_LIBS}/fonts
+}
Signature · 1 line
2.1.1