summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/gobject-introspection-data.bbclass5
-rw-r--r--meta/classes-recipe/gobject-introspection.bbclass5
2 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes-recipe/gobject-introspection-data.bbclass b/meta/classes-recipe/gobject-introspection-data.bbclass
index 7f522a1ed3..aa04c70ca6 100644
--- a/meta/classes-recipe/gobject-introspection-data.bbclass
+++ b/meta/classes-recipe/gobject-introspection-data.bbclass
@@ -11,8 +11,3 @@
11# so that qemu use can be avoided when necessary. 11# so that qemu use can be avoided when necessary.
12GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \ 12GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \
13 bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" 13 bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"
14
15do_compile:prepend() {
16 # This prevents g-ir-scanner from writing cache data to $HOME
17 export GI_SCANNER_DISABLE_CACHE=1
18}
diff --git a/meta/classes-recipe/gobject-introspection.bbclass b/meta/classes-recipe/gobject-introspection.bbclass
index 65c67ddc72..d0052cd623 100644
--- a/meta/classes-recipe/gobject-introspection.bbclass
+++ b/meta/classes-recipe/gobject-introspection.bbclass
@@ -50,6 +50,11 @@ do_configure:prepend:class-target () {
50 cp ${STAGING_DIR_NATIVE}/${datadir}/aclocal/introspection.m4 ${S}/m4 50 cp ${STAGING_DIR_NATIVE}/${datadir}/aclocal/introspection.m4 ${S}/m4
51} 51}
52 52
53do_compile:prepend() {
54 # This prevents g-ir-scanner from writing cache data to $HOME
55 export GI_SCANNER_DISABLE_CACHE=1
56}
57
53# .typelib files are needed at runtime and so they go to the main package (so 58# .typelib files are needed at runtime and so they go to the main package (so
54# they'll be together with libraries they support). 59# they'll be together with libraries they support).
55FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" 60FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib"