71 lines
1.6 KiB
Text
71 lines
1.6 KiB
Text
# Maintainer: Miles Alan <m@milesalan.com>
|
|
pkgname=postmarketos-ui-sxmo
|
|
pkgver=1.5.1
|
|
pkgrel=2
|
|
pkgdesc="(X11) Simple X Mobile: Mobile environment based on simple & suckless software (best compatibility on pinephone)"
|
|
url="http://sr.ht/~mil/Sxmo"
|
|
arch="noarch !armhf"
|
|
license="MIT"
|
|
depends="
|
|
dnsmasq
|
|
modemmanager-openrc
|
|
networkmanager-openrc
|
|
polkit
|
|
polkit-openrc
|
|
postmarketos-base-ui
|
|
sxmo-utils
|
|
sxmo-utils-openrc
|
|
tinydm
|
|
tinydm-openrc
|
|
"
|
|
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
|
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth"
|
|
_pmb_recommends="
|
|
feh
|
|
firefox-esr
|
|
font-noto
|
|
font-noto-emoji
|
|
gnome-icon-theme
|
|
htop
|
|
megapixels-gtk3
|
|
mobile-config-firefox
|
|
xcalc
|
|
"
|
|
_pmb_groups="
|
|
seat
|
|
"
|
|
source="
|
|
sxmo-qt-mobile-controls.sh
|
|
postmarketos.conf
|
|
"
|
|
options="!check" # has no tests
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
qt_tweaks() {
|
|
install_if="$pkgname qt5-qtbase"
|
|
install -Dm755 -t "$subpkgdir"/etc/profile.d/ \
|
|
"$srcdir"/sxmo-qt-mobile-controls.sh
|
|
}
|
|
|
|
bluetooth() {
|
|
depends="
|
|
bluez
|
|
bluez-openrc
|
|
pipewire
|
|
pipewire-media-session
|
|
pipewire-pulse
|
|
"
|
|
replaces="bluez" # Autoenable controllers
|
|
mkdir -p "$subpkgdir"/etc/bluetooth
|
|
install -Dm644 "$srcdir"/postmarketos.conf \
|
|
"$subpkgdir"/etc/bluetooth/main.conf
|
|
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
|
}
|
|
|
|
sha512sums="
|
|
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 sxmo-qt-mobile-controls.sh
|
|
cc4e4404b135ce484e0976b243973e39f1137aa9dd5e9297f767b2ea65b719ca82e84cc66cb093950ce330dbf786981ced2e5b0d16350deb5706a08ffccb4606 postmarketos.conf
|
|
"
|