From 256939cb84b903eebb97aba9a8ef76b0b51f7e58 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 23 Apr 2021 23:22:05 +0200 Subject: [PATCH] build: Add support for "staging" wayland protocols These come in a different folder, with no stable/unstable nomenclature. Part-of: --- src/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/meson.build b/src/meson.build index 5e4aff9b6..39008a3b0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -911,6 +911,13 @@ if have_wayland '@0@/@1@/@2@.xml'.format(protocol_type, protocol_name, 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' output_base = protocol_name input = 'wayland/protocol/@0@.xml'.format(protocol_name)