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

View File

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