moonlight-vrr, moonlight-vrr-bin: new package
Update AUR packages / discover (push) Successful in 3s
Update AUR packages / update (bottles-opener) (push) Canceled after 0s
Update AUR packages / update (bt-volume-step) (push) Canceled after 0s
Update AUR packages / update (cachy-auto-update) (push) Canceled after 0s
Update AUR packages / update (capture-studio-bin) (push) Canceled after 0s
Update AUR packages / update (chiaki-ng-bin) (push) Canceled after 0s
Update AUR packages / update (chromium-widevine-helper) (push) Canceled after 0s
Update AUR packages / update (concat-bin) (push) Canceled after 0s
Update AUR packages / update (concat-git) (push) Canceled after 0s
Update AUR packages / update (concat) (push) Canceled after 0s
Update AUR packages / update (face-unlock-bin) (push) Canceled after 0s
Update AUR packages / update (face-unlock) (push) Canceled after 0s
Update AUR packages / update (faugus-launcher-bin) (push) Canceled after 0s
Update AUR packages / update (fluxer-bin) (push) Canceled after 0s
Update AUR packages / update (kitty-tune-bin) (push) Canceled after 0s
Update AUR packages / update (lunar-client-bin) (push) Canceled after 0s
Update AUR packages / update (middleclick-autoscroll) (push) Canceled after 0s
Update AUR packages / update (modrinth-app-bin) (push) Canceled after 0s
Update AUR packages / update (modrinth-enhanced-bin) (push) Canceled after 0s
Update AUR packages / update (modrinth-enhanced) (push) Canceled after 0s
Update AUR packages / update (moondeckbuddy-bin) (push) Canceled after 0s
Update AUR packages / update (moondeckbuddy) (push) Canceled after 0s
Update AUR packages / update (moonlight-vrr-bin) (push) Canceled after 0s
Update AUR packages / update (moonlight-vrr) (push) Canceled after 0s
Update AUR packages / update (nextcloud-native-bin) (push) Canceled after 0s
Update AUR packages / update (nextcloud-native-git) (push) Canceled after 0s
Update AUR packages / update (nextcloud-native) (push) Canceled after 0s
Update AUR packages / update (plezy-bin) (push) Canceled after 0s
Update AUR packages / update (schist-bin) (push) Canceled after 0s
Update AUR packages / update (schist) (push) Canceled after 0s
Update AUR packages / update (sharpemu-bin) (push) Canceled after 0s
Update AUR packages / update (snapx-bin) (push) Canceled after 0s
Update AUR packages / update (untix-git) (push) Canceled after 0s
Update AUR packages / update (untix) (push) Canceled after 0s
Update AUR packages / update (vacuumtube-bin) (push) Canceled after 0s
Update AUR packages / update (waydroid-helper-bin) (push) Canceled after 0s
Update AUR packages / update (wiiudownloader-bin) (push) Canceled after 0s
Update AUR packages / update (zapzap-bin) (push) Canceled after 0s

This commit is contained in:
Felitendo committed 2026-10-03 22:59:24 +02:00
1 parent 5a4e4b4326
commit 61bde64953
7 files changed
+313

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
pkgname=moonlight-vrr-bin
pkgver=6.1.0_vrr18
pkgrel=1
pkgdesc="GameStream client for PCs, fork of moonlight-qt with smooth VRR pacing (upstream AppImage)"
arch=('x86_64')
url="https://github.com/Nonary/moonlight-qt"
license=('GPL-3.0-or-later')
# the AppImage bundles Qt6, FFmpeg, SDL, libplacebo and the rest of the stack;
# these are what is left over
depends=('e2fsprogs' 'fontconfig' 'freetype2' 'glibc' 'harfbuzz'
'hicolor-icon-theme' 'libdrm' 'libgcc' 'libglvnd' 'libgpg-error' 'libice'
'libsm' 'libstdc++' 'libx11' 'libxcb' 'zlib')
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs up to Coffee Lake'
'intel-media-driver: hardware acceleration for Intel GPUs from Broadwell on')
provides=('moonlight-vrr' 'moonlight-qt')
conflicts=('moonlight-vrr' 'moonlight-qt')
options=('!strip' '!debug')
# upstream tags use hyphens (v6.1.0-vrr18), which pkgver must not contain
_upver="${pkgver//_/-}"
source=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${_upver}/Moonlight-${_upver}-x86_64.AppImage")
noextract=("${pkgname}-${pkgver}.AppImage")
sha256sums=('5b5992eb0d9d6528ca6db83c33da3bf6cbecea0f5a8f7b9b34dcd5d22d13f40c')
prepare() {
chmod +x "$srcdir/${pkgname}-${pkgver}.AppImage"
"$srcdir/${pkgname}-${pkgver}.AppImage" --appimage-extract > /dev/null
}
package() {
local _root="$srcdir/squashfs-root"
# upstream's AppImage payload, installed unchanged
install -d "$pkgdir/opt/$pkgname"
cp -a "$_root/usr/." "$pkgdir/opt/$pkgname/"
# the squashfs has private directories and world writable files
chmod -R u=rwX,go=rX "$pkgdir/opt/$pkgname"
# the binary has a RUNPATH into the bundle and reads the qt.conf next to it,
# so it has to be exec'd where it is
install -d "$pkgdir/usr/bin"
cat > "$pkgdir/usr/bin/moonlight" << EOF
#!/bin/sh
exec /opt/$pkgname/bin/moonlight "\$@"
EOF
chmod 755 "$pkgdir/usr/bin/moonlight"
install -Dm644 "$_root/com.moonlight_stream.Moonlight.desktop" \
"$pkgdir/usr/share/applications/com.moonlight_stream.Moonlight.desktop"
sed -i '/^X-AppImage-/d' "$pkgdir/usr/share/applications/com.moonlight_stream.Moonlight.desktop"
install -Dm644 "$_root/usr/share/metainfo/com.moonlight_stream.Moonlight.appdata.xml" \
"$pkgdir/usr/share/metainfo/com.moonlight_stream.Moonlight.appdata.xml"
install -Dm644 "$_root/usr/share/icons/hicolor/scalable/apps/moonlight.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/moonlight.svg"
}