cairo is not optional anymore
The README suggests that cairo is only an optional dependency:
Cairo support depends on the Cairo library. The Cairo backend is the preferred backend [...]
However meson actually throws an error if it cannot find the library. I think this was introduced by commit 77e77bcf which doesn't have required: false
on the second dependency check. Adding this locally makes the package compile again, but not sure if this is still supported.