pmaports/main/postmarketos-ui-plasma-mobile/APKBUILD
Bhushan Shah 9f00f17d94
plasma-mobile: fix booting into black screen (!128)
Switch plasma-mobile to use xdg-shell instead of wl-shell. wl-shell is
deprecated in Qt 5.12 and is breaking plasmashell, it seems.

Related upstream issue:
https://invent.kde.org/kde/plasma-phone-components/issues/2

This introduces another regression that applications don't start
maximized. Will have to solve this issue upstream.

Closes #159
2019-01-04 20:31:06 +01:00

40 lines
2 KiB
Text

pkgname=postmarketos-ui-plasma-mobile
pkgver=1
pkgrel=22
pkgdesc="(Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (slow without hardware acceleration!)"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch"
license="GPL3+"
# dbus-x11 provides dbus-launch
depends="plasma-phone-components dbus dbus-x11 qmltermwidget plasma-settings
breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard
plasma-camera elisa pulseaudio pulseaudio-utils consolekit2 powerdevil
polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers
okular pix index"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="start_plasma.sh kwinrc kdeglobals qtlogging.ini org.kde.phone.homescreen.js"
options="!check"
package() {
install -D -m644 "$srcdir"/start_plasma.sh \
"$pkgdir"/etc/profile.d/start_plasma.sh
install -D -m644 "$srcdir"/kwinrc \
"$pkgdir"/etc/xdg/kwinrc
install -D -m644 "$srcdir"/kdeglobals \
"$pkgdir"/etc/xdg/kdeglobals
install -D -m644 "$srcdir"/qtlogging.ini \
"$pkgdir"/etc/skel/.config/QtProject/qtlogging.ini
install -D -m644 "$srcdir"/org.kde.phone.homescreen.js \
"$pkgdir"/usr/share/plasma/look-and-feel/org.kde.plasma.phone/contents/plasmoidsetupscripts/org.kde.phone.homescreen.js
}
sha512sums="d92ee757d418e0bd1cea0baf4de577fb9fbd28da157fdb7829c4be96014beefb2c20516fdc507b68b52276522b771d5f6601ed3124bf334f51d993275289d42f start_plasma.sh
a95d3bbd1e8051c9b394ad7a26e4beb2d1be8d3c38189819da61fd42b1c7fd3948c4737bc9246eee23eaf5fd9451cd6362fb06442f3d8f967f930d3bcc5cfbe9 kwinrc
8eb0a095cd6e8cf693af212d57c0b99c74f39636d8f4f391561197ec662a7ca4dd5648aa74bb8ac5f088d8baf2bde976567c333f98db708e19f6ed7839d6b6fe kdeglobals
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini
50dbb5e0b1550776ca6fc5b91468412b23d49aa502af77cf7d5d15af11eaf61b1632b205f42eac3274bf28a0b7b278a4d6bfc98c6c12ea29830fd258bad5107d org.kde.phone.homescreen.js"