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-01-01 20:53:20 +00:00
|
|
|
pkgver=22.2
|
2023-01-20 06:48:43 +00:00
|
|
|
pkgrel=3
|
2022-01-26 21:09:56 +00:00
|
|
|
pkgdesc="(Wayland) Mobile UI developed for the Librem 5"
|
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"
|
2022-01-30 09:59:24 +00:00
|
|
|
# !pipewire-pulse: prevent audio breakage, see pma#1386
|
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
|
2022-01-30 09:59:24 +00:00
|
|
|
!pipewire-pulse
|
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
|
2020-10-10 08:05:48 +00:00
|
|
|
tinydm
|
2020-12-14 11:26:02 +00:00
|
|
|
tinydm-openrc
|
2022-02-03 07:46:39 +00:00
|
|
|
udiskie
|
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-09-16 08:20:18 +00:00
|
|
|
eog
|
2023-02-15 15:47:35 +00:00
|
|
|
evince
|
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
|
|
|
gnome-calculator
|
|
|
|
gnome-clocks
|
2022-11-12 12:52:02 +00:00
|
|
|
gnome-console
|
2020-07-20 08:43:05 +00:00
|
|
|
gnome-contacts
|
|
|
|
gnome-software
|
2023-02-06 13:37:16 +00:00
|
|
|
gnome-software-plugin-apk
|
2022-10-16 18:22:46 +00:00
|
|
|
gnome-text-editor
|
2022-05-20 14:09:24 +00:00
|
|
|
karlender
|
2021-08-08 06:42:06 +00:00
|
|
|
lollypop
|
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
|
2020-07-20 08:43:05 +00:00
|
|
|
postmarketos-artwork-wallpapers
|
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"
|
2022-09-08 20:07:53 +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="
|
2022-02-17 21:45:32 +00:00
|
|
|
01_postmarketos-ui-phosh.gschema.override
|
2020-12-14 08:44:55 +00:00
|
|
|
mimeapps.list
|
2021-02-07 18:10:12 +00:00
|
|
|
phosh-qt-mobile-controls.sh
|
|
|
|
phosh-qt-wayland.sh
|
2022-02-03 07:46:39 +00:00
|
|
|
udiskie.desktop
|
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() {
|
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
|
|
|
|
|
|
|
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-12-12 11:51:30 +00:00
|
|
|
|
2021-06-08 15:46:44 +00:00
|
|
|
sha512sums="
|
2022-09-11 16:19:02 +00:00
|
|
|
bfdef6d89015c34cbb9cf67f623f8d51f0b2d9665bca447c434ac14031ad13e8a5fe6fc63bdf52957bc6fd5404f2fe1321df8f5f2a9b945a2df09c741a2c672b 01_postmarketos-ui-phosh.gschema.override
|
2022-09-12 15:41:01 +00:00
|
|
|
d58379d4dcbcc8df68e20c4a2f45dc320db5e9c383b8ffe2f3ba3815ebff46e8c1c32d18195800ac8b37adfab23ef4f985be2bf5da7ed3f10d15c5e3915c2fd3 mimeapps.list
|
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
|
2022-02-03 07:46:39 +00:00
|
|
|
53f5c565b4ca8a12f12b63ec84a0194ef530703565d123203d41582a35a54d66afaf3a676df158ae0effe327dcfc1c6496a082ce9dbe803b2547417c3c3fad6e udiskie.desktop
|
2021-06-08 15:46:44 +00:00
|
|
|
"
|