Is there any reason the .desktop file doesn't have a checksum?
Or in other words would u mind running updpkgsums over the PKGBUILD.
| Git Clone URL: | https://aur.archlinux.org/sunshine-beta-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | sunshine-beta-bin |
| Description: | A self-hosted game stream host for Moonlight |
| Upstream URL: | https://app.lizardbyte.dev |
| Keywords: | gaming moonlight streaming |
| Licenses: | GPL-3.0-only |
| Conflicts: | sunshine, sunshine-bin, sunshine-git |
| Provides: | sunshine-bin |
| Replaces: | sunshine-bin |
| Submitter: | Archttila |
| Maintainer: | Archttila |
| Last Packager: | Archttila |
| Votes: | 6 |
| Popularity: | 0.062293 |
| First Submitted: | 2024-10-19 11:04 (UTC) |
| Last Updated: | 2026-11-12 08:16 (UTC) |
Is there any reason the .desktop file doesn't have a checksum?
Or in other words would u mind running updpkgsums over the PKGBUILD.
Important notice regarding Qt6 dependencies: In recent upstream changes (such as the migration to the unified Qt system tray), the pre-compiled binaries provided in the official LizardByte GitHub releases are now dynamically linked against Qt6.
Even though the core Sunshine source code treats Qt6 as an optional build feature, the official release binary we repackage here strictly requires it to execute. Therefore, qt6-base has been added to the depends array to prevent launch crashes (libQt6Widgets.so.6: cannot open shared object file).
If you are running a headless/minimal setup and want to avoid installing Qt6 libraries, please switch to the source-based sunshine-beta or sunshine packages, where the compiler will adapt to your system and omit the Qt tray module if the libraries are missing.
Ironically, the latest release now makes the capability unnecessary: https://github.com/LizardByte/Sunshine/pull/4417
This PR adds a new "grab" implementation to use XDG desktop portals and Pipewire. There is a breaking change that comes along with this implementation, which is that KMS capture must now be started from a separte sunshine service named sunshine-kms. The main sunshine service now does not use extra capabilities defined by setcap.
edit: Never mind, the other service still uses the capability. It sounds like whether the capability is needed will depend on the capture method people are using.
@jackweeks3 @vodka
done!
@jackweeks3 @vodka
This cannot be done directly in PKGBUILD because file capabilities cannot be set under fakeroot, and sudo is not allowed. The correct Arch-compatible solution is to ship a pacman hook that re-applies setcap cap_sys_admin+p /usr/bin/sunshine on install/upgrade. I will implement this via /usr/share/libalpm/hooks so the capability is automatically restored after each update.
Please look into doing what @vodka suggests. It's annoying to have to manually do this every update.
Just in case, it's setting "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" on each update.
Thank you.
EDIT: I was mistaken about the .gz being the correct tarball; it seems that there is still a .pkg.tar.zst, but it's now named with the full version included in the name of the file, so the PKGBUILD will still small updates to handle this:
The latest prerelease seems to be including Arch binaries (after the last few had disabled them), but as a .pkg.tar.gz, so the PKGBUILD would need a slight change to account for that in addition to the version bump.
https://github.com/LizardByte/Sunshine/releases/tag/v2025.1207.140157
Any way this could include a way to automatically fix KMS capture? On wayland it's necessary to do the command "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" to make sunshine work, and I keep forgetting to do this after sunshine updates and end up locked out of remoting into my system.
Obviously using "which sunshine" wouldn't be necessary since we know the location of the sunshine binary.
Pinned Comments
Archttila commented on 2026-07-05 08:27 (UTC) (edited on 2026-07-05 08:27 (UTC) by Archttila)
Important notice regarding Qt6 dependencies: In recent upstream changes (such as the migration to the unified Qt system tray), the pre-compiled binaries provided in the official LizardByte GitHub releases are now dynamically linked against Qt6.
Even though the core Sunshine source code treats Qt6 as an optional build feature, the official release binary we repackage here strictly requires it to execute. Therefore, qt6-base has been added to the depends array to prevent launch crashes (libQt6Widgets.so.6: cannot open shared object file).
If you are running a headless/minimal setup and want to avoid installing Qt6 libraries, please switch to the source-based sunshine-beta or sunshine packages, where the compiler will adapt to your system and omit the Qt tray module if the libraries are missing.