@LizardByte, recently Arch Linux decided to use the SPDX license identifier in PKGBUILDs1, I think it would be better to follow https://wiki.archlinux.org/title/PKGBUILD#license to change the license name.
Search Criteria
Package Details: sunshine 0.23.1-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/sunshine.git (read-only, click to copy) |
---|---|
Package Base: | sunshine |
Description: | A self-hosted GameStream host for Moonlight |
Upstream URL: | https://github.com/LizardByte/Sunshine |
Keywords: | gaming moonlight streaming |
Licenses: | GPL-3.0-only |
Submitter: | hadogenes |
Maintainer: | dr460nf1r3 (xiota) |
Last Packager: | xiota |
Votes: | 53 |
Popularity: | 2.08 |
First Submitted: | 2021-04-26 11:33 (UTC) |
Last Updated: | 2024-09-04 04:09 (UTC) |
Dependencies (30)
- avahi
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- libayatana-appindicator
- libcap
- libdrm (libdrm-gitAUR)
- libevdev (libevdev-gitAUR)
- libmfx (libmfx-gitAUR, intel-media-stack-binAUR)
- libminiupnpc.so (miniupnpc)
- libnotify (libnotify-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libvdpau
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxfixes
- libxrandr (libxrandr-gitAUR)
- libxtst
- numactl (numactl-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- opus (opus-gitAUR)
- udev (systemd-chromiumosAUR, eudevAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR, systemd)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (optional) – Nvidia GPU encoding support
- intel-media-driver (intel-media-driver-gitAUR, intel-media-stack-binAUR) (optional) – Intel GPU encoding support
- libva-mesa-driver (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, mesa) (optional) – AMD GPU encoding support
Required by (0)
Sources (13)
- cgutman.enet
- eidheim.simple-web-server
- ffmpeg.nv-codec-headers
- lizardbyte.build-deps
- lizardbyte.nvapi-open-source-sdk
- lizardbyte.tray
- lizardbyte.virtual-gamepad-emulation-client
- michaeltyson.tpcircularbuffer
- moonlight-stream.moonlight-common-c
- sleepybishop.nanors
- sunshine
- wayland.wayland-protocols
- wlroots.wlr-protocols
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 16 Next › Last »
aimixsaka commented on 2024-02-06 04:58 (UTC)
mfdeux commented on 2024-01-31 19:43 (UTC)
I had problems with encoding - so with framerate and general stability - until I manually installed libva-vdpau-driver on a AMD Navi gpu. Could you please add it to the list of recommended packages?
jelly commented on 2024-01-26 09:26 (UTC)
Please remove the setcap from .install, this does not belong in a post_install and this is a packaging violation. The setcap seems to be required only for KMS and this likely is a security issue.
Glorious7060 commented on 2023-12-10 15:08 (UTC) (edited on 2023-12-10 15:14 (UTC) by Glorious7060)
The package get stuck in cloning at ".cache/yay/sunshine/src/sunshine/third-party/ffmpeg-linux-powerpc64le" EDIT: Adding "git rm -f third-party/ffmpeg-linux-powerpc64le" and all fixed.
cpi commented on 2023-10-24 21:03 (UTC)
libappindicator-gtk3 has been removed from dependencies for 0.21.0, but it is still required. Without it, sunshine crash during startup.
detian commented on 2023-10-17 11:35 (UTC)
PKGBUILD suggestion:
pkgname='sunshine'
pkgver=0.21.0
pkgrel=1
pkgdesc="A self-hosted GameStream host for Moonlight."
arch=('x86_64' 'aarch64')
url=https://github.com/LizardByte/Sunshine
license=('GPL3')
install=sunshine.install
options=(!strip)
depends=('avahi'
'boost-libs'
'curl'
'libayatana-appindicator'
'libevdev'
'libmfx'
'libnotify'
'libpulse'
'libva'
'libvdpau'
'libx11'
'libxcb'
'libxfixes'
'libxrandr'
'libxtst'
'numactl'
'openssl'
'opus'
'udev')
makedepends=('boost'
'cmake'
'git'
'make'
'nodejs'
'npm'
'ninja')
optdepends=('cuda: NvFBC capture support'
'libcap'
'libdrm')
provides=('sunshine')
conflicts=('sunshine')
source=("$pkgname::git+https://github.com/LizardByte/Sunshine.git#tag=v${pkgver}")
sha256sums=('SKIP')
prepare() {
cd "$pkgname"
# Remove submodules that are not needed in this build.
find . -type d \
'(' -iname 'ffmpeg-*' -o -iname '*ViGEmClient' ')' \
! -iname "*linux-$CARCH" \
-exec git rm -rf {} +
git submodule update --recursive --init
}
build() {
pushd "$pkgname"
npm install
# For not check nightly update
export BRANCH=master
export BUILD_VERSION=${pkgver}
COMMIT="$(git rev-parse HEAD)"
export COMMIT
popd
export CFLAGS="${CFLAGS/-Werror=format-security/}"
export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
cmake -Wno-dev \
-S "$pkgname" \
-B build -G Ninja \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-D SUNSHINE_ASSETS_DIR="share/$pkgname" \
-D SUNSHINE_EXECUTABLE_PATH=/usr/bin/$pkgname \
-D SUNSHINE_ENABLE_WAYLAND=ON \
-D SUNSHINE_ENABLE_X11=ON \
-D SUNSHINE_ENABLE_DRM=ON \
-D SUNSHINE_ENABLE_CUDA=ON
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
<deleted-account> commented on 2023-10-16 17:01 (UTC)
@60fpshacks Do you think we don't know v0.21.0 was released? You can't seriously expect this package to updated in parallel to upstream...
<deleted-account> commented on 2023-09-12 17:21 (UTC)
@detian it's because the build variables aren't set before building. Fixing upstream in https://github.com/LizardByte/Sunshine/pull/1628
The change will need to be incorporated into this repo's PKGBUILD as well.
detian commented on 2023-07-09 14:33 (UTC)
why the version is always sunshine-%version%.dirty
, how do I remove the ".dirty", just like GitHub release?
rarick commented on 2023-04-30 19:54 (UTC)
I've been loving sunshine - so much that I decided to enable the systemd
unit for it.
However, when doing so, I encountered the following error:
Fatal: Couldn't find any working encoder
This was confusing to me, as it was running under all the same permissions as my shell, and launching from shell worked perfectly.
I found that unsetting the environment variable DISPLAY
(info here) caused sunshine to fail. So I added the following line to my unit file:
[Service]
Environment="DISPLAY=:0" << new line - matches output from `env | grep DISPLAY`
Adding this line, the lookup of encoders then worked properly. Looks like it relies on this for an Xorg session lookup of some kind.
Created issue: https://github.com/LizardByte/Sunshine/issues/1240
Pinned Comments
xiota commented on 2024-07-17 01:54 (UTC) (edited on 2024-07-17 01:56 (UTC) by xiota)
Switched to default to
cuda
disabled (no nvenc) becausecuda
is a heavy package and Nvidia users are minority on Linux.Nvidia users, install
cuda
manually before building or run as_build_cuda=t makepkg
(method to pass variables to AUR helpers may vary).xiota commented on 2024-07-09 23:41 (UTC) (edited on 2024-07-27 10:27 (UTC) by xiota)
Comments here are for matters related to this AUR package only. Discussion of upstream issues should take place upstream. The upstream link is in package details.
For those concerned about "losing" upstream support for AUR, such support had already officially been discontinued long ago. The relevant comment from 2023-02-21 is pinned.
Before reporting issues to upstream, confirm them with git checkout or upstream binaries. Properly confirmed bugs do not need to mention AUR.
Package-specific issues should be reported here.
<deleted-account> commented on 2023-02-21 02:33 (UTC)
In order to simplify maintenance of Sunshine, we have decided to drop support of this AUR package, since we are now publishing a pre-compiled pkg.tar.zst package as well as the PKGBUILD file to our GitHub releases. If someone would like to take over the AUR it would be ideal if there is communication with us in our Discord. Please reach out if you're interested. Thanks!