meson: remove wayland-protocol 1.39 check from top level meson.build

We do this check inside video/out/meson.build, and the subdirectory is
included before this already
This commit is contained in:
llyyr authored and Dudemanguy committed 2025-07-12 13:59:11 +00:00
1 parent 112f0000cb
commit 329c5294aa
2 files changed
+2 -7

No files matched your search

+1 -6
View File
@@ -1030,12 +1030,7 @@ if features['wayland']
subdir(join_paths('video', 'out'))
endif
foreach v: ['1.39']
features += {'wayland-protocols-' + v.replace('.', '-'):
wayland['deps'][2].version().version_compare('>=' + v)}
endforeach
if features['wayland-protocols-1-39']
if features['wayland'] and features['wayland-protocols-1-39']
sources += files('player/clipboard/clipboard-wayland.c')
endif
+1 -1
View File
@@ -40,7 +40,7 @@ static const struct clipboard_backend *const clipboard_backend_list[] = {
#if HAVE_COCOA
&clipboard_backend_mac,
#endif
#if HAVE_WAYLAND_PROTOCOLS_1_39
#if HAVE_WAYLAND && HAVE_WAYLAND_PROTOCOLS_1_39
&clipboard_backend_wayland,
#endif
&clipboard_backend_vo,