aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-30 06:28:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-06-30 06:28:20 +0000
commit7a37e6891f898e6a26177d8cdd83863bd2671758 (patch)
treeb1cde0f2faf1c20c473ccb00eb3077c0889d4628
parentwayland: typo: ‘.’ -> ‘;’ (diff)
meson: log availability of optional wayland protocols
-rw-r--r--meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 3bad7ab2..6e219caf 100644
--- a/meson.build
+++ b/meson.build
@@ -157,11 +157,17 @@ wl_proto_xml = [
if wayland_protocols.version().version_compare('>=1.21')
add_project_arguments('-DHAVE_XDG_ACTIVATION', language: 'c')
wl_proto_xml += [wayland_protocols_datadir + '/staging/xdg-activation/xdg-activation-v1.xml']
+ xdg_activation = true
+else
+ xdg_activation = false
endif
if wayland_protocols.version().version_compare('>=1.31')
add_project_arguments('-DHAVE_FRACTIONAL_SCALE', language: 'c')
wl_proto_xml += [wayland_protocols_datadir + '/stable/viewporter/viewporter.xml']
wl_proto_xml += [wayland_protocols_datadir + '/staging/fractional-scale/fractional-scale-v1.xml']
+ fractional_scale = true
+else
+ fractional_scale = false
endif
foreach prot : wl_proto_xml
@@ -372,6 +378,8 @@ summary(
'Themes': get_option('themes'),
'IME': get_option('ime'),
'Grapheme clustering': utf8proc.found(),
+ 'Wayland: xdg-activation-v1': xdg_activation,
+ 'Wayland: fractional-scale-v1': fractional_scale,
'utmp backend': utmp_backend,
'utmp helper default path': utmp_default_helper_path,
'Build terminfo': tic.found(),