Initial port was by @pgriffis, with plenty of changes on top by me, @ebassi, Danny 'Guru' Forghieri, and Havard Graff.
This port has been tested on Linux (Fedora, Debian), Windows (64-bit, 32-bit), and macOS, and it produces gir files that are identical to those produced by Autotools.