From: Kai Kang <[email protected]>

libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
   supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
   EXTRA_OECONF_append_pn-libunique = " --disable-introspection"

Remove empty directory to fix the QA issue.

Signed-off-by: Kai Kang <[email protected]>
---
 meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb 
b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
index 49ed07ad9..a6475cef6 100644
--- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
+++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11"
+
+do_install_append () {
+    rmdir --ignore-fail-on-non-empty ${D}${datadir}
+}
-- 
2.19.0.rc2

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

Reply via email to