From 10e6733f131037211a089db410267a72a60039e4 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 18 Jan 2025 23:58:03 +0000 Subject: [PATCH] chore: Update LizardByte/Sunshine to v2025.118.151840 --- pkgbuilds/sunshine/.SRCINFO | 13 ++-- pkgbuilds/sunshine/PKGBUILD | 93 +++++++++++++------------ pkgbuilds/sunshine/sunshine.install | 2 + pkgbuilds/sunshine/sunshine.pkg.tar.gz | Bin 0 -> 1622 bytes 4 files changed, 55 insertions(+), 53 deletions(-) create mode 100644 pkgbuilds/sunshine/sunshine.pkg.tar.gz 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 0000000000000000000000000000000000000000..e3baf67a37315588ad94ade0314910b689e5bdfb GIT binary patch literal 1622 zcmV-c2C4ZUiwFP!000001MOJU7{_tbR~s>fjc9sgnQw;XQ7e`p6wnad%lEBp3C%U2Y0lhr z9as#fQD~X_n&y$1gdVrvX$VYM;stF;&IKD3;J8?h2xC_bPeP2w0*$a*6@Wmz3I?(OH|_I<6(e(=|H>P#Sv zJo0y{Ka2yVK8nS*cF=i<#!Ko^jLxoZ5IAY%fg>ZH#Bs#LW>fTlaIAZb!lZ|&e{u5k z_!W4w&IyB&`f53YnEFVWNU)FYPzoy#ToCN}gmWYa7obB~7_$hhAz%cfXgeC92EL@w={Ra91Dy(*|+v~Y*tK&`0w%eV$aP4+T=b+`zW*7pC zcnA9jQ@ZjUDcn9#6446ho>L=t00-tD5#uv&y%59K!16#|pNhD?LVOMHTo z*u#P#U1tQGnZpJG5B?#vubQT=)m#->$xTE@lm7Vl+^VP7OMR2~38iue&yTVI53!$^lfEJ7#i4L`X& zwyn$4({J_N4knY!iFG;N?mWKee;7E!v3=bijhw5=;B;l!$gzcP{w)Sr;Jx;YvR?eoFJ8TT&+ zR$~({jb|lp2S@hs8ibzyEIhAdXxldf=Vmhco*E;+Qj|7zuKIC$YBF-%1#$1ok@FLr zR)zCt&RmbOuZEh=kT(=hl{8hu$qz->=L&EmAKdbRaA{kb5Nxi9E#uMp8;DK@_O&`T z>7X!M9YlY3KJ=$i(e_;IlX^*{&`5*RgwltigP zU%r5RLbiHfWRA<54C)1E9U1E-c2EZ-Z9&V$AS`~o&-u*Fk6+7^nsuRs&|4C zw!|f1WtwHgot6>xhEN98Q$iUOToj@FVW9}F-xrF|`k7%HO17p<)IMyU1lDK&-S>df z_#b!~C`tauHv+AeJ_8hD;