meson: bump the minimal required vdpau version to 1.5

Signed-off-by: Chris Rankin <rankincj@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27825>
This commit is contained in:
Chris Rankin 2024-02-27 15:33:58 +00:00 committed by Marge Bot
parent 2665badcfe
commit f64e8ca7f4

View file

@ -622,7 +622,7 @@ vdpau = get_option('gallium-vdpau') \
.require(with_platform_x11, error_message : 'VDPAU state tracker requires X11 support.') \ .require(with_platform_x11, error_message : 'VDPAU state tracker requires X11 support.') \
.require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).') .require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
dep_vdpau = dependency('vdpau', version : '>= 1.4', required : vdpau) dep_vdpau = dependency('vdpau', version : '>= 1.5', required : vdpau)
if dep_vdpau.found() if dep_vdpau.found()
dep_vdpau = dep_vdpau.partial_dependency(compile_args : true) dep_vdpau = dep_vdpau.partial_dependency(compile_args : true)
pre_args += '-DHAVE_ST_VDPAU' pre_args += '-DHAVE_ST_VDPAU'