Patchwork [meta-oe] qwt: install Qt Designer plugins to correct directory

login
register
mail settings
Submitter Jonathan Liu
Date July 25, 2013, 2:53 a.m.
Message ID <1374720819-23241-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/54441/
State Accepted, archived
Commit 6b50a7d6621eba239380b11606110caab814eb51
Headers show

Comments

Jonathan Liu - July 25, 2013, 2:53 a.m.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta-oe/recipes-qt/qwt/qwt.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-oe/recipes-qt/qwt/qwt.inc b/meta-oe/recipes-qt/qwt/qwt.inc
index d9d47f0..60f73a6 100644
--- a/meta-oe/recipes-qt/qwt/qwt.inc
+++ b/meta-oe/recipes-qt/qwt/qwt.inc
@@ -29,10 +29,12 @@  do_install() {
     for i in * ; do
         cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX}
     done
+    install -d ${D}${libdir}/${QT_DIR_NAME}
+    mv ${D}${prefix}/plugins ${D}${libdir}/${QT_DIR_NAME}
 }
 
 PACKAGES_prepend = "${PN}-examples ${PN}-features ${PN}-plugins "
 FILES_${PN}-examples = "${bindir}/*"
 FILES_${PN}-features = "${prefix}/features"
-FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so"
-FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug"
+FILES_${PN}-plugins = "${libdir}/${QT_DIR_NAME}/plugins/designer/*.so"
+FILES_${PN}-dbg += "${libdir}/${QT_DIR_NAME}/plugins/designer/.debug"