Package Details: sunshine-bin 0.23.1-3

Git Clone URL: https://aur.archlinux.org/sunshine-bin.git (read-only, click to copy)
Package Base: sunshine-bin
Description: A self-hosted game stream host for Moonlight.
Upstream URL: https://app.lizardbyte.dev
Keywords: gaming moonlight streaming
Licenses: GPL3
Conflicts: sunshine
Provides: sunshine
Submitter: chungn
Maintainer: chungn (escape0707)
Last Packager: escape0707
Votes: 11
Popularity: 0.67
First Submitted: 2023-03-27 15:27 (UTC)
Last Updated: 2024-10-02 03:39 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

escape0707 commented on 2023-10-16 18:48 (UTC) (edited on 2023-10-16 18:49 (UTC) by escape0707)

Package updated, boost-libs dependency should be fine at least for now.

escape0707 commented on 2023-10-08 16:26 (UTC)

@Calivi Please reference the pinned comment and use other AUR packages until upstream provides a new release.

Calivi commented on 2023-10-08 14:36 (UTC)

Latest version does not run, saying "error while loading shared libraries: libboost_locale.so.1.81.0"

escape0707 commented on 2023-09-11 11:16 (UTC) (edited on 2023-09-11 11:19 (UTC) by escape0707)

@peppernose145 This bin package only traces the upstream binary release, and it's up-to-date with the current upstream build, so technically it's not outdated. The issue right now is dynamic linked library dependencies broke, but the upstream is not going to release a rebuild. This could not be addressed by this bin PKGBUILD. I'll just leave a comment here to tell people that who would like to use this software should use other AUR packages (e.g. sunshine) that build from source code and updated dependencies. I'll continually follow the upstream and update this package if there is an update. Unflagging now.

Upstream GitHub issue link: https://github.com/LizardByte/Sunshine/issues/1600

chungn commented on 2023-05-23 03:30 (UTC)

@escape0707 thank you so much, added you as co-maintainer. To be honest, I don't use this package much, I just think this is a missing software on AUR, so I create this.

escape0707 commented on 2023-05-22 10:43 (UTC) (edited on 2023-05-22 10:49 (UTC) by escape0707)

@chungn Oh, of course! I'd like to become a co-maintainer. I'll be using this software for the foreseeable future. And I think no other apps can do Wayland remote desktop reasonably.

chungn commented on 2023-05-22 07:51 (UTC) (edited on 2023-05-22 07:52 (UTC) by chungn)

@escape0707 Updated package as your patch, didn't test the new package though.

Please let me know if you're interest in becoming a co-maintainer :D

escape0707 commented on 2023-05-20 09:12 (UTC) (edited on 2023-05-20 09:14 (UTC) by escape0707)

Please consider this patch attached below. Especially, the udev rule is installed at a wrong path, and you can't use this package anyway, so I decided to mark the package as outdated and update needed to not waste other newcomers' time. I've made some other improvements, too.

diff --git a/.SRCINFO b/.SRCINFO
index 72f1fc4..921a6bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
 pkgbase = sunshine-bin
-   pkgdesc = A self-hosted GameStream host for Moonlight (prebuilt version).
+   pkgdesc = Sunshine is a self-hosted game stream host for Moonlight.
    pkgver = 0.19.1
-   pkgrel = 3
-   url = https://github.com/LizardByte/Sunshine
+   pkgrel = 4
+   url = https://app.lizardbyte.dev
    arch = x86_64
    license = GPL3
    depends = avahi
@@ -28,8 +28,9 @@ pkgbase = sunshine-bin
    optdepends = libdrm
    provides = sunshine
    conflicts = sunshine
-   conflicts = sunshine-git
-   source_x86_64 = https://github.com/LizardByte/Sunshine/releases/download/v0.19.1/sunshine.pkg.tar.zst
-   sha256sums_x86_64 = ea159c8f5c13471cde0028443f48201bc747e9ea5b898e6dca91eb5043010723
+   source = https://github.com/LizardByte/Sunshine/releases/download/v0.19.1/sunshine.pkg.tar.zst
+   source = sunshine-0.19.1.desktop::https://raw.githubusercontent.com/LizardByte/Sunshine/v0.19.1/packaging/linux/sunshine.desktop
+   b2sums = 7321ad9099eeef7491587e93ca56ea48a2580c3e4626743deb82eafaf0a59b60d0e7dea35c9a04f27e6115eaea7bb12bbd59ce229df7b06e92ce71608aa64bb5
+   b2sums = 2357c2a97a4f49ede3cb15f271a2e3c3696bdc91b65ce0d0f684026afdd9f9af293ec754231500cf8bc490379d8fa39df9bb6380aee318d98151050ef30aefa0

 pkgname = sunshine-bin
diff --git a/PKGBUILD b/PKGBUILD
index b0d1af9..7b2d90f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,38 @@
 # Maintainer: chung <me@chungn.com>
+# Contributor: Jay Chu <tothesong at gmail dot com>
+
 pkgname=sunshine-bin
+_pkgname=${pkgname%-bin}
 pkgver=0.19.1
-pkgrel=3
-pkgdesc='A self-hosted GameStream host for Moonlight (prebuilt version).'
-url='https://github.com/LizardByte/Sunshine'
-source_x86_64=("https://github.com/LizardByte/Sunshine/releases/download/v$pkgver/sunshine.pkg.tar.zst")
+_gittag=v$pkgver
+pkgrel=4
+pkgdesc="Sunshine is a self-hosted game stream host for Moonlight."
+url="https://app.lizardbyte.dev"
+source=(
+    "https://github.com/LizardByte/Sunshine/releases/download/$_gittag/sunshine.pkg.tar.zst"
+    "$_pkgname-$pkgver.desktop"::"https://raw.githubusercontent.com/LizardByte/Sunshine/$_gittag/packaging/linux/sunshine.desktop"
+)
 arch=('x86_64')
 license=('GPL3')
 depends=('avahi' 'boost-libs' 'curl' 'libappindicator-gtk3' 'libevdev' 'libmfx' 'libpulse' 'libva' 'libvdpau' 'libx11' 'libxcb' 'libxfixes' 'libxrandr' 'libxtst' 'numactl' 'openssl' 'opus' 'udev')
-optdepends=('cuda: NvFBC capture support'
-            'libcap'
-            'libdrm')
-conflicts=('sunshine' 'sunshine-git')
+optdepends=(
+    'cuda: NvFBC capture support'
+    'libcap'
+    'libdrm'
+)
+conflicts=('sunshine')
 provides=('sunshine')
-sha256sums_x86_64=('ea159c8f5c13471cde0028443f48201bc747e9ea5b898e6dca91eb5043010723')
-
-package() {
-  cd "$srcdir/"
+b2sums=('7321ad9099eeef7491587e93ca56ea48a2580c3e4626743deb82eafaf0a59b60d0e7dea35c9a04f27e6115eaea7bb12bbd59ce229df7b06e92ce71608aa64bb5'
+        '2357c2a97a4f49ede3cb15f271a2e3c3696bdc91b65ce0d0f684026afdd9f9af293ec754231500cf8bc490379d8fa39df9bb6380aee318d98151050ef30aefa0')

-  install -Dm755 "usr/bin/sunshine" "${pkgdir}/usr/bin/sunshine"
-  install -Dm755 "usr/bin/sunshine-v${pkgver}" "${pkgdir}/usr/bin/sunshine-${pkgver}"
-
-  install -Dm644 "usr/lib/systemd/user/sunshine.service" "${pkgdir}/usr/lib/systemd/user/sunshine.service"
-  install -Dm644 "usr/lib/udev/rules.d/85-sunshine.rules" "${pkgdir}/usr/lib/rules.d/85-sunshine.rules"
+prepare() {
+    sed -i "s/@PROJECT_NAME@/$_pkgname/g" "$_pkgname-$pkgver.desktop"
+    sed -i "s/@PROJECT_DESCRIPTION@/$pkgdesc/g" "$_pkgname-$pkgver.desktop"
+    sed -i "s/@PROJECT_VERSION@/$_gittag/g" "$_pkgname-$pkgver.desktop"
+}

-  mkdir -p "${pkgdir}/usr/share/sunshine"
-  cp -r "usr/share/sunshine" "${pkgdir}/usr/share/"
+package() {
+    install -Dm755 "usr/bin/sunshine-v$pkgver" "$pkgdir/usr/bin/sunshine"
+    install -Dm644 "$_pkgname-$pkgver.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
+    cp -r "usr/lib" "usr/share" "$pkgdir/usr"
 }

escape0707 commented on 2023-05-19 22:08 (UTC) (edited on 2023-05-20 09:15 (UTC) by escape0707)

Anyone getting

Error: Could not create Sunshine Mouse: Permission denied
Error: Could not create Sunshine Touchscreen: Permission denied
Error: Could not create Sunshine Keyboard: Permission denied
Error: Unable to create some input devices! Are you a member of the 'input' group?
Info: Falling back to XTest

even after adding yourself into the group? Do I have to do some changes to the user service unit file?

I'm using Gnome Wayland, but I guess it's not relevant here?

Edit: solved by fix the PKGBUILD, see later post.

chungn commented on 2023-04-14 04:24 (UTC)

added libappindicator-gtk3 as a dependency