2021-11-14 17:13:14 +00:00
|
|
|
# Reference: https://postmarketos.org/uipkg
|
2022-09-13 09:57:42 +00:00
|
|
|
# Maintainer: Newbyte <newbyte@postmarketos.org>
|
2019-05-27 22:55:19 +00:00
|
|
|
pkgname=postmarketos-ui-phosh
|
2023-08-21 17:15:07 +00:00
|
|
|
pkgver=22.3
|
2024-07-12 05:49:05 +00:00
|
|
|
pkgrel=8
|
2023-09-04 12:13:42 +00:00
|
|
|
pkgdesc="(Wayland) Mobile UI initially developed for the Librem 5"
|
|
|
|
url="https://phosh.mobi"
|
2023-08-24 18:04:29 +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="
|
2022-09-18 17:52:27 +00:00
|
|
|
!gnome-shell-mobile
|
|
|
|
!gnome-shell-mobile-schemas
|
|
|
|
!mutter-mobile
|
|
|
|
!mutter-mobile-schemas
|
2021-05-15 16:26:28 +00:00
|
|
|
bluez
|
2020-03-01 08:33:17 +00:00
|
|
|
gnome-keyring
|
|
|
|
phosh
|
2022-02-17 21:45:32 +00:00
|
|
|
postmarketos-base-ui-gnome
|
2023-07-10 17:07:05 +00:00
|
|
|
postmarketos-base-ui-qt-tweaks
|
|
|
|
postmarketos-base-ui-qt-wayland
|
2022-02-03 07:46:39 +00:00
|
|
|
udiskie
|
2023-08-18 15:52:44 +00:00
|
|
|
xdg-desktop-portal-wlr
|
2020-07-20 08:43:05 +00:00
|
|
|
"
|
2021-12-12 11:51:30 +00:00
|
|
|
_pmb_recommends="
|
|
|
|
calls
|
2020-07-20 08:43:05 +00:00
|
|
|
chatty
|
2020-08-06 15:58:02 +00:00
|
|
|
mobile-config-firefox
|
2022-09-02 09:06:56 +00:00
|
|
|
phosh-mobile-settings
|
2021-06-07 22:26:01 +00:00
|
|
|
portfolio
|
2023-01-20 06:48:43 +00:00
|
|
|
postmarketos-default-camera
|
2021-04-10 00:34:06 +00:00
|
|
|
postmarketos-tweaks
|
2022-06-07 23:18:03 +00:00
|
|
|
postmarketos-welcome
|
2022-07-17 18:05:24 +00:00
|
|
|
postprocessd
|
2021-12-16 03:41:27 +00:00
|
|
|
ttyescape
|
2020-03-01 08:33:17 +00:00
|
|
|
"
|
2021-01-27 16:08:06 +00:00
|
|
|
_pmb_groups="feedbackd"
|
2019-10-17 17:44:20 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2020-10-10 08:05:48 +00:00
|
|
|
source="
|
2022-02-17 21:45:32 +00:00
|
|
|
01_postmarketos-ui-phosh.gschema.override
|
2020-12-14 08:44:55 +00:00
|
|
|
mimeapps.list
|
2022-02-03 07:46:39 +00:00
|
|
|
udiskie.desktop
|
2020-07-06 13:45:22 +00:00
|
|
|
"
|
2024-03-10 14:59:58 +00:00
|
|
|
options="!check pmb:gpu-accel pmb:systemd"
|
|
|
|
subpackages="$pkgname-openrc $pkgname-systemd"
|
2019-05-27 22:55:19 +00:00
|
|
|
|
|
|
|
package() {
|
2022-02-17 21:45:32 +00:00
|
|
|
install -Dm644 "$srcdir"/01_postmarketos-ui-phosh.gschema.override \
|
|
|
|
-t "$pkgdir"/usr/share/glib-2.0/schemas/
|
2020-07-26 08:14:22 +00:00
|
|
|
install -Dm644 "$srcdir"/mimeapps.list \
|
|
|
|
"$pkgdir"/usr/share/applications/mimeapps.list
|
2022-02-03 07:46:39 +00:00
|
|
|
install -Dm644 "$srcdir"/udiskie.desktop \
|
|
|
|
"$pkgdir"/etc/xdg/autostart/udiskie.desktop
|
2019-05-27 22:55:19 +00:00
|
|
|
}
|
2020-02-28 11:12:13 +00:00
|
|
|
|
2024-03-10 14:59:58 +00:00
|
|
|
openrc() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
depends="
|
|
|
|
tinydm
|
|
|
|
tinydm-openrc
|
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
systemd() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel systemd"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
depends="
|
|
|
|
libcap-utils
|
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-06-08 15:46:44 +00:00
|
|
|
sha512sums="
|
2023-08-21 17:15:07 +00:00
|
|
|
e577b8073df680ccee75ef5b6bb1f2877d5727687d63d6fd9211298e791b6c9f593eb79278c77a4b4918e3c57333c2a012030baf5a3c8d6d16000cc63a030f84 01_postmarketos-ui-phosh.gschema.override
|
|
|
|
a741e8db9e4232334b924326c48be4e4c8f7a2382a7608926918a7491c518b2dda551e55a00d4d5fcf58c7950a78dc35d5cc5eaab53ad93a56de40887071f242 mimeapps.list
|
2022-02-03 07:46:39 +00:00
|
|
|
53f5c565b4ca8a12f12b63ec84a0194ef530703565d123203d41582a35a54d66afaf3a676df158ae0effe327dcfc1c6496a082ce9dbe803b2547417c3c3fad6e udiskie.desktop
|
2021-06-08 15:46:44 +00:00
|
|
|
"
|