No need to compile GTK, etc. yourself. Homebrew has you covered.
brew tap caskformula/caskformula
brew install caskformula/caskformula/inkscape
Mentioned at the bottom of the page [1].