https://bugs.gentoo.org/930424
https://gitlab.freedesktop.org/wayland/weston/-/issues/890

diff -Naur a/libweston/backend-vnc/meson.build b/libweston/backend-vnc/meson.build
--- a/libweston/backend-vnc/meson.build	2023-11-27 18:01:53.000000000 +0000
+++ b/libweston/backend-vnc/meson.build	2024-04-24 23:55:22.262121014 +0100
@@ -3,7 +3,7 @@
 endif

 config_h.set('BUILD_VNC_COMPOSITOR', '1')
-dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.8.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep'])
+dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.9.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep'])
 if not dep_neatvnc.found()
 	error('VNC backend requires neatvnc which was not found. Or, you can use \'-Dbackend-vnc=false\'.')
 endif
