From 60c6b510979a48fc3ff62237e4fc33b5adef193e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 4 May 2023 23:09:18 +0200 Subject: build: add Wayland subproject This allows developers to work on a new wayland-scanner feature and test it with wayland-protocols without too much hassle. Depends on https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/313 Signed-off-by: Simon Ser --- tests/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index 2441cce..4f7cdf8 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,6 +1,6 @@ prog_scan_sh = find_program('scan.sh') -dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true) -prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner')) +dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true, fallback: 'wayland') +prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner', internal: 'wayland_scanner')) libwayland = [ dependency('wayland-client'), -- cgit v1.2.3