main/postmarketos-ui-moonlight: new aport (MR 5097)

This commit is contained in:
Anton Bambura 2024-05-05 23:55:47 +03:00
parent b66b6ea92e
commit 466d30eb24
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
export CAGE_UI_COMMAND="moonlight"

View file

@ -0,0 +1,28 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=postmarketos-ui-moonlight
pkgver=1
pkgrel=0
pkgdesc="(Wayland) Open Source PC client for NVIDIA GameStream, as used by the NVIDIA Shield"
# riscv64 blocked by moonlight-qt
arch="all !riscv64"
url="https://postmarketos.org/"
license="GPL-3.0-or-later"
options="!check"
depends="postmarketos-base-ui-cage"
source="10-moonlight-qt.sh"
# https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2347
_pmb_groups="seat"
# TODO: use flatpak version here for aarch64, as it uses forked ffmpeg with
# v4l2-request support.
# See https://wiki.postmarketos.org/wiki/Hardware_video_acceleration.
_pmb_recommends="moonlight-qt"
package() {
install -Dm755 "$srcdir"/10-moonlight-qt.sh \
-t "$pkgdir"/etc/tinydm.d/env-wayland.d
}
sha512sums="
7b5728645a16e7670506cba05410fd61b5f44cf221b2199b564095fa8eef00af19e7a16c3450ba2a39a78076ee3be2e8924c80f6e58de3b63f8bb57ea5739d6d 10-moonlight-qt.sh
"