diff --git a/pkgbuilds/sunshine/.SRCINFO b/pkgbuilds/sunshine/.SRCINFO index d7b7ac3..9a5652f 100644 --- a/pkgbuilds/sunshine/.SRCINFO +++ b/pkgbuilds/sunshine/.SRCINFO @@ -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 @@ -16,7 +15,6 @@ pkgbase = sunshine makedepends = nodejs makedepends = npm depends = avahi - depends = boost-libs depends = curl depends = libayatana-appindicator depends = libcap @@ -26,7 +24,6 @@ pkgbase = sunshine depends = libnotify depends = libpulse depends = libva - depends = libvdpau depends = libx11 depends = libxcb depends = libxfixes @@ -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 diff --git a/pkgbuilds/sunshine/PKGBUILD b/pkgbuilds/sunshine/PKGBUILD index bc859ab..db079d1 100644 --- a/pkgbuilds/sunshine/PKGBUILD +++ b/pkgbuilds/sunshine/PKGBUILD @@ -1,10 +1,10 @@ # 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') @@ -12,58 +12,60 @@ 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}" @@ -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 } diff --git a/pkgbuilds/sunshine/sunshine.install b/pkgbuilds/sunshine/sunshine.install index a8a700f..6b274cd 100644 --- a/pkgbuilds/sunshine/sunshine.install +++ b/pkgbuilds/sunshine/sunshine.install @@ -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() { diff --git a/pkgbuilds/sunshine/sunshine.pkg.tar.gz b/pkgbuilds/sunshine/sunshine.pkg.tar.gz new file mode 100644 index 0000000..e3baf67 Binary files /dev/null and b/pkgbuilds/sunshine/sunshine.pkg.tar.gz differ