1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Description: Remove git check
The original build system uses git to check version, but I causes problem in
the Debian build. So it's better to remove it completely.
.
turntable (0.3.3-1) experimental; urgency=medium
.
* Initial release. (Closes: #1109896)
Author: Danial Behzadi <dani.behzi@ubuntu.com>
Bug-Debian: https://bugs.debian.org/1109896
Forwarded: not-needed
Last-Update: 2025-07-25
--- turntable-0.3.3.orig/meson.build
+++ turntable-0.3.3/meson.build
@@ -38,15 +38,15 @@ else
config.set('LASTFM_SECRET', get_option('lastfm_secret'))
endif
-if devel
- git = find_program('git')
- if git.found()
- branch = run_command('git', 'branch', '--show-current', check: true).stdout().strip()
- revision = run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip()
- version = '@0@-@1@'.format(branch, revision)
- config.set('VERSION', version)
- endif
-endif
+#if devel
+# git = find_program('git')
+# if git.found()
+# branch = run_command('git', 'branch', '--show-current', check: true).stdout().strip()
+# revision = run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip()
+# version = '@0@-@1@'.format(branch, revision)
+# config.set('VERSION', version)
+# endif
+#endif
if host_machine.system() == 'windows'
add_project_arguments(['--define=WINDOWS'], language: 'vala')
|