Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pkgbuilds/sunshine/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = sunshine
pkgdesc = Self-hosted game stream host for Moonlight
pkgver = 2025.628.4510
pkgrel = 7
pkgver = 2025.923.33222
pkgrel = 1
url = https://app.lizardbyte.dev/Sunshine
install = sunshine.install
arch = x86_64
Expand Down Expand Up @@ -39,7 +39,8 @@ pkgbase = sunshine
depends = which
optdepends = cuda: Nvidia GPU encoding support
optdepends = libva-mesa-driver: AMD GPU encoding support
source = sunshine::git+https://github.com/LizardByte/Sunshine.git#commit=65f14e1003f831e776c170621bd06d8292f65155
optdepends = xorg-server-xvfb: Virtual X server for headless testing
source = sunshine::git+https://github.com/LizardByte/Sunshine.git#commit=f22b00d6981f756d3531fba0028723d4a5065824
sha256sums = SKIP

pkgname = sunshine
20 changes: 15 additions & 5 deletions pkgbuilds/sunshine/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
: "${_support_headless_testing:=false}"
: "${_use_cuda:=detect}" # nvenc

: "${_commit:=65f14e1003f831e776c170621bd06d8292f65155}"
: "${_commit:=f22b00d6981f756d3531fba0028723d4a5065824}"

pkgname='sunshine'
pkgver=2025.628.4510
pkgrel=7
pkgver=2025.923.33222
pkgrel=1
pkgdesc="Self-hosted game stream host for Moonlight"
arch=('x86_64' 'aarch64')
url=https://app.lizardbyte.dev/Sunshine
Expand Down Expand Up @@ -101,8 +101,8 @@ prepare() {
}

build() {
export BRANCH="@GITHUB_BRANCH@"
export BUILD_VERSION="@BUILD_VERSION@"
export BRANCH="master"
export BUILD_VERSION="2025.923.33222"
export COMMIT="${_commit}"

export CC="gcc-${_gcc_version}"
Expand All @@ -129,6 +129,16 @@ build() {

if [[ "${_use_cuda::1}" != "t" ]]; then
_cmake_options+=(-DSUNSHINE_ENABLE_CUDA=OFF -DCUDA_FAIL_ON_MISSING=OFF)
else
# If cuda has just been installed, its variables will not be available in the environment
# therefore, set them manually to the expected values on Arch Linux
if [ -z "${CUDA_PATH:-}" ] && pacman -Qi cuda &> /dev/null; then
local _cuda_gcc_version
_cuda_gcc_version="$(LC_ALL=C pacman -Si cuda | grep -Pom1 '^Depends On\s*:.*\bgcc\K[0-9]+\b')"

export CUDA_PATH=/opt/cuda
export NVCC_CCBIN="/usr/bin/g++-${_cuda_gcc_version}"
fi
fi

if [[ "${_run_unit_tests::1}" != "t" ]]; then
Expand Down
2 changes: 2 additions & 0 deletions pkgbuilds/sunshine/sunshine.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ do_udev_reload() {
post_install() {
do_setcap
do_udev_reload
modprobe uhid
}

post_upgrade() {
do_setcap
do_udev_reload
modprobe uhid
}