0a578020c2
There is no need to install the experimental GNOME mobile forks when running Phosh, it will probably just cause instabilities. Let's rather not do it.
107 lines
3.5 KiB
Text
107 lines
3.5 KiB
Text
# Reference: https://postmarketos.org/uipkg
|
|
# Maintainer: Newbyte <newbyte@postmarketos.org>
|
|
pkgname=postmarketos-ui-phosh
|
|
pkgver=21
|
|
pkgrel=1
|
|
pkgdesc="(Wayland) Mobile UI developed for the Librem 5"
|
|
url="https://puri.sm"
|
|
arch="noarch !armhf"
|
|
license="GPL-3.0-or-later"
|
|
# !pipewire-pulse: prevent audio breakage, see pma#1386
|
|
depends="
|
|
!gnome-shell-mobile
|
|
!gnome-shell-mobile-schemas
|
|
!mutter-mobile
|
|
!mutter-mobile-schemas
|
|
!pipewire-pulse
|
|
bluez
|
|
gnome-keyring
|
|
iio-sensor-proxy
|
|
iio-sensor-proxy-openrc
|
|
modemmanager
|
|
modemmanager-openrc
|
|
phosh
|
|
postmarketos-base-ui-gnome
|
|
tinydm
|
|
tinydm-openrc
|
|
udiskie
|
|
xdg-desktop-portal-gtk
|
|
"
|
|
_pmb_recommends="
|
|
calls
|
|
chatty
|
|
eog
|
|
firefox-esr
|
|
font-noto
|
|
font-noto-emoji
|
|
gedit
|
|
gnome-calculator
|
|
gnome-clocks
|
|
gnome-contacts
|
|
gnome-software
|
|
karlender
|
|
kgx
|
|
lollypop
|
|
megapixels
|
|
mobile-config-firefox
|
|
phosh-mobile-settings
|
|
portfolio
|
|
postmarketos-artwork-wallpapers
|
|
postmarketos-hidden-desktop-entries
|
|
postmarketos-tweaks
|
|
postmarketos-welcome
|
|
postprocessd
|
|
ttyescape
|
|
xdg-user-dirs
|
|
"
|
|
_pmb_groups="feedbackd"
|
|
subpackages="$pkgname-qt_tweaks"
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
|
source="
|
|
01_postmarketos-ui-phosh.gschema.override
|
|
01-phoc-scaling
|
|
dconf-profile-postmarketos
|
|
mimeapps.list
|
|
osk.sh
|
|
phosh-qt-mobile-controls.sh
|
|
phosh-qt-wayland.sh
|
|
udiskie.desktop
|
|
"
|
|
options="!check pmb:gpu-accel"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/01_postmarketos-ui-phosh.gschema.override \
|
|
-t "$pkgdir"/usr/share/glib-2.0/schemas/
|
|
# Alpine sm.puri.OSK0 service packaged in phosh does not hardcode
|
|
# squeekboard, executes /usr/bin/osk-wayland instead
|
|
install -Dm755 "$srcdir"/osk.sh \
|
|
"$pkgdir"/usr/bin/osk-wayland
|
|
install -Dm755 "$srcdir"/dconf-profile-postmarketos \
|
|
"$pkgdir"/etc/dconf/profile/user
|
|
install -Dm644 "$srcdir"/mimeapps.list \
|
|
"$pkgdir"/usr/share/applications/mimeapps.list
|
|
# Only relocatable schemas should be installed under dconf
|
|
install -Dm755 "$srcdir"/01-phoc-scaling \
|
|
"$pkgdir"/etc/dconf/db/postmarketos.d/01-phoc-scaling
|
|
install -Dm644 "$srcdir"/udiskie.desktop \
|
|
"$pkgdir"/etc/xdg/autostart/udiskie.desktop
|
|
}
|
|
|
|
qt_tweaks() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel qt5-qtbase"
|
|
depends="qt5-qtwayland"
|
|
install -Dm755 -t "$subpkgdir"/etc/profile.d/ \
|
|
"$srcdir"/phosh-qt-mobile-controls.sh \
|
|
"$srcdir"/phosh-qt-wayland.sh
|
|
}
|
|
|
|
sha512sums="
|
|
bfdef6d89015c34cbb9cf67f623f8d51f0b2d9665bca447c434ac14031ad13e8a5fe6fc63bdf52957bc6fd5404f2fe1321df8f5f2a9b945a2df09c741a2c672b 01_postmarketos-ui-phosh.gschema.override
|
|
6d0ccbecfab1dbf2543dbd938d4b7544e278af9e88c8ab6751494b49aa281369f46d2769a1a1874e9bdad2faf8e8025d2ce97ea6b6302569a95283af5cedf459 01-phoc-scaling
|
|
e00756c2c056f68123d877f2f6a5ad3434ca7851095f021c26831c081728b821cf7947ba08d6742eee51d93dc83859a7ead553f4dcbc8b6fcefa33ae344ba178 dconf-profile-postmarketos
|
|
d58379d4dcbcc8df68e20c4a2f45dc320db5e9c383b8ffe2f3ba3815ebff46e8c1c32d18195800ac8b37adfab23ef4f985be2bf5da7ed3f10d15c5e3915c2fd3 mimeapps.list
|
|
4113ef59267e88d205ef1e1aec0ed11ccf817a25c232f2006a538b56fb466fad5025ad445d109e367ca92ee98d9b25f1f9a1a4b9bae2cb80df12a3739d62d10a osk.sh
|
|
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 phosh-qt-mobile-controls.sh
|
|
6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6 phosh-qt-wayland.sh
|
|
53f5c565b4ca8a12f12b63ec84a0194ef530703565d123203d41582a35a54d66afaf3a676df158ae0effe327dcfc1c6496a082ce9dbe803b2547417c3c3fad6e udiskie.desktop
|
|
"
|