... GIMP_TOOL_VERSION rather than hardcoding versions. Mostly cherry picked from commit 276d9b60 except pkg-config still checks gtk+-2.0 (not 3.0) on gimp-2-10 branch.