From b95846a28c43dc632aade7102e8488b81685d235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 22 Dec 2025 16:15:21 +0100 Subject: [PATCH] meson: check wayland-scanner version At least 1.23 is needed for 1.38 protocols. Also check other Wayland deps to be 1.23, they are likely bundled at the same version as scanner anyway. --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 07b892f96d..01066f2d56 100644 --- a/meson.build +++ b/meson.build @@ -1033,14 +1033,14 @@ if features['d3d11'] endif wayland = { - 'deps': [dependency('wayland-client', version: '>= 1.22.0', required: get_option('wayland')), - dependency('wayland-cursor', version: '>= 1.22.0', required: get_option('wayland')), + 'deps': [dependency('wayland-client', version: '>= 1.23.0', required: get_option('wayland')), + dependency('wayland-cursor', version: '>= 1.23.0', required: get_option('wayland')), dependency('wayland-protocols', version: '>= 1.38', required: get_option('wayland')), dependency('xkbcommon', version: '>= 0.3.0', required: get_option('wayland'))], 'header': cc.has_header('linux/input-event-codes.h', required: get_option('wayland'), # Pass CFLAGS from a related package as a hint for non-Linux dependencies: dependency('wayland-client', required: get_option('wayland'))), - 'scanner': find_program('wayland-scanner', required: get_option('wayland')), + 'scanner': find_program('wayland-scanner', version: '>= 1.23.0', required: get_option('wayland')), } wayland_deps = true foreach dep: wayland['deps']