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
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:
1 parent
5a4e4b4326
commit
61bde64953
7 files changed
+313
No files matched your search
@@ -0,0 +1,36 @@
|
||||
pkgbase = moonlight-vrr-bin
|
||||
pkgdesc = GameStream client for PCs, fork of moonlight-qt with smooth VRR pacing (upstream AppImage)
|
||||
pkgver = 6.1.0_vrr18
|
||||
pkgrel = 1
|
||||
url = https://github.com/Nonary/moonlight-qt
|
||||
arch = x86_64
|
||||
license = GPL-3.0-or-later
|
||||
depends = e2fsprogs
|
||||
depends = fontconfig
|
||||
depends = freetype2
|
||||
depends = glibc
|
||||
depends = harfbuzz
|
||||
depends = hicolor-icon-theme
|
||||
depends = libdrm
|
||||
depends = libgcc
|
||||
depends = libglvnd
|
||||
depends = libgpg-error
|
||||
depends = libice
|
||||
depends = libsm
|
||||
depends = libstdc++
|
||||
depends = libx11
|
||||
depends = libxcb
|
||||
depends = zlib
|
||||
optdepends = libva-intel-driver: hardware acceleration for Intel GPUs up to Coffee Lake
|
||||
optdepends = intel-media-driver: hardware acceleration for Intel GPUs from Broadwell on
|
||||
provides = moonlight-vrr
|
||||
provides = moonlight-qt
|
||||
conflicts = moonlight-vrr
|
||||
conflicts = moonlight-qt
|
||||
noextract = moonlight-vrr-bin-6.1.0_vrr18.AppImage
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = moonlight-vrr-bin-6.1.0_vrr18.AppImage::https://github.com/Nonary/moonlight-qt/releases/download/v6.1.0-vrr18/Moonlight-6.1.0-vrr18-x86_64.AppImage
|
||||
sha256sums = 5b5992eb0d9d6528ca6db83c33da3bf6cbecea0f5a8f7b9b34dcd5d22d13f40c
|
||||
|
||||
pkgname = moonlight-vrr-bin
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
# moonlight-vrr-bin - Nonary's fork of Moonlight (https://github.com/Nonary/moonlight-qt),
|
||||
# the GameStream client for PCs, with smooth VRR frame pacing (C++ + Qt6).
|
||||
#
|
||||
# Upstream publishes an AppImage per release, which the PKGBUILD unpacks and
|
||||
# installs into /opt, so there is no build step here. GitHub lists each
|
||||
# asset's sha256, so a new version needs no download. Upstream builds the
|
||||
# AppImage without Wayland support, it runs through XWayland.
|
||||
#
|
||||
# Version handling is the same as in moonlight-vrr: tags look like
|
||||
# v6.1.0-vrr18, pkgver has an underscore for the hyphen, and /releases/latest
|
||||
# skips the betas.
|
||||
|
||||
UPSTREAM_REPO="Nonary/moonlight-qt"
|
||||
|
||||
latest_version() {
|
||||
gh api "repos/$UPSTREAM_REPO/releases/latest" --jq '.tag_name' \
|
||||
| sed -e 's/^v//' -e 's/-/_/g'
|
||||
}
|
||||
|
||||
# refresh_checksums <version> <pkgbuild-path>
|
||||
refresh_checksums() {
|
||||
local ver="$1" pkgbuild="$2"
|
||||
local upver="${ver//_/-}" sha
|
||||
|
||||
sha="$(gh api "repos/$UPSTREAM_REPO/releases/tags/v$upver" \
|
||||
--jq ".assets[] | select(.name == \"Moonlight-$upver-x86_64.AppImage\") | .digest" \
|
||||
| sed 's/^sha256://')"
|
||||
if [[ ! "$sha" =~ ^[0-9a-f]{64}$ ]]; then
|
||||
echo "v$upver has no Moonlight-$upver-x86_64.AppImage with a sha256" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
sed -i "s|^sha256sums=.*|sha256sums=('$sha')|" "$pkgbuild"
|
||||
}
|
||||
Reference in new issue
Block a user