meson: add libva wrap and fallback option

Allow for Mesa to be built with VAAPI support, without having to install
libva headers first.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38271>
This commit is contained in:
Thong Thai
2025-11-05 20:36:08 +00:00
committed by Marge Bot
parent f5eb3fe9cb
commit b4e7c13ef4
3 changed files with 19 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
[wrap-file]
directory = libva-2.22.0
source_url = https://github.com/intel/libva/archive/refs/tags/2.22.0.tar.gz
source_filename = 2.22.0.tar.gz
source_hash = 467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735
wrapdb_version = 2.22.0-1
[provide]
libva = libva_dep