From d95ce7966b79ed348305aba3d523bf7943b16bad Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 1 Aug 2021 11:12:01 +0200 Subject: [PATCH] main/postmarketos-ui-plasma-bigscreen: install and run NymphCast by default (MR 2398) NymphCast is a FOSS Chromecast replacement (not a drop-in one though) and allows you to "cast" audio and video to your device running the nymphcast server. Plasma Bigscreen seems like an ideal use-case for this so let's install and launch it by default. People can always uninstall it anyways --- .../postmarketos-ui-plasma-bigscreen/APKBUILD | 20 ++++++++++++------- .../nymphcast.desktop | 8 ++++++++ 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop diff --git a/main/postmarketos-ui-plasma-bigscreen/APKBUILD b/main/postmarketos-ui-plasma-bigscreen/APKBUILD index 8fe731b2a..60f97440b 100644 --- a/main/postmarketos-ui-plasma-bigscreen/APKBUILD +++ b/main/postmarketos-ui-plasma-bigscreen/APKBUILD @@ -1,10 +1,10 @@ # Maintainer: Bart Ribbers pkgname=postmarketos-ui-plasma-bigscreen pkgver=0.2 -pkgrel=7 +pkgrel=8 _commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7" pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs" -url="https://wiki.postmarketos.org/wiki/Plasma_Mobile" +url="https://wiki.postmarketos.org/wiki/Plasma_Bigscreen" # Crashes on armhf due to https://gitlab.com/postmarketOS/pmaports/issues/75 # temporarily blocked on armv7 by aura-browser arch="noarch !armhf" @@ -31,18 +31,24 @@ _pmb_recommends=" breeze-icons mycroft-core mycroft-plasmoid + nymphcast " install="$pkgname.post-install $pkgname.post-upgrade" source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz qtlogging.ini + nymphcast.desktop " options="!check pmb:gpu-accel" package() { - install -Dm644 "$srcdir"/qtlogging.ini \ - "$pkgdir"/etc/xdg/QtProject/qtlogging.ini - + install -Dm644 -t "$pkgdir"/etc/xdg/QtProject \ + "$srcdir"/qtlogging.ini + install -Dm644 -t "$pkgdir"/etc/xdg/autostart \ + "$srcdir"/nymphcast.desktop mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg } -sha512sums="81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz -341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini" +sha512sums=" +81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz +341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini +04b0dc1385072b5e9004068594c110678ed9efd6254fd98dee302524e0edf139f936de849d80253301552f9927409a8b0cf5ad32cdb9f7861ef0e72787610d3c nymphcast.desktop +" diff --git a/main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop b/main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop new file mode 100644 index 000000000..43d50b17a --- /dev/null +++ b/main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Nymphcast +Comment=Start Nymphcast +Exec=/usr/bin/nymphcast_server -c /etc/nymphcast/nymphcast_video_config.ini -a /usr/share/nymphcast/apps +Terminal=false +Type=Application +X-KDE-autostart-phase=2