pmaports/main/postmarketos-ui-plasma-mobile/APKBUILD
Devin Lin cf2026196e
postmarketos-base-ui-plasma: remove unnecessary override files, and move kscreenlocker override back to plasma-mobile (MR 4882)
A bunch of override files in postmarketos-base-ui-plasma seem to have come from the plasma-mobile ui package, which probably shouldn't be on desktop and bigscreen.

With Plasma 6, a lot of the overrides are now no longer necessary for Plasma Mobile.

Situation with each file:
- 000-gschema.override - This likely was for changing maliit themes and GTK title bar layout for Plasma Mobile, maliit theming was dropped (https://github.com/maliit/keyboard/pull/108), and title bar layout is now handled within Plasma Mobile
- kdeglobals - This was for setting the look-and-feel on Plasma Mobile and default browser, it's now handled within Plasma Mobile envmanager
- kwinrc - These were settings for disabling window decorations and setting the vkbd to maliit, which is now handled in Plasma Mobile envmanager
- kscreenlockerrc - This is to autolock the screen after login (tinydm autologs in), the file was for Plasma Mobile, I don't think we want it for Desktop since SDDM is used there
2024-03-04 22:59:59 +01:00

83 lines
2 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-mobile
pkgver=5
pkgrel=0
pkgdesc="(Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch !armhf !x86" # armhf: pmaports#75, x86: aports#11807
license="GPL-3.0-or-later"
depends="
callaudiod
hfd-service
plasma-mobile
postmarketos-base-ui-plasma
"
_pmb_recommends="
angelfish
index
kclock
koko
plasma-dialer
plasma-mobile-sounds
plasma-phonebook
postmarketos-default-camera
postprocessd
qmlkonsole
spacebar
ttyescape
"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
kscreenlockerrc
maliit-plasmamobile.json
org.kde.phone.homescreen.js
"
subpackages="$pkgname-extras"
replaces="plasma-mobile"
options="!check pmb:gpu-accel"
package() {
install -Dm644 \
"$srcdir"/kscreenlockerrc \
-t "$pkgdir"/etc/xdg
install -Dm644 "$srcdir"/maliit-plasmamobile.json \
"$pkgdir"/usr/share/maliit/keyboard2/devices/plasmamobile.json
install -Dm644 "$srcdir"/org.kde.phone.homescreen.js \
"$pkgdir"/usr/share/plasma/look-and-feel/org.kde.plasma.phone/contents/plasmoidsetupscripts/org.kde.phone.homescreen.js
}
extras() {
pkgdesc="Meta package for additional Plasma mobile apps"
_pmb_recommends="
alligator
buho
calindori
elisa
kaidan
kalk
kasts
kdeconnect
keysmith
kongress
krecorder
ktrip
kweather
neochat
nota
okular-mobile
tokodon
vvave
"
mkdir -p "$subpkgdir"
}
sha512sums="
b3aa8ee26c01de103c0c0af23532bf232f7071fdd02c53bd787d78e5974faa5662fc5776ce9be417392214ae73334b0eb0d073fe24f616a0ce99081f30b9158c kscreenlockerrc
70ee87860842057b557a433a9ae7d54653f076a612b3d9de2d413d598806d23ec19390262eaa398cddf39437f1213d14922402a8d978878e5e98f3767ce0b9eb maliit-plasmamobile.json
50dbb5e0b1550776ca6fc5b91468412b23d49aa502af77cf7d5d15af11eaf61b1632b205f42eac3274bf28a0b7b278a4d6bfc98c6c12ea29830fd258bad5107d org.kde.phone.homescreen.js
"