aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-04-04 01:15:32 +0200
committerKhem Raj <raj.khem@gmail.com>2019-04-06 08:22:22 -0700
commitf044b936d6986185a890bc82f681b13d19ec3e9a (patch)
treef68fe74dba38011cb2f5c2fefa5b7b39c3310187 /meta-oe/recipes-gnome
parentab1065f87a63d4e520b712ea23e134f417485f8c (diff)
downloadmeta-openembedded-contrib-f044b936d6986185a890bc82f681b13d19ec3e9a.tar.gz
libpeas: rework gobject-introspection handling
gobject-introspection is mandatory for libpeas - 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 | libpeas-1.22.0-r0 do_configure: QA Issue: libpeas: configure was passed unrecognised options: --enable-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-oe/recipes-gnome')
-rw-r--r--meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb b/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
index c1ead0670b..dd1b53e390 100644
--- a/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
+++ b/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
DEPENDS = "gnome-common gtk+3 intltool-native"
-inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache
+inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache distro_features_check
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
SRC_URI[archive.md5sum] = "a20dc55c3f88ad06da9491cfd7de7558"
SRC_URI[archive.sha256sum] = "5b2fc0f53962b25bca131a5ec0139e6fef8e254481b6e777975f7a1d2702a962"