Skip to content

meson.build: Only depend on git if the profile is development

Git is only needed for getting the short sha to append to the version string in the development version of the application. And as such it shouldn't be required for normal builds.

For example, we don't stage git at all in the build environment in gnome-build-meta.

https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/451137

Edited by Jordan Petridis

Merge request reports