f7ed67b1b7
We should disable it by default and let the user to enable it when they want it. And currently it's causing problems where the backlight would go very dark with it enabled on PinePhone. Signed-off-by: Danct12 <danct12@disroot.org>
56 lines
2 KiB
Text
56 lines
2 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=postmarketos-ui-phosh
|
|
pkgver=1
|
|
pkgrel=18
|
|
pkgdesc="(Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)"
|
|
url="https://puri.sm"
|
|
arch="noarch !armhf"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
calls
|
|
chatty
|
|
epiphany
|
|
gnome-keyring
|
|
kgx
|
|
lightdm
|
|
lightdm-openrc
|
|
phosh
|
|
polkit-elogind
|
|
postmarketos-artwork-wallpapers
|
|
pulseaudio
|
|
xorg-server-xwayland
|
|
iio-sensor-proxy
|
|
"
|
|
subpackages="$pkgname-qt_tweaks"
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
|
source="60-lightdm-autologin.conf
|
|
000-gschema.override
|
|
osk.sh
|
|
gtk-app-wayland.sh
|
|
qt-tweaks.sh"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/60-lightdm-autologin.conf \
|
|
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
|
install -Dm644 "$srcdir"/000-gschema.override \
|
|
"$pkgdir"/usr/share/glib-2.0/schemas/000-postmarketos.gschema.override
|
|
install -Dm755 "$srcdir"/gtk-app-wayland.sh \
|
|
"$pkgdir"/etc/profile.d/gtk-app-wayland.sh
|
|
install -Dm755 "$srcdir"/osk.sh \
|
|
"$pkgdir"/usr/bin/osk-wayland
|
|
}
|
|
|
|
qt_tweaks() {
|
|
source="qt-tweaks.sh"
|
|
install_if="$pkgname qt5-qtbase"
|
|
depends="qt5-qtwayland"
|
|
install -Dm755 "$srcdir"/qt-tweaks.sh \
|
|
"$subpkgdir"/etc/profile.d/phosh-qt-tweaks.sh
|
|
}
|
|
|
|
sha512sums="c51a5cf93495069d71900dd1c6fbddfa3bdfb70dbab8141d1b115b6150975a12206c63517f18dc516e0366028b32e014b6d37a20e19ff73d5f0934c518d3ab39 60-lightdm-autologin.conf
|
|
2bc94b0c457a85cadac88e48685b95e9c9a6f8d9e611a7aaf3c4dcd5c0fc846f1e6eb31f21a7e28e35507333e4c1f14d87845f042f86f00418aaec3a90d343d0 000-gschema.override
|
|
4113ef59267e88d205ef1e1aec0ed11ccf817a25c232f2006a538b56fb466fad5025ad445d109e367ca92ee98d9b25f1f9a1a4b9bae2cb80df12a3739d62d10a osk.sh
|
|
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh
|
|
6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6 qt-tweaks.sh"
|