mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
build: Add support for "staging" wayland protocols
These come in a different folder, with no stable/unstable nomenclature. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1845>
This commit is contained in:
parent
d996319cf9
commit
256939cb84
@ -911,6 +911,13 @@ if have_wayland
|
|||||||
'@0@/@1@/@2@.xml'.format(protocol_type,
|
'@0@/@1@/@2@.xml'.format(protocol_type,
|
||||||
protocol_name,
|
protocol_name,
|
||||||
output_base))
|
output_base))
|
||||||
|
elif protocol_type == 'staging'
|
||||||
|
protocol_version = p.get(2)
|
||||||
|
output_base = '@0@-@1@'.format(protocol_name, protocol_version)
|
||||||
|
input = join_paths(protocols_dir,
|
||||||
|
'@0@/@1@/@2@.xml'.format(protocol_type,
|
||||||
|
protocol_name,
|
||||||
|
output_base))
|
||||||
elif protocol_type == 'private'
|
elif protocol_type == 'private'
|
||||||
output_base = protocol_name
|
output_base = protocol_name
|
||||||
input = 'wayland/protocol/@0@.xml'.format(protocol_name)
|
input = 'wayland/protocol/@0@.xml'.format(protocol_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user