Package Details: sunshine 2025.628.4510-2

Git Clone URL: https://aur.archlinux.org/sunshine.git (read-only, click to copy)
Package Base: sunshine
Description: A self-hosted GameStream host for Moonlight
Upstream URL: https://github.com/LizardByte/Sunshine
Keywords: gaming moonlight streaming
Licenses: GPL-3.0-only
Submitter: hadogenes
Maintainer: dr460nf1r3 (xiota)
Last Packager: xiota
Votes: 61
Popularity: 3.82
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2025-07-04 20:22 (UTC)

Pinned Comments

xiota commented on 2025-02-19 18:03 (UTC) (edited on 2025-06-23 21:34 (UTC) by xiota)

Rebuilding AUR packages for library updates and mismatches is inevitable. This package uses sodeps to reduce breaks caused by library updates. When ready to rebuild, use a clean chroot or force upgrades with pacman -Syudd.

Those who prefer may disable sodeps with _use_sodeps=false. (Rebuilds will still be needed, but sodeps will not be used to prevent library updates.)

xiota commented on 2024-07-17 01:54 (UTC) (edited on 2025-06-23 06:06 (UTC) by xiota)

Switched default to disable cuda (no nvenc) because cuda is a very heavy package. Nvidia users, install cuda manually before building or set _use_cuda=true. Method to pass variables to AUR helpers may vary.

xiota commented on 2024-07-09 23:41 (UTC) (edited on 2025-02-19 18:07 (UTC) by xiota)

For those concerned about "losing" upstream support for AUR, such support had already officially been discontinued long ago. The relevant comment from 2023-02-21 is pinned.

Before reporting issues to upstream, confirm them with git checkout or upstream binaries.

Package-specific issues should be reported here.

<deleted-account> commented on 2023-02-21 02:33 (UTC)

In order to simplify maintenance of Sunshine, we have decided to drop support of this AUR package, since we are now publishing a pre-compiled pkg.tar.zst package as well as the PKGBUILD file to our GitHub releases. If someone would like to take over the AUR it would be ideal if there is communication with us in our Discord. Please reach out if you're interested. Thanks!

Latest Comments

1 2 3 4 5 6 .. 21 Next › Last »

n4r3n commented on 2025-07-04 09:28 (UTC)

The install file assumes that the which package is present. It is not part of the base so this assumption is false. That line can be replaced with this:

setcap cap_sys_admin+p /usr/bin/sunshine

because the PKGBUILD already defines where the executable is placed.

xiota commented on 2025-07-02 02:36 (UTC)

@E_D3V Long explanation isn't necessary. Forgot -m1 option on grep. Fixed now. Did not bump pkgrel because people who built successfully do not need to rebuild.

E_D3V commented on 2025-07-02 01:32 (UTC)

The pacman -Si cuda command works if there is only one repo. There are some cases where multiple repos provide the cuda package. This results on 2 "Depends On" entries being matched.

: ${_cuda_gcc_version:=$(LC_ALL=C pacman -Si cuda | grep -Po '^Depends On\s*:.*\bgcc\K[0-9]+\b')}
➜ eric sunshine (master) ✗ pacman -Si cuda
Repository      : world
Name            : cuda
Version         : 12.9.1-1
...
Depends On      : opencl-nvidia  python  gcc14

Repository      : extra
Name            : cuda
Version         : 12.9.1-1
...
Depends On      : opencl-nvidia  python  gcc14
➜ eric sunshine (master) ✗ LC_ALL=C pacman -Si cuda | grep -Po '^Depends On\s*:.*\bgcc\K[0-9]+\b'
14
14

This causes issues in the makedepends array

makedepends=(
       "gcc${_cuda_gcc_version:?}"

xiota commented on 2025-06-23 21:32 (UTC)

@FabioAreia Force update (pacman -Syudd). Then rebuild.

FabioAreia commented on 2025-06-23 21:22 (UTC)

sunshine: error while loading shared libraries: libminiupnpc.so.19: cannot open shared object file: No such file or directory

Today's update

xiota commented on 2025-06-23 05:48 (UTC) (edited on 2025-06-23 06:05 (UTC) by xiota)

Options have changed. See PKGBUILD for details. In particular, _build_cuda_use_cuda. Pinned comments have been updated.

Also, building pre-releases may be attempted by setting only _commit. pkgver will be updated automatically. Setting _commit=master builds the latest pre-release when it's tagged, but may fail if there have been too many upstream changes.

urbenlegend commented on 2025-06-15 23:34 (UTC)

@xiota, thanks for the update! It builds now. I tested it and can confirm functionality is just fine.