meson: add processing of "staging" Wayland protocols

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5593>
This commit is contained in:
Slava Andrejev 2023-11-03 06:47:44 -07:00 committed by GStreamer Marge Bot
parent c48e96fd76
commit cad42b0511

View file

@ -47,6 +47,9 @@ if use_wayland
proto_stability = protodef.get(1) proto_stability = protodef.get(1)
if proto_stability == 'stable' if proto_stability == 'stable'
output_base = proto_name output_base = proto_name
elif proto_stability == 'staging'
proto_version = protodef.get(2)
output_base = f'@proto_name@-@proto_version@'
else else
proto_version = protodef.get(2) proto_version = protodef.get(2)
output_base = f'@proto_name@-@proto_stability@-@proto_version@' output_base = f'@proto_name@-@proto_stability@-@proto_version@'