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
This commit is contained in:
parent
d1ae76d586
commit
d95ce7966b
2 changed files with 21 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
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
|
||||
"
|
||||
|
|
8
main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop
Normal file
8
main/postmarketos-ui-plasma-bigscreen/nymphcast.desktop
Normal file
|
@ -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
|
Loading…
Reference in a new issue