diff options
-rw-r--r-- | recipes/gtk+/gtk+.inc | 17 |
1 files changed, 17 insertions, 0 deletions
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 |