qwt: fix unpackaged files
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 5 Dec 2012 21:29:26 +0000 (22:29 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:26:01 +0000 (08:26 -0800)
* fixes:
qwt-6.0.1: qwt: Files/directories were installed but not shipped
  /usr/features
  /usr/doc
  /usr/plugins
  /usr/features/qwtconfig.pri
  /usr/features/qwtmathml.prf
  /usr/features/qwt.prf
  /usr/plugins/designer
  /usr/plugins/designer/libqwt_designer_plugin.so
  /usr/plugins/designer/.debug
  /usr/plugins/designer/.debug/libqwt_designer_plugin.so

(From meta-openembedded rev: 609e4e98967955cff5004b4afc3eaa84b423394d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-qt/qwt/qwt-e_6.0.1.bb
meta-openembedded/meta-oe/recipes-qt/qwt/qwt.inc
meta-openembedded/meta-oe/recipes-qt/qwt/qwt_6.0.1.bb

index 7f0e43b..af9d956 100644 (file)
@@ -2,6 +2,8 @@ inherit qt4e
 
 require qwt.inc
 
+PR = "r1"
+
 SRC_URI[qwt.md5sum] = "ace68558eab873e2da7e641179c4ef0c"
 SRC_URI[qwt.sha256sum] = "3fe19dd5962d705632fc2ef616b009299de6cf1e702538296924dbfdc8003cb2"
 
index 50f4e2a..d9d47f0 100644 (file)
@@ -22,6 +22,7 @@ do_install() {
     oe_runmake -e install
     install -d ${D}${datadir}/doc/${PN}
     mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/
+    rmdir ${D}${prefix}/doc
     cd ${S}/examples
     install -d ${D}/${bindir}
     cd bin${QT_LIBINFIX}/
@@ -30,5 +31,8 @@ do_install() {
     done
 }
 
-PACKAGES_prepend = "${PN}-examples "
+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"
index e7eb7b7..f38816a 100644 (file)
@@ -2,6 +2,8 @@ inherit qt4x11
 
 require qwt.inc
 
+PR = "r1"
+
 SRC_URI[qwt.md5sum] = "ace68558eab873e2da7e641179c4ef0c"
 SRC_URI[qwt.sha256sum] = "3fe19dd5962d705632fc2ef616b009299de6cf1e702538296924dbfdc8003cb2"