Package Details: sunshine-git 2025.1021.185115.r0.g8df1003-1

Git Clone URL: https://aur.archlinux.org/sunshine-git.git (read-only, click to copy)
Package Base: sunshine-git
Description: A self-hosted game stream host for Moonlight
Upstream URL: https://github.com/LizardByte/Sunshine
Licenses: GPL-3.0-only
Conflicts: sunshine
Provides: sunshine
Submitter: greyltc
Maintainer: None
Last Packager: xiota
Votes: 3
Popularity: 0.000563
First Submitted: 2023-02-14 08:55 (UTC)
Last Updated: 2025-10-23 00:17 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

rubin55 commented on 2025-11-03 08:27 (UTC) (edited on 2025-11-03 08:29 (UTC) by rubin55)

The PKGBUILD was missing an npm install (which make vite available and hence fixes the previously reported error):

diff --git a/PKGBUILD b/PKGBUILD
index 8845cd3..d4ad865 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@

 _pkgname="sunshine"
 pkgname="$_pkgname-git"
-pkgver=2025.1021.185115.r0.g8df1003
+pkgver=2025.1027.181930.r7.geb72930
 pkgrel=1
 pkgdesc="A self-hosted game stream host for Moonlight"
 url="https://github.com/LizardByte/Sunshine"
@@ -70,6 +70,8 @@ prepare() {
   git submodule update --init --depth 1
   git -C third-party/moonlight-common-c submodule update --init --depth 1

+  npm install
+
   ## disable unwanted macros
   sed 's&macro(find_package)&macro(_disable_find_package)&' -i cmake/macros/common.cmake

rubin55 commented on 2025-11-02 20:09 (UTC)

Build fails today with:

> vite build --debug

sh: line 1: vite: command not found

rubin55 commented on 2025-10-22 08:57 (UTC)

Note, discovered the build fails because of system boost 1.89.0 missing boost_system (which was included in system boost 1.88.0 and earlier). I think it's a packaging bug in extra/boost. I filed an issue.

aequilibrium commented on 2025-09-29 05:29 (UTC)

nvm, then you also need to adjust makedepends or something, so either make it robust, or just set makedepends to gcc and cudagcc to : ${_cuda_gcc_version:=$(gcc -dumpversion | cut -d. -f1)} so we just build using available gcc :shrug:

aequilibrium commented on 2025-09-29 05:05 (UTC)

@NIICKTCHUNS Yea, the pkgbuild checks cuda depend based on the number cuda builds against, but since now its the rolling version it results in empty. I recommend doing something like

# Try to get versioned GCC dependency first
_cuda_gcc_version=$(pacman -Si cuda | grep -oP '^Depends On.*\bgcc\K[0-9]+')

# If no versioned GCC, use system GCC major version
if [ -z "$_cuda_gcc_version" ]; then
    _cuda_gcc_version=$(pacman -Qi gcc | grep Version | grep -oP '^\s*Version\s*:\s*\K[0-9]+')
fi

# Fallback
: ${_cuda_gcc_version:=$(gcc -dumpversion | cut -d. -f1)}

NIICKTCHUNS commented on 2025-09-23 01:01 (UTC) (edited on 2025-09-23 01:03 (UTC) by NIICKTCHUNS)

I'm getting a compilation error

~/.cache/paru/clone/sunshine-git/PKGBUILD: line 36: _cuda_gcc_version: null or uninitialized parameter

error: failed to download fonts for 'sunshine-git-2025.805.150726.r0.g03bb53d-1': 

wilsontulus commented on 2025-08-24 05:04 (UTC) (edited on 2025-08-24 05:05 (UTC) by wilsontulus)

If sunshine keeps giving vague errors (e.g. Invalid PIN, Check for open ports, etc.) and you believe you do have the required ports open and also did the configurations correctly, it's most likely the tray icon provider's fault. Most of the time you don't really need the tray icon and can be disabled in PKGBUILD at the build section:

    -D SUNSHINE_TRAY=0 \
    -D TRAY_AYATANA_APPINDICATOR=0 \
    -D SUNSHINE_ENABLE_TRAY=OFF \

     # save compile time for non-NVIDIA users
    -D CUDA_FAIL_ON_MISSING=OFF \
    -D SUNSHINE_ENABLE_CUDA=0 \

kelvie commented on 2025-06-17 16:58 (UTC)

xiota: added you as a mantainer.

The change that PhoenixtheII suggested just pins it to a specific commit, which defeats the purpose of a -git PKGBUILD, which should build the latest git version.