Package Details: sunshine 2025.122.141614-3

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: 56
Popularity: 3.01
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2025-02-21 00:37 (UTC)

Pinned Comments

xiota commented on 2025-02-19 18:03 (UTC) (edited on 2025-02-22 07:35 (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.

Particularly problematic libraries will be switched to sodeps as I become aware of them. Not adding them all at once because some libraries are updated infrequently, or in a backward compatible manner, so that switching them to sodeps could cause more problems than prevented.

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

Switched default to cuda disabled (no nvenc) because cuda is a heavy package and Nvidia users are minority on Linux.

Nvidia users, install cuda manually before building or run as _build_cuda=t makepkg (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 .. 18 Next › Last »

m-freeman commented on 2025-02-22 07:18 (UTC)

@xiota Thanks!

m-freeman commented on 2025-02-21 07:18 (UTC) (edited on 2025-02-21 07:18 (UTC) by m-freeman)

sunshine: error while loading shared libraries: libicuuc.so.75: cannot open shared object file: No such file or direct

xiota commented on 2025-02-19 18:03 (UTC) (edited on 2025-02-22 07:35 (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.

Particularly problematic libraries will be switched to sodeps as I become aware of them. Not adding them all at once because some libraries are updated infrequently, or in a backward compatible manner, so that switching them to sodeps could cause more problems than prevented.

krims0n commented on 2025-02-12 09:54 (UTC)

@fabian-ang

My bad, I missed that earlier comment. I know downgrading is not a solution, but in my opinion, neither is having to rebuild. So I switched to sunshine-bin and reported it there (it has the same issue).

fabian-ang commented on 2025-02-12 09:36 (UTC)

@krims0n As mentioned previously you need to rebuild sunshine. Downgrading dependencies or symlinking so files is the wrong way to go.

It's even mentioned in the wiki

krims0n commented on 2025-02-12 09:07 (UTC)

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

Downgrading miniupnpc to 2.2.8 is a workaround.

xiota commented on 2025-02-05 20:22 (UTC) (edited on 2025-02-05 20:43 (UTC) by xiota)

@oskenso Don't do that. When there's a library version mismatch, rebuild the package. If there are errors during build, flag for maintainer review. (I've already rebuilt this package to confirm that will fix the library reference.)

oskenso commented on 2025-02-05 19:12 (UTC) (edited on 2025-02-05 19:16 (UTC) by oskenso)

I have a temporary workaround for the latest version that breaks because of a missing dependency

➜ ldd /usr/bin/sunshine | grep libmini
    libminiupnpc.so.18 => not found
➜ pacman -Ql miniupnpc | grep libmini
miniupnpc /usr/lib/libminiupnpc.so
miniupnpc /usr/lib/libminiupnpc.so.19

I symlinked the library to the latest and then modified the .service file

sudo ln -s /usr/lib/libminiupnpc.so.19 /usr/lib/libminiupnpc.so.18

Then edit ~/.config/systemd/user/xdg-desktop-autostart.target.wants/sunshine.service and add the following line under [Service]

Environment="LD_LIBRARY_PATH=/usr/lib"

Make sure to reload using systemctl --user daemon-reload