Move kmsgrab dependencies from optdepends to depends

kmsgrab is the most fully featured capture backend for current
versions of Sunshine, so it should be built by default.

In addition to zero-copy capture and HDR support, it is the *only*
capture backend that can handle non-wlroots Wayland capture.
This commit is contained in:
Cameron Gutman 2024-03-09 11:18:39 -06:00
parent 9d5b01727e
commit 278567f72d
2 changed files with 4 additions and 6 deletions

View File

@ -34,7 +34,7 @@ ENV COMMIT=${COMMIT}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# install dependencies
# cuda, libcap, and libdrm are optional dependencies for PKGBUILD
# cuda is an optional build-time dependency for PKGBUILD
RUN <<_DEPS
#!/bin/bash
set -e
@ -43,8 +43,6 @@ pacman -Syu --disable-download-timeout --needed --noconfirm \
cmake \
cuda \
git \
libcap \
libdrm \
namcap
_DEPS

View File

@ -13,6 +13,8 @@ depends=('avahi'
'boost-libs'
'curl'
'libayatana-appindicator'
'libcap'
'libdrm'
'libevdev'
'libmfx'
'libnotify'
@ -35,9 +37,7 @@ makedepends=('boost'
'make'
'nodejs'
'npm')
optdepends=('cuda: NvFBC capture support'
'libcap'
'libdrm')
optdepends=('cuda: NvFBC capture support')
provides=('sunshine')