mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: use major version in versions
To prepare for a major version update to 1 later.
This commit is contained in:
parent
74ec5e5cb8
commit
b1f8af9538
1 changed files with 4 additions and 4 deletions
|
|
@ -23,15 +23,15 @@ endif
|
|||
spaversion = '0.2'
|
||||
apiversion = '0.3'
|
||||
soversion = 0
|
||||
libversion = '@0@.@1@.0'.format(soversion, pipewire_version_minor.to_int() * 100 + pipewire_version_micro.to_int())
|
||||
libversion_minor = pipewire_version_major.to_int() * 1000 + pipewire_version_minor.to_int() * 100 + pipewire_version_micro.to_int()
|
||||
libversion = '@0@.@1@.0'.format(soversion, libversion_minor)
|
||||
|
||||
# LADI/jack
|
||||
# 3, for PipeWire being the third JACK implementation, after JACK1 and jackdmp/JACK2)
|
||||
jack_version_major = 3
|
||||
jack_version_minor = pipewire_version_minor.to_int() * 100 + pipewire_version_micro.to_int()
|
||||
jack_version_minor = libversion_minor
|
||||
# libjack[server] version has 0 for major (for compatibility with other implementations),
|
||||
# 3 for minor, and "100*pipewire_version_minor + pipewire_version_micro"
|
||||
# as micro version (the minor libpipewire soversion number)
|
||||
# 3 for minor, and "1000*major + 100*minor + micro" as micro version (the minor libpipewire soversion number)
|
||||
libjackversion = '@0@.@1@.@2@'.format(soversion, jack_version_major, jack_version_minor)
|
||||
|
||||
pipewire_name = 'pipewire-@0@'.format(apiversion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue