1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/labwc/remove-aports-git-version.patch
prspkt c766846708 testing/labwc: fix version output
- Print snapshot version from package instead of git branch, commit
   hash.
2022-04-12 18:44:55 +00:00

16 lines
471 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -28,13 +28,6 @@
)
version='"@0@"'.format(meson.project_version())
-git = find_program('git', native: true, required: false)
-if git.found()
- git_commit = run_command([git, 'describe', '--dirty'])
- if git_commit.returncode() == 0
- version = '"@0@"'.format(git_commit.stdout().strip())
- endif
-endif
add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')
wlroots_version = ['>=0.15.0', '<0.16.0']