With a couple of fixes, it is possible to generate the win32 gir, tested on msys2.
Fixes: #5112 (closed)