fix(surface-nvidia): Exclude OBS vkcapture (#499)

This commit is contained in:
RJ Trujillo 2023-11-02 20:57:59 -06:00 committed by GitHub
parent 0dd308a6bb
commit 1df46b05d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,9 +266,12 @@ RUN if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
vkBasalt.i686 \
mangohud.x86_64 \
mangohud.i686 \
obs-vkcapture.x86_64 \
obs-vkcapture.i686 \
gperftools-libs.i686 && \
if [[ "${IMAGE_FLAVOR}" != "surface-nvidia" ]]; then \
rpm-ostree install \
obs-vkcapture.x86_64 \
obs-vkcapture.i686 \
; fi && \
wget $(curl https://api.github.com/repos/ishitatsuyuki/LatencyFleX/releases/latest | jq -r '.assets[] | select(.name| test(".*.tar.xz$")).browser_download_url') -O /tmp/latencyflex.tar.xz && \
mkdir -p /tmp/latencyflex && \
tar --strip-components 1 -xvf /tmp/latencyflex.tar.xz -C /tmp/latencyflex && \