Instructions for compiling librsvg are in devel-docs/compiling.rst.
You can see a rendered version here:

https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/compiling.html
