mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 17:40:05 +01:00
meson: Drop version subpatch handling
This commit is contained in:
parent
5d3679104a
commit
2df55813d0
1 changed files with 0 additions and 5 deletions
|
|
@ -2,11 +2,6 @@ version_split = meson.project_version().split('.')
|
|||
major = version_split[0].to_int()
|
||||
minor = version_split[1].to_int()
|
||||
patch = version_split[2].to_int()
|
||||
if version_split.length() == 4
|
||||
subpatch = version_split[3].to_int()
|
||||
else
|
||||
subpatch = 0
|
||||
endif
|
||||
|
||||
# convert to the old-style 1.x.y version scheme used up to 1.20.x for backwards compatibility
|
||||
release = 1 * 10000000 + major * 100000 + minor * 1000 + patch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue