1#!/usr/bin/env bash 2# shellcheck disable=SC2086 # we want word splitting 3# When changing this file, you need to bump the following 4# .gitlab-ci/image-tags.yml tags: 5# KERNEL_ROOTFS_TAG 6 7set -ex 8 9git config --global user.email "mesa@example.com" 10git config --global user.name "Mesa CI" 11 12git clone \ 13 https://github.com/intel/libva-utils.git \ 14 -b 2.18.1 \ 15 --depth 1 \ 16 /va-utils 17 18pushd /va-utils 19# Too old libva in Debian 11. TODO: when this PR gets in, refer to the patch. 20curl -L https://github.com/intel/libva-utils/pull/329.patch | git am 21 22meson setup build -D tests=true -Dprefix=/va $EXTRA_MESON_ARGS 23meson install -C build 24popd 25rm -rf /va-utils 26