diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+.inc')
-rw-r--r-- | meta/packages/gtk+/gtk+.inc | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/meta/packages/gtk+/gtk+.inc b/meta/packages/gtk+/gtk+.inc index 3e1806f00f..e8fe233382 100644 --- a/meta/packages/gtk+/gtk+.inc +++ b/meta/packages/gtk+/gtk+.inc | |||
@@ -7,7 +7,7 @@ PRIORITY = "optional" | |||
7 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \ | 7 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \ |
8 | libgcrypt libxdamage libxrender libxcomposite cairo" | 8 | libgcrypt libxdamage libxrender libxcomposite cairo" |
9 | 9 | ||
10 | inherit autotools pkgconfig pkgconfig_stage | 10 | inherit autotools pkgconfig |
11 | 11 | ||
12 | FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ | 12 | FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ |
13 | ${bindir}/gtk-update-icon-cache \ | 13 | ${bindir}/gtk-update-icon-cache \ |
@@ -42,28 +42,26 @@ RRECOMMENDS_${PN} = "${BASE_RRECOMMENDS}" | |||
42 | RRECOMMENDS_${PN}_linux = "${GLIBC_RRECOMMENDS}" | 42 | RRECOMMENDS_${PN}_linux = "${GLIBC_RRECOMMENDS}" |
43 | RRECOMMENDS_${PN}_linux-gnueabi = "${GLIBC_RRECOMMENDS}" | 43 | RRECOMMENDS_${PN}_linux-gnueabi = "${GLIBC_RRECOMMENDS}" |
44 | 44 | ||
45 | do_stage () { | 45 | do_install () { |
46 | oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR} | 46 | autotools_do_install |
47 | oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR} | ||
48 | oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR} | ||
49 | oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR} | ||
50 | 47 | ||
51 | autotools_stage_includes | 48 | install -d ${D}${sysconfdir}/gtk-2.0 |
52 | |||
53 | mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include | ||
54 | install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h | ||
55 | |||
56 | install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/ | ||
57 | 49 | ||
58 | install -m 0644 gtk/gtkfilechooserprivate.h ${STAGING_INCDIR}/gtk-2.0/gtk/ | 50 | mkdir -p ${D}${libdir}/gtk-2.0/include |
59 | install -m 0644 gtk/gtkfilechooserutils.h ${STAGING_INCDIR}/gtk-2.0/gtk/ | 51 | install -m 0644 gdk/gdkconfig.h ${D}${libdir}/gtk-2.0/include/gdkconfig.h |
60 | install -m 0644 gtk/gtkfilesystemmodel.h ${STAGING_INCDIR}/gtk-2.0/gtk/ | ||
61 | 52 | ||
62 | install -m 755 gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE} | 53 | install -m 0644 gtk/gtkfilechooserprivate.h ${D}${includedir}/gtk-2.0/gtk/ |
54 | install -m 0644 gtk/gtkfilechooserutils.h ${D}${includedir}/gtk-2.0/gtk/ | ||
55 | install -m 0644 gtk/gtkfilesystemmodel.h ${D}${includedir}/gtk-2.0/gtk/ | ||
63 | } | 56 | } |
64 | 57 | ||
65 | do_install_append () { | 58 | SYSROOT_PREPROCESS_FUNCS += "gtk_sysroot_preprocess" |
66 | install -d ${D}${sysconfdir}/gtk-2.0 | 59 | |
60 | gtk_sysroot_preprocess () { | ||
61 | if [ -e ${D}${bindir}/gtk-builder-convert ]; then | ||
62 | install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ | ||
63 | install -m 755 ${D}${bindir}/gtk-builder-convert ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ | ||
64 | fi | ||
67 | } | 65 | } |
68 | 66 | ||
69 | postinst_prologue() { | 67 | postinst_prologue() { |