meson: Clean up client_protocols

This commit is contained in:
Alexander Orzechowski 2022-09-24 06:51:19 -04:00 committed by Simon Ser
parent b5cfd43deb
commit cc2779330f

View File

@ -82,14 +82,13 @@ client_protos_src = []
client_protos_headers = [] client_protos_headers = []
client_protocols = [ client_protocols = [
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'], wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
[wl_protocol_dir, 'staging/ext-session-lock/ext-session-lock-v1.xml'], wl_protocol_dir / 'staging/ext-session-lock/ext-session-lock-v1.xml',
['wlr-layer-shell-unstable-v1.xml'], 'wlr-layer-shell-unstable-v1.xml',
['wlr-input-inhibitor-unstable-v1.xml'], 'wlr-input-inhibitor-unstable-v1.xml',
] ]
foreach p : client_protocols foreach xml : client_protocols
xml = join_paths(p)
client_protos_src += wayland_scanner_code.process(xml) client_protos_src += wayland_scanner_code.process(xml)
client_protos_headers += wayland_scanner_client.process(xml) client_protos_headers += wayland_scanner_client.process(xml)
endforeach endforeach