File: no-git-version.patch

package info (click to toggle)
gcab 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 868 kB
  • sloc: ansic: 3,757; makefile: 62; sh: 23
file content (18 lines) | stat: -rw-r--r-- 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use main version instead of git version
Author: Stephen Kitt <skitt@debian.org>

This avoids needing git to build.

--- a/meson.build
+++ b/meson.build
@@ -6,10 +6,6 @@
 )
 
 git_version = []
-git = find_program('git', required: false)
-if git.found()
-  git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: true).stdout().strip().split('-')
-endif
 
 # libtool versioning
 lt_current = 2