mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-11 06:40:28 +00:00
AppImage: add needed VA-API libraries (Intel & AMD) (#2429)
This commit is contained in:
parent
0a595dc7d2
commit
a5bbf36d45
22
.github/workflows/CI.yml
vendored
22
.github/workflows/CI.yml
vendored
@ -326,6 +326,7 @@ jobs:
|
|||||||
# allow libfuse2 for appimage on 22.04
|
# allow libfuse2 for appimage on 22.04
|
||||||
sudo add-apt-repository universe
|
sudo add-apt-repository universe
|
||||||
|
|
||||||
|
# libx11-xcb-dev and libxcb-dri3-dev are required for building libva
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
cmake \
|
cmake \
|
||||||
@ -349,10 +350,11 @@ jobs:
|
|||||||
libopus-dev \
|
libopus-dev \
|
||||||
libpulse-dev \
|
libpulse-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libva-dev \
|
|
||||||
libvdpau-dev \
|
libvdpau-dev \
|
||||||
libwayland-dev \
|
libwayland-dev \
|
||||||
libx11-dev \
|
libx11-dev \
|
||||||
|
libx11-xcb-dev \
|
||||||
|
libxcb-dri3-dev \
|
||||||
libxcb-shm0-dev \
|
libxcb-shm0-dev \
|
||||||
libxcb-xfixes0-dev \
|
libxcb-xfixes0-dev \
|
||||||
libxcb1-dev \
|
libxcb1-dev \
|
||||||
@ -380,6 +382,24 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
|
- name: Build latest libva
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
timeout-minutes: 5
|
||||||
|
run: |
|
||||||
|
gh release download --archive=tar.gz --repo=intel/libva
|
||||||
|
tar xzf libva-*.tar.gz && rm libva-*.tar.gz
|
||||||
|
cd libva-*
|
||||||
|
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu \
|
||||||
|
--enable-drm \
|
||||||
|
--enable-x11 \
|
||||||
|
--enable-glx \
|
||||||
|
--enable-wayland \
|
||||||
|
--without-legacy # emgd, nvctrl, fglrx
|
||||||
|
make -j $(nproc)
|
||||||
|
sudo make install
|
||||||
|
cd .. && rm -rf libva-*
|
||||||
|
|
||||||
- name: Build Linux
|
- name: Build Linux
|
||||||
env:
|
env:
|
||||||
BRANCH: ${{ github.head_ref || github.ref_name }}
|
BRANCH: ${{ github.head_ref || github.ref_name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user