Skip to contentSkip to conversation

qt5.inc: Fix packaging of plugins

PATCH New Otavio Salvador 1 participant 1 message Jun 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5.inc: Fix packaging of plugins

The qtmultimedia module install the plugins in a sub-directory however those were not being packaged. This patch fixes following QA error:

ERROR: QA Issue: qtmultimedia: Files/directories were installed but not shipped
/usr/lib/qt5/plugins/video
/usr/lib/qt5/plugins/video/videonode /usr/lib/qt5/plugins/video/videonode/libimx6vivantevideonode.so /usr/lib/qt5/plugins/video/videonode/.debug /usr/lib/qt5/plugins/video/videonode/.debug/libimx6vivantevideonode.so

---
 recipes-qt/qt5/qt5.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qt5.inc +5 -1
index dfc1c76..bb0bcdc 100644
@@ -1,4 +1,4 @@
-# Copyright (C) 2012 O.S. Systems Software LTDA.
+# Copyright (C) 2012, 2014 O.S. Systems Software LTDA.
 # Copyright (C) 2013 Martin Jansa <[email protected]>
 
 inherit qmake5
@@ -54,6 +54,8 @@ FILES_${PN}-tools-dbg = " \
 "
 FILES_${PN}-plugins-dbg = " \
     ${OE_QMAKE_PATH_PLUGINS}/*/.debug/* \
+    ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \
+    ${OE_QMAKE_PATH_PLUGINS}/*/*/*/.debug/* \
 "
 
 # extra packages
@@ -98,6 +100,8 @@ FILES_${PN}-tools = " \
 "
 FILES_${PN}-plugins = " \
     ${OE_QMAKE_PATH_PLUGINS}/*/*${SOLIBSDEV} \
+    ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \
+    ${OE_QMAKE_PATH_PLUGINS}/*/*/*/*${SOLIBSDEV} \
 "
 FILES_${PN}-mkspecs = "\
     ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
Signature · 1 line
2.0.0.rc4