2021-11-14 17:13:14 +00:00
|
|
|
# Reference: https://postmarketos.org/uipkg
|
2019-02-08 12:48:21 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgname=postmarketos-ui-plasma-mobile
|
2024-03-03 23:18:09 +00:00
|
|
|
pkgver=5
|
2024-05-30 00:13:46 +00:00
|
|
|
pkgrel=3
|
2022-02-18 15:54:16 +00:00
|
|
|
pkgdesc="(Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)"
|
2017-11-26 17:08:10 +00:00
|
|
|
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
|
2020-08-28 10:02:42 +00:00
|
|
|
arch="noarch !armhf !x86" # armhf: pmaports#75, x86: aports#11807
|
2019-02-11 16:26:08 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2021-05-15 16:17:23 +00:00
|
|
|
depends="
|
2022-09-05 06:12:34 +00:00
|
|
|
callaudiod
|
2021-03-03 12:25:55 +00:00
|
|
|
hfd-service
|
2022-02-09 16:36:31 +00:00
|
|
|
plasma-mobile
|
2024-02-06 18:57:28 +00:00
|
|
|
postmarketos-base-ui-plasma
|
2019-06-24 08:39:11 +00:00
|
|
|
"
|
2022-02-18 15:54:16 +00:00
|
|
|
_pmb_recommends="
|
2024-03-14 08:37:24 +00:00
|
|
|
angelfish
|
2020-07-20 08:47:21 +00:00
|
|
|
index
|
2021-02-01 14:03:30 +00:00
|
|
|
kclock
|
2020-07-20 08:47:21 +00:00
|
|
|
koko
|
2024-03-07 19:15:34 +00:00
|
|
|
krecorder
|
|
|
|
kweather
|
2020-07-20 08:47:21 +00:00
|
|
|
plasma-dialer
|
2022-02-18 15:54:16 +00:00
|
|
|
plasma-mobile-sounds
|
2020-07-20 08:47:21 +00:00
|
|
|
plasma-phonebook
|
2023-01-20 06:48:43 +00:00
|
|
|
postmarketos-default-camera
|
2022-07-17 18:05:24 +00:00
|
|
|
postprocessd
|
2020-07-20 08:47:21 +00:00
|
|
|
qmlkonsole
|
|
|
|
spacebar
|
2021-12-16 03:41:27 +00:00
|
|
|
ttyescape
|
2020-07-20 08:47:21 +00:00
|
|
|
"
|
2021-03-04 10:02:08 +00:00
|
|
|
source="
|
2024-04-25 20:56:22 +00:00
|
|
|
plasma-mobile.service
|
2024-03-03 23:18:09 +00:00
|
|
|
kscreenlockerrc
|
2021-03-04 10:02:08 +00:00
|
|
|
maliit-plasmamobile.json
|
2018-05-05 13:51:18 +00:00
|
|
|
org.kde.phone.homescreen.js
|
2020-03-13 16:44:05 +00:00
|
|
|
"
|
2024-04-25 20:56:22 +00:00
|
|
|
subpackages="$pkgname-extras $pkgname-openrc $pkgname-systemd"
|
2018-05-05 13:51:18 +00:00
|
|
|
replaces="plasma-mobile"
|
2024-04-25 20:56:22 +00:00
|
|
|
options="!check pmb:gpu-accel pmb:systemd"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
package() {
|
2024-03-03 23:18:09 +00:00
|
|
|
install -Dm644 \
|
|
|
|
"$srcdir"/kscreenlockerrc \
|
|
|
|
-t "$pkgdir"/etc/xdg
|
|
|
|
|
2021-03-04 10:02:08 +00:00
|
|
|
install -Dm644 "$srcdir"/maliit-plasmamobile.json \
|
|
|
|
"$pkgdir"/usr/share/maliit/keyboard2/devices/plasmamobile.json
|
2021-03-31 10:47:44 +00:00
|
|
|
|
2018-05-05 13:51:18 +00:00
|
|
|
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
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2020-03-13 16:44:05 +00:00
|
|
|
|
2020-02-28 03:16:57 +00:00
|
|
|
extras() {
|
|
|
|
pkgdesc="Meta package for additional Plasma mobile apps"
|
2020-07-20 08:47:21 +00:00
|
|
|
_pmb_recommends="
|
2022-02-18 15:54:16 +00:00
|
|
|
alligator
|
2024-03-14 08:37:01 +00:00
|
|
|
arianna
|
2024-03-07 19:15:34 +00:00
|
|
|
audiotube
|
2021-05-10 22:46:17 +00:00
|
|
|
elisa
|
2024-03-07 19:15:34 +00:00
|
|
|
itinerary
|
|
|
|
kalgebra
|
2020-12-02 04:42:39 +00:00
|
|
|
kalk
|
2022-02-18 15:54:16 +00:00
|
|
|
kasts
|
2021-02-01 14:03:30 +00:00
|
|
|
kdeconnect
|
|
|
|
keysmith
|
2024-03-14 08:37:01 +00:00
|
|
|
neochat
|
2020-02-28 03:16:57 +00:00
|
|
|
okular-mobile
|
2024-03-14 08:37:01 +00:00
|
|
|
tokodon
|
2020-02-28 03:16:57 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2024-04-25 20:56:22 +00:00
|
|
|
openrc() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
depends="
|
|
|
|
modemmanager-openrc
|
|
|
|
tinydm
|
|
|
|
tinydm-openrc
|
|
|
|
"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
systemd() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel systemd"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/plasma-mobile.service \
|
|
|
|
"$subpkgdir"/usr/lib/systemd/system/plasma-mobile.service
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-05-05 13:51:18 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
sha512sums="
|
2024-04-25 20:56:22 +00:00
|
|
|
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 plasma-mobile.service
|
2024-03-03 23:18:09 +00:00
|
|
|
b3aa8ee26c01de103c0c0af23532bf232f7071fdd02c53bd787d78e5974faa5662fc5776ce9be417392214ae73334b0eb0d073fe24f616a0ce99081f30b9158c kscreenlockerrc
|
2021-03-04 10:02:08 +00:00
|
|
|
70ee87860842057b557a433a9ae7d54653f076a612b3d9de2d413d598806d23ec19390262eaa398cddf39437f1213d14922402a8d978878e5e98f3767ce0b9eb maliit-plasmamobile.json
|
2018-05-05 13:51:18 +00:00
|
|
|
50dbb5e0b1550776ca6fc5b91468412b23d49aa502af77cf7d5d15af11eaf61b1632b205f42eac3274bf28a0b7b278a4d6bfc98c6c12ea29830fd258bad5107d org.kde.phone.homescreen.js
|
2022-02-11 18:13:53 +00:00
|
|
|
"
|