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 |
|
---|
7 | set -ex
|
---|
8 |
|
---|
9 | git config --global user.email "[email protected]"
|
---|
10 | git config --global user.name "Mesa CI"
|
---|
11 |
|
---|
12 | git clone \
|
---|
13 | https://github.com/intel/libva-utils.git \
|
---|
14 | -b 2.18.1 \
|
---|
15 | --depth 1 \
|
---|
16 | /va-utils
|
---|
17 |
|
---|
18 | pushd /va-utils
|
---|
19 | # Too old libva in Debian 11. TODO: when this PR gets in, refer to the patch.
|
---|
20 | curl -L https://github.com/intel/libva-utils/pull/329.patch | git am
|
---|
21 |
|
---|
22 | meson setup build -D tests=true -Dprefix=/va $EXTRA_MESON_ARGS
|
---|
23 | meson install -C build
|
---|
24 | popd
|
---|
25 | rm -rf /va-utils
|
---|