[mutter/wip/carlosg/xdg-activation: 4/7] build: Add support for "staging" wayland protocols




commit fe4aeb72b3fc074e1fe10e6a2978ca6734c41cf0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Apr 23 23:22:05 2021 +0200

    build: Add support for "staging" wayland protocols
    
    These come in a different folder, with no stable/unstable nomenclature.

 src/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index 85d66a455a..3ee41b9e5e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -908,6 +908,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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]