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
|
2022-11-11 05:12:46 +00:00
|
|
|
pkgver=3.9
|
2023-04-20 20:29:30 +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="
|
|
|
|
bluedevil
|
2019-06-24 08:39:11 +00:00
|
|
|
breeze
|
2022-09-05 06:12:34 +00:00
|
|
|
callaudiod
|
2021-06-09 23:34:05 +00:00
|
|
|
dnsmasq
|
2019-06-24 08:39:11 +00:00
|
|
|
elogind
|
2023-04-20 20:29:30 +00:00
|
|
|
elogind-openrc
|
2021-03-03 12:25:55 +00:00
|
|
|
hfd-service
|
2020-06-25 04:33:28 +00:00
|
|
|
iio-sensor-proxy
|
2020-10-28 19:48:42 +00:00
|
|
|
iio-sensor-proxy-openrc
|
2019-06-24 08:39:11 +00:00
|
|
|
kscreen
|
|
|
|
kwallet-pam
|
|
|
|
kwayland-integration
|
2021-12-07 08:27:39 +00:00
|
|
|
modemmanager
|
2022-09-12 08:37:55 +00:00
|
|
|
pipewire
|
2022-02-09 16:36:31 +00:00
|
|
|
plasma-mobile
|
2019-06-24 08:39:11 +00:00
|
|
|
polkit-kde-agent-1
|
2021-06-09 23:34:05 +00:00
|
|
|
postmarketos-base-ui
|
2022-12-31 15:53:45 +00:00
|
|
|
postmarketos-base-ui-networkmanager
|
2019-06-24 08:39:11 +00:00
|
|
|
powerdevil
|
2020-03-01 08:32:58 +00:00
|
|
|
pulseaudio
|
2022-09-12 08:37:55 +00:00
|
|
|
xdg-desktop-portal-kde
|
2019-06-24 08:39:11 +00:00
|
|
|
"
|
|
|
|
# Required to launch
|
|
|
|
depends="$depends
|
2020-11-13 10:16:11 +00:00
|
|
|
tinydm
|
2020-12-14 11:26:02 +00:00
|
|
|
tinydm-openrc
|
2019-06-24 08:39:11 +00:00
|
|
|
xorg-server
|
|
|
|
"
|
2022-02-18 15:54:16 +00:00
|
|
|
_pmb_recommends="
|
|
|
|
angelfish
|
|
|
|
breeze-gtk
|
2021-01-29 14:04:14 +00:00
|
|
|
discover
|
2022-10-08 17:10:11 +00:00
|
|
|
font-droid-nonlatin
|
2021-04-25 12:22:32 +00:00
|
|
|
font-noto
|
2022-09-12 08:25:34 +00:00
|
|
|
font-noto-extra
|
2020-10-29 21:46:24 +00:00
|
|
|
font-noto-emoji
|
2020-07-20 08:47:21 +00:00
|
|
|
index
|
|
|
|
kaccounts-providers
|
2021-02-01 14:03:30 +00:00
|
|
|
kclock
|
2020-07-20 08:47:21 +00:00
|
|
|
kde-gtk-config
|
|
|
|
kirigami-gallery
|
|
|
|
koko
|
|
|
|
kpeoplevcard
|
|
|
|
plasma-dialer
|
2022-02-18 15:54:16 +00:00
|
|
|
plasma-mobile-sounds
|
2020-07-20 08:47:21 +00:00
|
|
|
plasma-phonebook
|
|
|
|
postmarketos-artwork-wallpapers
|
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-21 13:05:37 +00:00
|
|
|
xdg-user-dirs
|
2020-07-20 08:47:21 +00:00
|
|
|
"
|
2019-10-17 17:44:56 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2021-03-04 10:02:08 +00:00
|
|
|
source="
|
|
|
|
000-gschema.override
|
|
|
|
gtk-app-wayland.sh
|
2019-10-25 22:13:09 +00:00
|
|
|
kdeglobals
|
2022-02-11 18:13:53 +00:00
|
|
|
kdewallet.kwl
|
|
|
|
kdewallet.salt
|
|
|
|
kscreenlockerrc
|
2021-03-04 10:02:08 +00:00
|
|
|
kwinrc
|
|
|
|
maliit-plasmamobile.json
|
2018-05-05 13:51:18 +00:00
|
|
|
org.kde.phone.homescreen.js
|
2019-10-25 22:13:09 +00:00
|
|
|
qtlogging.ini
|
|
|
|
unlock-plasma
|
2020-03-13 16:44:05 +00:00
|
|
|
"
|
2020-02-28 03:16:57 +00:00
|
|
|
subpackages="$pkgname-extras"
|
2018-05-05 13:51:18 +00:00
|
|
|
replaces="plasma-mobile"
|
2021-03-31 10:16:33 +00:00
|
|
|
options="!check pmb:gpu-accel"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
package() {
|
2022-02-11 18:13:53 +00:00
|
|
|
install -Dm644 \
|
|
|
|
"$srcdir"/kwinrc \
|
2021-03-04 10:02:08 +00:00
|
|
|
-t "$pkgdir"/etc/xdg/
|
2019-04-30 11:01:59 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
install -Dm644 \
|
|
|
|
"$srcdir"/kdeglobals \
|
|
|
|
"$srcdir"/kscreenlockerrc \
|
|
|
|
-t "$pkgdir"/etc/xdg
|
2018-04-17 10:42:12 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
install -Dm644 \
|
|
|
|
"$srcdir"/qtlogging.ini \
|
2021-03-04 10:02:08 +00:00
|
|
|
-t "$pkgdir"/etc/xdg/QtProject/
|
2018-05-05 13:51:18 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
install -Dm755 \
|
|
|
|
"$srcdir"/unlock-plasma \
|
2021-03-04 10:02:08 +00:00
|
|
|
-t "$pkgdir"/usr/bin/
|
2019-10-25 22:13:09 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
install -Dm755 \
|
|
|
|
"$srcdir"/gtk-app-wayland.sh \
|
2021-03-04 10:02:08 +00:00
|
|
|
-t "$pkgdir"/etc/profile.d/
|
2020-03-13 16:44:05 +00:00
|
|
|
|
2020-01-06 10:01:57 +00:00
|
|
|
install -Dm644 "$srcdir"/000-gschema.override \
|
|
|
|
"$pkgdir"/usr/share/glib-2.0/schemas/000-postmarketos.gschema.override
|
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
|
|
|
|
|
2021-03-31 10:47:44 +00:00
|
|
|
# TODO: remove once keyboard input bug is fixed
|
|
|
|
# https://bugs.kde.org/show_bug.cgi?id=435183
|
|
|
|
install -Dm600 -t "$pkgdir"/etc/skel/.local/share/kwalletd \
|
|
|
|
"$srcdir"/kdewallet.kwl \
|
|
|
|
"$srcdir"/kdewallet.salt
|
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
|
2020-02-28 03:16:57 +00:00
|
|
|
buho
|
|
|
|
calindori
|
2021-05-10 22:46:17 +00:00
|
|
|
elisa
|
2020-02-28 03:16:57 +00:00
|
|
|
kaidan
|
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
|
|
|
|
kongress
|
|
|
|
krecorder
|
2020-02-28 03:16:57 +00:00
|
|
|
ktrip
|
2020-12-02 04:42:39 +00:00
|
|
|
kweather
|
2022-02-18 15:54:16 +00:00
|
|
|
neochat
|
2020-02-28 03:16:57 +00:00
|
|
|
nota
|
|
|
|
okular-mobile
|
2022-02-18 15:54:16 +00:00
|
|
|
tokodon
|
2020-02-28 03:16:57 +00:00
|
|
|
vvave
|
|
|
|
"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-05-05 13:51:18 +00:00
|
|
|
|
2022-02-11 18:13:53 +00:00
|
|
|
sha512sums="
|
|
|
|
591529f147f161f5e97c979a9ad4b9f3a65e6d3b87a7bdbd020ec928155cfe5fd561cae6582c4b2831b452fe9b0a03168731771b77020fb66e09f81552ba421e 000-gschema.override
|
2021-03-04 10:02:08 +00:00
|
|
|
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh
|
2022-11-11 05:12:46 +00:00
|
|
|
a1923ecd21ce3c5eacee18f7a64750072ef9cd4aea7b9a0092d23b8445d37d9e70a3ac873c0c50b748e32adc4c3b75169a6737f3aea06ef85bc1fc95a67bb3ce kdeglobals
|
2022-02-11 18:13:53 +00:00
|
|
|
923309f71ee0840ae49d610ab5c11260432f462709eee7148ee5a4703872b9926a3267b16b524162c1560e0798c63fe392a161a57be5c6000bbb1e3f0c947e25 kdewallet.kwl
|
|
|
|
f3fdaaaf13e985166b86158d5a60098aa45195ea078a4cab7fbf12d3aa428000af3e46ec011dbdc38a4c00faeac5f9a3b5bc2765a6afdd0f1ee58616e31e7429 kdewallet.salt
|
2022-11-11 05:12:46 +00:00
|
|
|
b3aa8ee26c01de103c0c0af23532bf232f7071fdd02c53bd787d78e5974faa5662fc5776ce9be417392214ae73334b0eb0d073fe24f616a0ce99081f30b9158c kscreenlockerrc
|
|
|
|
f483e351781ad879deb3bca81d023098b780f0f95129ec20aa263836f0482f720cd46fee3980b088afde4e6c89bbe126eb7fb673fab65744153a7568ca3c8720 kwinrc
|
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
|
2018-05-05 13:51:18 +00:00
|
|
|
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini
|
2021-03-31 10:47:44 +00:00
|
|
|
e5dcc82c0e58288fd7a8f805e60fa777fab71c68355f085a0e4f25b05526491476fdb6decbc7c0495626d6736a53bfc8e8f34a3231210858998e19cd6fbc89a0 unlock-plasma
|
2022-02-11 18:13:53 +00:00
|
|
|
"
|