Package Details: sunshine 0.23.1-1

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://app.lizardbyte.dev
Keywords: gaming moonlight streaming
Licenses: GPL-3.0-only
Submitter: hadogenes
Maintainer: LizardByte (KuleRucket)
Last Packager: KuleRucket
Votes: 40
Popularity: 1.80
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2024-04-24 10:48 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

imran-iq commented on 2024-03-06 01:10 (UTC)

The install command fails for me as I use doas instead of sudo, would it possible to use [ -x "$(command -v doas)" ] to check for and use doas instead of sudo?

patlefort commented on 2024-03-05 02:48 (UTC)

Hi, the list of dependencies in the .SRCINFO file doesn't match the PKGBUILD. Do you run makepkg --printsrcinfo to update it?

d-air1 commented on 2024-02-28 15:42 (UTC)

Anyone else having extremely laggy performance when running with the monitors turned off after the nvidia 550 driver update.

aimixsaka commented on 2024-02-06 04:58 (UTC)

@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.


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
}

LizardByte 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...