diff options
author | Phil Blundell <philb@gnu.org> | 2010-03-11 11:32:46 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2010-03-11 11:33:15 +0000 |
commit | f6774ecd4699f6db3fe6d1cb80db24e33f15e9d8 (patch) | |
tree | 12bbadf8e436c684ce107c97cdca0b3dd2214426 | |
parent | a9089155a6d877655230bb264f121a8db5b904fd (diff) |
gtk+: generate gdk-pixbuf.loaders during native install
-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 |