Stuck building Gimp from source

yes. you wont get around meson anymore. Writing meson files is a bit less work than autotools stuff.