Subject: bug#50769: [core-updates?] meson-build-system should set introspection=false automatically.

From: Maxime Devos <[email-masked]>
Date: Fri, 24 Sep 2021 00:23:59 +0200

User: guix
Usertags: meson
User: maximed
Usertags: things-to-clean-up-todo
Tags: easy

Hi guix,

There is currently no method for cross-compiling gobject introspection data
(see <https://issues.guix.gnu.org/50201#60> and follow-ups).  As such, it is
at times necessary to explicitely disable gobject-introspection data generation.
For meson-build-system, this can be done by setting introspection=false or
introspection_data=false (possibly using 'disable' instead of 'false'.)  It would
be nice to automate this.  By inspecting meson.options it should be possible to
determine when this needs to be done, and whether 'disable' or 'false' should
be used.

I'll look into this myself eventually.

Greetings,
Maxime.