2021-11-14 17:13:14 +00:00
|
|
|
# Reference: https://postmarketos.org/uipkg
|
2019-05-27 22:55:19 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=postmarketos-ui-phosh
|
2021-07-05 11:40:34 +00:00
|
|
|
pkgver=12
|
2021-11-11 22:45:59 +00:00
|
|
|
pkgrel=2
|
2020-02-26 17:05:06 +00:00
|
|
|
pkgdesc="(Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)"
|
2019-05-27 22:55:19 +00:00
|
|
|
url="https://puri.sm"
|
2021-02-07 18:24:25 +00:00
|
|
|
arch="noarch !armhf"
|
2019-05-27 22:55:19 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2021-05-15 16:26:28 +00:00
|
|
|
depends="
|
|
|
|
bluez
|
2021-06-09 23:34:05 +00:00
|
|
|
dnsmasq
|
2020-03-01 08:33:17 +00:00
|
|
|
gnome-keyring
|
2020-07-20 08:43:05 +00:00
|
|
|
iio-sensor-proxy
|
2020-10-28 19:48:42 +00:00
|
|
|
iio-sensor-proxy-openrc
|
2021-11-11 22:45:59 +00:00
|
|
|
modemmanager
|
|
|
|
modemmanager-openrc
|
2021-05-15 16:26:28 +00:00
|
|
|
networkmanager
|
2020-03-01 08:33:17 +00:00
|
|
|
phosh
|
|
|
|
polkit-elogind
|
2021-06-09 23:34:05 +00:00
|
|
|
postmarketos-base-ui
|
2020-03-01 08:33:17 +00:00
|
|
|
pulseaudio
|
2020-10-10 08:05:48 +00:00
|
|
|
tinydm
|
2020-12-14 11:26:02 +00:00
|
|
|
tinydm-openrc
|
2020-12-31 16:37:22 +00:00
|
|
|
xdg-desktop-portal-gtk
|
2020-07-20 08:43:05 +00:00
|
|
|
"
|
|
|
|
_pmb_recommends="calls
|
|
|
|
chatty
|
2020-09-16 08:20:18 +00:00
|
|
|
eog
|
2020-07-23 13:15:13 +00:00
|
|
|
firefox-esr
|
2021-04-25 12:21:59 +00:00
|
|
|
font-noto
|
2020-10-13 07:20:49 +00:00
|
|
|
font-noto-emoji
|
2020-07-20 08:43:05 +00:00
|
|
|
gedit
|
|
|
|
gnome-calculator
|
|
|
|
gnome-clocks
|
|
|
|
gnome-contacts
|
|
|
|
gnome-software
|
|
|
|
kgx
|
2021-08-08 06:42:06 +00:00
|
|
|
lollypop
|
2020-09-30 08:17:26 +00:00
|
|
|
megapixels
|
2020-08-06 15:58:02 +00:00
|
|
|
mobile-config-firefox
|
2021-06-07 22:26:01 +00:00
|
|
|
portfolio
|
2020-07-20 08:43:05 +00:00
|
|
|
postmarketos-artwork-wallpapers
|
2020-07-22 15:08:32 +00:00
|
|
|
postmarketos-hidden-desktop-entries
|
2021-04-10 00:34:06 +00:00
|
|
|
postmarketos-tweaks
|
2020-07-23 14:49:07 +00:00
|
|
|
postmarketos-welcome-gtk3
|
2020-07-21 13:06:04 +00:00
|
|
|
xdg-user-dirs
|
2021-03-19 14:04:46 +00:00
|
|
|
xwayland
|
2020-03-01 08:33:17 +00:00
|
|
|
"
|
2021-01-27 16:08:06 +00:00
|
|
|
_pmb_groups="feedbackd"
|
2021-06-09 19:47:00 +00:00
|
|
|
subpackages="$pkgname-qt_tweaks"
|
2019-10-17 17:44:20 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2020-10-10 08:05:48 +00:00
|
|
|
source="
|
2019-11-27 10:09:58 +00:00
|
|
|
000-gschema.override
|
2020-07-06 13:45:22 +00:00
|
|
|
01-phoc-scaling
|
2020-07-25 20:23:25 +00:00
|
|
|
02-gnome-software-no-first-run
|
2020-12-14 08:44:55 +00:00
|
|
|
dconf-profile-postmarketos
|
|
|
|
mimeapps.list
|
|
|
|
osk.sh
|
2021-02-07 18:10:12 +00:00
|
|
|
phosh-qt-mobile-controls.sh
|
|
|
|
phosh-qt-wayland.sh
|
2020-07-06 13:45:22 +00:00
|
|
|
"
|
2021-03-31 10:16:33 +00:00
|
|
|
options="!check pmb:gpu-accel"
|
2019-05-27 22:55:19 +00:00
|
|
|
|
|
|
|
package() {
|
2019-09-27 08:28:56 +00:00
|
|
|
install -Dm644 "$srcdir"/000-gschema.override \
|
|
|
|
"$pkgdir"/usr/share/glib-2.0/schemas/000-postmarketos.gschema.override
|
|
|
|
install -Dm755 "$srcdir"/osk.sh \
|
|
|
|
"$pkgdir"/usr/bin/osk-wayland
|
2020-07-06 13:45:22 +00:00
|
|
|
install -Dm755 "$srcdir"/dconf-profile-postmarketos \
|
|
|
|
"$pkgdir"/etc/dconf/profile/user
|
2020-07-26 08:14:22 +00:00
|
|
|
install -Dm644 "$srcdir"/mimeapps.list \
|
|
|
|
"$pkgdir"/usr/share/applications/mimeapps.list
|
2020-07-06 13:45:22 +00:00
|
|
|
install -Dm755 "$srcdir"/01-phoc-scaling \
|
|
|
|
"$pkgdir"/etc/dconf/db/postmarketos.d/01-phoc-scaling
|
2020-07-25 20:23:25 +00:00
|
|
|
install -Dm755 "$srcdir"/02-gnome-software-no-first-run \
|
|
|
|
"$pkgdir"/etc/dconf/db/postmarketos.d/02-gnome-software-no-first-run
|
2019-05-27 22:55:19 +00:00
|
|
|
}
|
2020-02-28 11:12:13 +00:00
|
|
|
|
|
|
|
qt_tweaks() {
|
2021-02-13 07:40:12 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel qt5-qtbase"
|
2020-02-28 11:12:13 +00:00
|
|
|
depends="qt5-qtwayland"
|
2021-02-07 18:10:12 +00:00
|
|
|
install -Dm755 -t "$subpkgdir"/etc/profile.d/ \
|
|
|
|
"$srcdir"/phosh-qt-mobile-controls.sh \
|
|
|
|
"$srcdir"/phosh-qt-wayland.sh
|
2020-02-28 11:12:13 +00:00
|
|
|
}
|
2021-06-08 15:46:44 +00:00
|
|
|
sha512sums="
|
2021-07-01 07:20:15 +00:00
|
|
|
8cb2e7360347ce1f41b8a889640d65e6cc4ef1381c1d91fcb29a89d4930b54ee21b6adfea02396759cffb732ed8741804c0eff2cccb924603b08aa2f9ea17faa 000-gschema.override
|
2020-12-14 08:44:55 +00:00
|
|
|
4a60c08c86688f2d92820bc07305fe1bcff54986d29ee5dd84c7902ea5247b73b96f7453d2da9931a19903b2f5825b8a636f92edcf89bc205a7d389defea0b0e 01-phoc-scaling
|
|
|
|
834d1c558b6a9ca26345928895a5436919aab13f944410240516953a13f8fdafae995af4b1baeee560a800c405a4d67c44bb92499bf8cacae7a17f6d9893577e 02-gnome-software-no-first-run
|
2020-07-06 13:45:22 +00:00
|
|
|
e00756c2c056f68123d877f2f6a5ad3434ca7851095f021c26831c081728b821cf7947ba08d6742eee51d93dc83859a7ead553f4dcbc8b6fcefa33ae344ba178 dconf-profile-postmarketos
|
2020-09-16 08:20:18 +00:00
|
|
|
0a376140da36538fd73cbd8305ff97b54d2b82831bab64a3b7167019f1d005752eda4e81ef7c19fd64fcba3a775c9e87fca1a250b55a522a0ee9728ab712f089 mimeapps.list
|
2020-12-14 08:44:55 +00:00
|
|
|
4113ef59267e88d205ef1e1aec0ed11ccf817a25c232f2006a538b56fb466fad5025ad445d109e367ca92ee98d9b25f1f9a1a4b9bae2cb80df12a3739d62d10a osk.sh
|
2021-02-07 18:10:12 +00:00
|
|
|
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 phosh-qt-mobile-controls.sh
|
2021-06-08 15:46:44 +00:00
|
|
|
6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6 phosh-qt-wayland.sh
|
|
|
|
"
|