meson: add dependencies needed by wsi_common_x11.c even on non-drm platforms

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11907
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32012>
(cherry picked from commit 06cca41889)
This commit is contained in:
Eric Engestrom 2024-11-06 19:31:54 +01:00 committed by Eric Engestrom
parent a47d11b736
commit 7e011814fe
2 changed files with 7 additions and 1 deletions

View file

@ -34,7 +34,7 @@
"description": "meson: add dependencies needed by wsi_common_x11.c even on non-drm platforms",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -2181,6 +2181,12 @@ if with_platform_x11
with_gallium_omx != 'disabled'))
dep_xcb_xfixes = dependency('xcb-xfixes')
endif
if with_any_vk
dep_xcb_dri3 = dependency('xcb-dri3', version : '>= 1.13')
dep_xcb_present = dependency('xcb-present', version : '>= 1.13')
dep_xcb_shm = dependency('xcb-shm')
dep_xshmfence = dependency('xshmfence', version : '>= 1.1')
endif
if with_xlib_lease or with_any_vk
dep_xcb_xrandr = dependency('xcb-randr')
endif