Installing RSVG on a Mac

I've already installed rsvg-convert once in a Mac, but it was using pkg-config, and now I'm trying to insert RSVG inside my own app. RSVG has many dependences, which probably should also be inside my app, but I'm not sure if that is going to work.

And before anyone says, yes, I've checked other possibilities: ImageMagick (not so configurable), qlmanage (horrible result), Inkscape (too heavy), mogrify (same then qlmanage), batik-rasterizer (doesn't support all the svg files and requires Java)... all of them has unsolvable problems, but I'm pretty sure that the RSVG problem can solved!

There is any RSVG bundle out there? There is any ready-to-go script to install RSVG without pkg-config? And if I would really need pkg-config, there is any way to install it in a temporarily folder, just to install RSVG and then disappear?

Thanks in advance.


Homebrew provides formula for librsvg. Install Homebrew and type

brew install librsvg