File version.diff of Package gimp3

diff --git a/meson.build b/meson.build
index b6fdcba714..23adb175a2 100644
--- a/meson.build
+++ b/meson.build
@@ -1610,14 +1610,14 @@ if generate_version_h
     output: 'git-version.h.in.1',
     command: [ 'git', 'describe', '--always', ],
     replace_string: '@GIMP_GIT_VERSION@',
-    fallback: 'unknown (unsupported)',
+    fallback: fs.name(meson.source_root()),
   )
   gitversion_h2 = vcs_tag(
     input : gitversion_h1,
     output: 'git-version.h.in.2',
     command: [ 'git', 'rev-parse', '--short', 'HEAD', ],
     replace_string: '@GIMP_GIT_VERSION_ABBREV@',
-    fallback: 'unknown (unsupported)',
+    fallback: fs.name(meson.source_root()).split('.')[-1],
   )
   gitversion_h = vcs_tag(
     input : gitversion_h2,
openSUSE Build Service is sponsored by