aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gtk+
diff options
context:
space:
mode:
authorSteffen Sledz <sledz@dresearch.de>2010-03-11 12:39:14 +0100
committerSteffen Sledz <sledz@dresearch.de>2010-03-11 12:39:14 +0100
commitb35a5e4e5768d62fe7d8cdf97410e4925c9c81b2 (patch)
treef245d6188c83de85e14610a98ddac96a25f1b757 /recipes/gtk+
parent20f3db21f3b7cc50d2c661e98596d366428c348b (diff)
parent4891edc5e04a3c2bba3b121b323378d4ff062b2a (diff)
downloadopenembedded-b35a5e4e5768d62fe7d8cdf97410e4925c9c81b2.tar.gz
Merge remote branch 'upstream/org.openembedded.dev' into org.openembedded.dev
Diffstat (limited to 'recipes/gtk+')
-rw-r--r--recipes/gtk+/gtk+.inc17
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