aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-04-04 01:46:08 +0200
committerKhem Raj <raj.khem@gmail.com>2019-04-06 08:22:22 -0700
commitfa70e5d4d71bfbfc7ded88ff6d8d979bf9abdae2 (patch)
tree029e212d5b1a72f40a83604e0f841b84d4312df7 /meta-gnome
parenta977ffe21465aa8887f6887107f9c7b46d9169c1 (diff)
downloadmeta-openembedded-fa70e5d4d71bfbfc7ded88ff6d8d979bf9abdae2.tar.gz
gnome-desktop3: rework gobject-introspection handling
gobject-introspection is mandatory for gnome-desktop3 - there is no configure option to enable or disable it. To handle properly, this patch does: * Make 'gobject-introspection-data' a required distro feature * To avoid trouble once pending patch removing 'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"' are in oe-core [1] - set in recipe to avoid | ERROR: gnome-desktop3-3.32.0-r0 do_configure: QA Issue: gnome-desktop3: configure was passed unrecognised options: introspection [unknown-configure-option] This does not handle MACHINE_FEATURES / qemu-usermode case but there other issues of higher priority. [1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280711.html Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
index c1a67bda9d..bba81663de 100644
--- a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
@@ -8,7 +8,11 @@ BPN = "gnome-desktop"
GNOMEBASEBUILDCLASS = "meson"
-inherit gnome pkgconfig upstream-version-is-even gobject-introspection
+inherit gnome pkgconfig upstream-version-is-even gobject-introspection distro_features_check
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
SRC_URI[archive.md5sum] = "e423ed6d648c6c4f9798fa9cd9ea8d99"
SRC_URI[archive.sha256sum] = "a6393dc5fc29fc0652ac84c73b3da205d0b0168128c4cf6d27797a08f3d07b54"