diff --git a/main/postmarketos-ui-moonlight/10-moonlight-qt.sh b/main/postmarketos-ui-moonlight/10-moonlight-qt.sh new file mode 100644 index 000000000..38c22a5ec --- /dev/null +++ b/main/postmarketos-ui-moonlight/10-moonlight-qt.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +export CAGE_UI_COMMAND="moonlight" diff --git a/main/postmarketos-ui-moonlight/APKBUILD b/main/postmarketos-ui-moonlight/APKBUILD new file mode 100644 index 000000000..7b692a6bb --- /dev/null +++ b/main/postmarketos-ui-moonlight/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jenneron +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 +"