[OE-core] [PATCH 10/14] gtk+3: add dependencies for gtk+3-demo

Ross Burton ross.burton at intel.com
Thu May 30 13:52:44 UTC 2013


The demo loads PNG files and sniffs mime types, so ensure that these
dependencies are present so the demo actually works.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb b/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb
index 1e0fed2..cc51fcd 100644
--- a/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb
+++ b/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb
@@ -65,6 +65,10 @@ FILES_${PN}-demo = "${bindir}/gtk3-demo \
                     ${bindir}/gtk3-widget-factory \
                     ${datadir}/gtk-3.0/demo"
 
+# The demo uses PNG files and mime type sniffing, so ensure that these
+# dependencies are present.
+RDEPENDS_${PN}-demo += "gdk-pixbuf-loader-png shared-mime-info"
+
 FILES_${PN} = "${bindir}/gtk-update-icon-cache-3.0 \
                ${bindir}/gtk-query-immodules-3.0 \
                ${bindir}/gtk-launch \
-- 
1.7.10.4




More information about the Openembedded-core mailing list