pmaports/main/postmarketos-ui-plasma-bigscreen/APKBUILD
Bart Ribbers be5681e102
main/postmarketos-ui-plasma-bigscreen: update configs from upstream (MR 2784)
For one this maps the home button on TV remotes to an actually useful
command

[ci:skip-build] already built successfully in CI
2021-12-22 21:27:23 -08:00

69 lines
2.2 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-bigscreen
pkgver=0.2
pkgrel=10
_commit_configs="15604324e530b88e34113f7197157a1261f665d1"
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/plasma-bigscreen/bigscreen-image-settings/-/archive/$_commit_configs/bigscreen-image-settings-$_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
install -dm755 "$pkgdir"/etc/skel
mv "$srcdir"/bigscreen-image-settings-"$_commit_configs"/etc/xdg/* "$pkgdir"/etc/xdg
mv "$srcdir"/bigscreen-image-settings-"$_commit_configs"/etc/skel/.config "$pkgdir"/etc/skel/
}
extras() {
pkgdesc="Meta package for additional Plasma Bigscreen apps like MyCroft"
_pmb_recommends="
mycroft-core
mycroft-plasmoid
"
mkdir -p "$subpkgdir"
}
sha512sums="
2201c938cf20d57360bbfb4ade56a27c3b0734d906462163bdd3f0dc0a208e4950cc1cbc89bbe6048b63ea27d72a10a5b24bf204a44994171f2cf9bf0febfc9d postmarketos-ui-plasma-bigscreen-15604324e530b88e34113f7197157a1261f665d1.tar.gz
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini
04b0dc1385072b5e9004068594c110678ed9efd6254fd98dee302524e0edf139f936de849d80253301552f9927409a8b0cf5ad32cdb9f7861ef0e72787610d3c nymphcast.desktop
"