Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update LizardByte/Sunshine to v2025.118.151840 #27

Merged
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
13 changes: 4 additions & 9 deletions pkgbuilds/sunshine/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
pkgbase = sunshine
pkgdesc = A self-hosted GameStream host for Moonlight.
pkgver = 0.23.1
pkgrel = 2
pkgdesc = Self-hosted game stream host for Moonlight
pkgver = v2025.118.151840
pkgrel = 1
url = https://app.lizardbyte.dev/Sunshine
install = sunshine.install
arch = x86_64
arch = aarch64
license = GPL-3.0-only
makedepends = boost
makedepends = cmake
makedepends = cuda
makedepends = gcc13
Expand All @@ -16,7 +15,6 @@ pkgbase = sunshine
makedepends = nodejs
makedepends = npm
depends = avahi
depends = boost-libs
depends = curl
depends = libayatana-appindicator
depends = libcap
Expand All @@ -26,7 +24,6 @@ pkgbase = sunshine
depends = libnotify
depends = libpulse
depends = libva
depends = libvdpau
depends = libx11
depends = libxcb
depends = libxfixes
Expand All @@ -36,13 +33,11 @@ pkgbase = sunshine
depends = numactl
depends = openssl
depends = opus
depends = python
depends = udev
optdepends = cuda: Nvidia GPU encoding support
optdepends = libva-mesa-driver: AMD GPU encoding support
optdepends = intel-media-driver: Intel GPU encoding support
optdepends = xorg-server-xvfb: Virtual X server for headless testing
source = sunshine::git+https://github.com/LizardByte/Sunshine.git#tag=v0.23.1
source = sunshine::git+https://github.com/LizardByte/Sunshine.git#commit=26566cc04db12c5bc7434e480cffa025ed838bce
sha256sums = SKIP

pkgname = sunshine
93 changes: 49 additions & 44 deletions pkgbuilds/sunshine/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
# Edit on github: https://github.com/LizardByte/Sunshine/blob/master/packaging/linux/Arch/PKGBUILD
# Reference: https://wiki.archlinux.org/title/PKGBUILD

pkgname=sunshine
pkgver=0.23.1
pkgrel=2
pkgdesc="A self-hosted GameStream host for Moonlight."
pkgname='sunshine'
pkgver=v2025.118.151840
pkgrel=1
pkgdesc="Self-hosted game stream host for Moonlight"
arch=('x86_64' 'aarch64')
url=https://app.lizardbyte.dev/Sunshine
license=('GPL-3.0-only')
install=sunshine.install

_gcc_version=13

depends=('avahi'
'boost-libs'
'curl'
'libayatana-appindicator'
'libcap'
'libdrm'
'libevdev'
'libmfx'
'libnotify'
'libpulse'
'libva'
'libvdpau'
'libx11'
'libxcb'
'libxfixes'
'libxrandr'
'libxtst'
'miniupnpc'
'numactl'
'openssl'
'opus'
'udev')
makedepends=('boost'
'cmake'
'cuda'
"gcc${_gcc_version}"
'git'
'make'
'nodejs'
'npm')
optdepends=('cuda: Nvidia GPU encoding support'
'libva-mesa-driver: AMD GPU encoding support'
'xorg-server-xvfb: Virtual X server for headless testing')
depends=(
'avahi'
'curl'
'libayatana-appindicator'
'libcap'
'libdrm'
'libevdev'
'libmfx'
'libnotify'
'libpulse'
'libva'
'libx11'
'libxcb'
'libxfixes'
'libxrandr'
'libxtst'
'miniupnpc'
'numactl'
'openssl'
'opus'
'udev'
)

makedepends=(
'cmake'
'cuda'
"gcc${_gcc_version}"
'git'
'make'
'nodejs'
'npm'
)

optdepends=(
'cuda: Nvidia GPU encoding support'
'libva-mesa-driver: AMD GPU encoding support'
'xorg-server-xvfb: Virtual X server for headless testing'
)

provides=()
conflicts=()

source=("$pkgname::git+https://github.com/LizardByte/Sunshine.git#tag=v${pkgver}")
source=("$pkgname::git+https://github.com/LizardByte/Sunshine.git#commit=26566cc04db12c5bc7434e480cffa025ed838bce")
sha256sums=('SKIP')

prepare() {
cd "$pkgname"
git submodule update --recursive --init

# Allow use of miniupnpc > v0.17
git cherry-pick -n a940cdb394055139ca6a964289f414da562452e3
}

build() {
export BRANCH="master"
export BUILD_VERSION="${pkgver}"
export COMMIT="$(git rev-parse HEAD)"
export BUILD_VERSION="v2025.118.151840"
export COMMIT="26566cc04db12c5bc7434e480cffa025ed838bce"

export CC="gcc-${_gcc_version}"
export CXX="g++-${_gcc_version}"
Expand All @@ -75,11 +77,14 @@ build() {
-S "$pkgname" \
-B build \
-Wno-dev \
-D BUILD_DOCS=OFF \
-D BUILD_WERROR=ON \
-D CMAKE_INSTALL_PREFIX=/usr \
-D SUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine \
-D SUNSHINE_ASSETS_DIR="share/sunshine" \
-D TESTS_ENABLE_PYTHON_TESTS=OFF
-D SUNSHINE_PUBLISHER_NAME='LizardByte' \
-D SUNSHINE_PUBLISHER_WEBSITE='https://app.lizardbyte.dev' \
-D SUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'

make -C build
}
Expand Down
2 changes: 2 additions & 0 deletions pkgbuilds/sunshine/sunshine.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ do_setcap() {
do_udev_reload() {
udevadm control --reload-rules
udevadm trigger --property-match=DEVNAME=/dev/uinput
udevadm trigger --property-match=DEVNAME=/dev/uhid
modprobe uinput || true
modprobe uhid || true
}

post_install() {
Expand Down
Binary file added pkgbuilds/sunshine/sunshine.pkg.tar.gz
Binary file not shown.
Loading