meson: Use Python port of glib-mkenums

This reduces the build-time dependencies of glib to only Python 3,
Meson, and git. Git is also optional if you provide a tarball in
which the subproject directories already exist.

The Python port was done by Jussi Pakkanen on bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=779332

This version contains some fixes from that and also changes all
instances of `@` to `\u0040` because Meson does not yet provide a
configure_file() mode that ignores unknown @MACRO@ values.
This commit is contained in:
Nirbheek Chauhan
2017-03-21 22:12:19 +05:30
committed by Matthias Clasen
parent ee94ad776e
commit dd8ff54736
5 changed files with 531 additions and 535 deletions

File diff suppressed because it is too large Load Diff