From 6de68a8f9215dca1d0f91cf8539904e815cc17dc Mon Sep 17 00:00:00 2001 From: Gilles Schintgen Date: Mon, 22 Apr 2024 21:06:57 +0200 Subject: [PATCH] AppImage: build our own libva Libva nees to be at least as recent as the host system's VA-API hardware drivers. (*_drv_video.so) --- .github/workflows/CI.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ecc18a73d43..e39a694ea05 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -349,10 +349,11 @@ jobs: libopus-dev \ libpulse-dev \ libssl-dev \ - libva-dev \ libvdpau-dev \ libwayland-dev \ libx11-dev \ + libx11-xcb-dev \ + libxcb-dri3-dev \ libxcb-shm0-dev \ libxcb-xfixes0-dev \ libxcb1-dev \ @@ -380,6 +381,17 @@ jobs: with: python-version: '3.11' + - name: Build latest libva + timeout-minutes: 5 + run: | + echo "nproc: $(nproc)" + + git clone https://github.com/intel/libva.git + cd libva + ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-x11 --without-legacy + make -j $(expr $(nproc) - 1) # use all but one core + sudo make install + - name: Build Linux env: BRANCH: ${{ github.head_ref || github.ref_name }}