[OE-core] [PATCH] glib-2.0: recommend shared-mime-info
Ross Burton
ross.burton at intel.com
Tue Sep 5 15:08:47 UTC 2017
Large portions of GIO are not that useful without the MIME database. Add a
recommends to shared-mime-info so that GIO works out of the box, but can be
removed (using BAD_RECOMMENDATIONS) if shared-mime-info is too large and isn't
required.
[ YOCTO #11792 ]
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/glib-2.0/glib.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index d6ef4dfc0b0..ce15ccefc39 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -73,6 +73,8 @@ FILES_${PN}-codegen = "${datadir}/glib-2.0/codegen/*.py \
${bindir}/gdbus-codegen"
FILES_${PN}-utils = "${bindir}/*"
+RRECOMMENDS_${PN} += "shared-mime-info"
+
ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"
# Valgrind runtime detection works using hand-written assembly, which
--
2.11.0
More information about the Openembedded-core
mailing list