From f6774ecd4699f6db3fe6d1cb80db24e33f15e9d8 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Thu, 11 Mar 2010 11:32:46 +0000 Subject: [PATCH] gtk+: generate gdk-pixbuf.loaders during native install --- recipes/gtk+/gtk+.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/recipes/gtk+/gtk+.inc b/recipes/gtk+/gtk+.inc index 268657be0e..0444ff2f0d 100644 --- a/recipes/gtk+/gtk+.inc +++ b/recipes/gtk+/gtk+.inc @@ -66,6 +66,23 @@ do_install_append () { rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la } +do_install_virtclass-native () { + autotools_do_install + + mkdir -p ${D}${libdir}/gtk-2.0/include + install -m 0644 gdk/gdkconfig.h ${D}${libdir}/gtk-2.0/include/gdkconfig.h + # Copy over all headers, since the maemo stuff needs access to the private api. *sigh* + cp gtk/*.h ${D}${includedir}/gtk-2.0/gtk/ + + install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/ + + install -d ${D}${sysconfdir}/gtk-2.0 + rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la + + mkdir -p "${D}${sysconfdir}/gtk-2.0" + ${B}/gdk-pixbuf/gdk-pixbuf-query-loaders > "${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders" +} + postinst_prologue() { if [ "x$D" != "x" ]; then exit 1 -- 2.39.5