It looks like this project uses a python script included with meson to generate the version script, so it should be equally possible to generate a def file.