postmarketos-ui-plasma-mobile: add default homescreen
The current script doesn't do anything because the path was changed during the Plasma 5 -> 6 transition. Change the script to supply a default homescreen layout. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6786 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
de4856cf46
commit
9962707c1e
3 changed files with 8 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-plasma-mobile
|
||||
pkgver=5
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
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
|
||||
|
|
@ -32,7 +32,7 @@ source="
|
|||
plasma-mobile.service
|
||||
kscreenlockerrc
|
||||
maliit-plasmamobile.json
|
||||
org.kde.phone.homescreen.js
|
||||
org.kde.plasma.mobile.homescreen.folio.js
|
||||
"
|
||||
subpackages="$pkgname-extras $pkgname-openrc"
|
||||
replaces="plasma-mobile"
|
||||
|
|
@ -46,8 +46,8 @@ package() {
|
|||
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
|
||||
install -Dm644 "$srcdir"/org.kde.plasma.mobile.homescreen.folio.js \
|
||||
"$pkgdir"/usr/share/plasma/look-and-feel/org.kde.breeze.mobile/contents/plasmoidsetupscripts/org.kde.plasma.mobile.homescreen.folio.js
|
||||
}
|
||||
|
||||
extras() {
|
||||
|
|
@ -88,5 +88,5 @@ sha512sums="
|
|||
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 plasma-mobile.service
|
||||
b3aa8ee26c01de103c0c0af23532bf232f7071fdd02c53bd787d78e5974faa5662fc5776ce9be417392214ae73334b0eb0d073fe24f616a0ce99081f30b9158c kscreenlockerrc
|
||||
70ee87860842057b557a433a9ae7d54653f076a612b3d9de2d413d598806d23ec19390262eaa398cddf39437f1213d14922402a8d978878e5e98f3767ce0b9eb maliit-plasmamobile.json
|
||||
50dbb5e0b1550776ca6fc5b91468412b23d49aa502af77cf7d5d15af11eaf61b1632b205f42eac3274bf28a0b7b278a4d6bfc98c6c12ea29830fd258bad5107d org.kde.phone.homescreen.js
|
||||
9396bb437c8a6e4b13eff1d16d1dee5804beafd126f4be55ab6deec7bcc42e2473c824b9a37717e347f99c33037d4de7accfb67943cb282fde38eb89ed6f2b89 org.kde.plasma.mobile.homescreen.folio.js
|
||||
"
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
applet.wallpaperPlugin = 'org.kde.image'
|
||||
applet.currentConfigGroup = new Array ("Wallpaper", "org.kde.image", "General")
|
||||
applet.writeConfig("Image", "file:///usr/share/wallpapers/postmarketos.jpg")
|
||||
applet.writeConfig("FillMode", "2")
|
||||
applet.reloadConfig()
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
applet.writeConfig('Favourites', '[{"storageId":"org.kde.angelfish.desktop","type":"application"},{"storageId":"org.kde.plasma.dialer.desktop","type":"application"},{"storageId":"org.kde.spacebar.desktop","type":"application"}]')
|
||||
applet.writeConfig('Pages', '[[]]')
|
||||
applet.reloadConfig()
|
||||
Loading…
Add table
Add a link
Reference in a new issue