build: add support for building with meson
I realise this probably won't land upstream since we don't really want python in our bootstrapping process, but I needed to add this anyway to add it as subproject to apk-toolsd, so I figured opening a MR wouldn't hurt.