pmaports/main/postmarketos-ui-plasma-bigscreen/APKBUILD
Newbyte 819620d7aa
main/postmarketos-ui-*: add explicit networkmanager-openrc dependency (MR 3111)
This should be reverted when this Alpine issue has been closed:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13778

sxmo-common already had this for some reason.

[ci:ignore-count]
[ci:skip-build] Already built successfuly on CI in MR
2022-05-04 17:09:41 +02:00

73 lines
2.3 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-bigscreen
pkgver=0.2
pkgrel=14
_commit_configs="a8bd93e279c222be6058ef46b065c11e88aa8400"
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
arch="noarch !armhf"
license="GPL-3.0-or-later"
depends="
elogind
dnsmasq
networkmanager
networkmanager-cli
networkmanager-openrc
networkmanager-tui
networkmanager-wifi
networkmanager-wwan
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="
a3b877e15f06078c4ac6017d2b6ce57902d23d40c0fbbc8e7ad0af8f5b9ddc802e8e353ee4f48a07315dd2d1fd1b34ed3bfc4235649ba27729cbfd67dad3675a postmarketos-ui-plasma-bigscreen-a8bd93e279c222be6058ef46b065c11e88aa8400.tar.gz
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini
04b0dc1385072b5e9004068594c110678ed9efd6254fd98dee302524e0edf139f936de849d80253301552f9927409a8b0cf5ad32cdb9f7861ef0e72787610d3c nymphcast.desktop
"