pmaports/main/postmarketos-ui-plasma-bigscreen/APKBUILD
Bart Ribbers 54b2ff6979
main/postmarketos-ui-plasma-bigscreen: move mycroft to -extra subpackage (MR 2642)
MyCroft is something definitely not everybody wants, and it could in
theory even make slower devices unusable while they would otherwise work
fine with Bigscreen. Let's move it to extras so it's optional to install
2021-10-29 22:47:39 +03:00

65 lines
2 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-bigscreen
pkgver=0.2
pkgrel=9
_commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7"
pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs"
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"
license="GPL-3.0-or-later"
depends="
elogind
dnsmasq
networkmanager
plasma-bigscreen
polkit-kde-agent-1
postmarketos-artwork-wallpapers
postmarketos-base-ui
pulseaudio
qt5-qtvirtualkeyboard
xdg-desktop-portal-kde
"
# Required to launch
depends="$depends
tinydm
tinydm-openrc
"
_pmb_recommends="
aura-browser
breeze-icons
nymphcast
plank-player
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-extras"
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 -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
}
extras() {
pkgdesc="Meta package for additional Plasma Bigscreen apps like MyCroft"
_pmb_recommends="
mycroft-core
mycroft-plasmoid
"
mkdir -p "$subpkgdir"
}
sha512sums="
81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini
04b0dc1385072b5e9004068594c110678ed9efd6254fd98dee302524e0edf139f936de849d80253301552f9927409a8b0cf5ad32cdb9f7861ef0e72787610d3c nymphcast.desktop
"