From 4d3ebb9d83cff59f5a2df75a7100fcd84b2768b4 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sat, 29 Jan 2022 12:07:35 -0600 Subject: meson: add version check to wayland-protocols This was mistakenly left out. mpv requires at least 1.15 for the xdg-decoration protocol. This just matches the waf build. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 842241b363..ce28e18dea 100644 --- a/meson.build +++ b/meson.build @@ -1035,7 +1035,7 @@ wayland = { 'name': 'wayland', 'deps': [dependency('wayland-client', version: '>= 1.15.0', required: get_option('wayland')), dependency('wayland-cursor', version: '>= 1.15.0', required: get_option('wayland')), - dependency('wayland-protocols', required: get_option('wayland')), + dependency('wayland-protocols', version: '>= 1.15', required: get_option('wayland')), dependency('xkbcommon', version: '>= 0.3.0', required: get_option('wayland'))], 'header': cc.check_header('linux/input-event-codes.h', required: get_option('wayland')), 'scanner': find_program('wayland-scanner', required: get_option('wayland')), -- cgit v1.2.3