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>
This commit is contained in:
Andreas Müller 2019-04-04 01:15:32 +02:00 committed by Khem Raj
parent ab1065f87a
commit f044b936d6

View File

@ -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"