summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb9
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb15
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc2
3 files changed, 11 insertions, 15 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb
index cb589bb82d..98e5090bc8 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb
@@ -93,12 +93,3 @@ do_install_append_class-native() {
93 GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders 93 GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders
94} 94}
95BBCLASSEXTEND = "native" 95BBCLASSEXTEND = "native"
96
97SSTATEPREINSTFUNCS_append_class-native = " gdkpixbuf_sstate_preinst"
98SYSROOT_PREPROCESS_FUNCS_append_class-native = " gdkpixbuf_sstate_preinst"
99
100gdkpixbuf_sstate_preinst() {
101 if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
102 rm -rf ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/*
103 fi
104}
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
index 0c29a3b377..15c8c00f0a 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
@@ -34,7 +34,7 @@ DEPENDS_append = " libffi zlib glib-2.0 python3 flex-native bison-native"
34# (standard ldd doesn't work when cross-compiling). 34# (standard ldd doesn't work when cross-compiling).
35DEPENDS_class-target_append = " gobject-introspection-native qemu-native prelink-native" 35DEPENDS_class-target_append = " gobject-introspection-native qemu-native prelink-native"
36 36
37SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir" 37SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir postinst-ldsoconf-${PN}"
38 38
39do_configure_prepend_class-native() { 39do_configure_prepend_class-native() {
40 # Tweak the native python scripts so that they don't refer to the 40 # Tweak the native python scripts so that they don't refer to the
@@ -166,8 +166,13 @@ python gobject_introspection_preconfigure () {
166 oe.utils.write_ld_so_conf(d) 166 oe.utils.write_ld_so_conf(d)
167} 167}
168 168
169SSTATEPOSTINSTFUNCS += "gobject_introspection_postinst" 169SYSROOT_PREPROCESS_FUNCS_append = " gi_ldsoconf_sysroot_preprocess"
170python gobject_introspection_postinst () { 170gi_ldsoconf_sysroot_preprocess () {
171 if d.getVar("BB_CURRENTTASK").startswith("populate_sysroot"): 171 mkdir -p ${SYSROOT_DESTDIR}${bindir}
172 oe.utils.write_ld_so_conf(d) 172 dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN}
173 echo "#!/bin/sh" > $dest
174 echo "echo mkdir -p ${STAGING_DIR_TARGET}${sysconfdir} > ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
175 echo "echo ${base_libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
176 echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
177 chmod 755 $dest
173} 178}
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index 6499ea6c8d..9c104e28c0 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -31,7 +31,7 @@ EXTRA_OECONF += " \
31 --enable-modules \ 31 --enable-modules \
32 --disable-cups \ 32 --disable-cups \
33 --disable-colord \ 33 --disable-colord \
34 WAYLAND_PROTOCOLS_SYSROOT_DIR=${STAGING_DIR}/${MACHINE} \ 34 WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT} \
35 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \ 35 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \
36 " 36 "
37EXTRA_OECONF[vardepsexclude] = "MACHINE" 37EXTRA_OECONF[vardepsexclude] = "MACHINE"