pmaports/main/postmarketos-ui-sxmo-de-i3/APKBUILD
Aster Boese 9755b0ed94
main/postmarketos-ui-sxmo-*: explicitly add user to input
The input group should not be blanket allowed for UIs that do not need it as
it bypasses the security benefits of Wayland. This change explicitly adds
the input group to only the UIs that absolutely require it, which is only
SXMO due to their udev rules and lisgd.

Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8767>
2026-06-12 17:26:20 +00:00

58 lines
1.2 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Co-Maintainer: Anjandev Momi <anjan@momi.ca>
# Co-Maintainer: Maarten van Gompel <proycon@anaproy.nl>
# Co-Maintainer: Aren Moynihan <aren@peacerevolution.org>
maintainer="Willow Barraco <contact@willowbarraco.fr>"
pkgname=postmarketos-ui-sxmo-de-i3
pkgver=1.18.0 # Bump this so the file names in bpo are correct
pkgrel=0
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on i3"
url="http://sr.ht/~mil/Sxmo"
arch="noarch"
license="AGPL-3.0-only"
depends="
postmarketos-base-ui
postmarketos-base-ui-audio
postmarketos-base-ui-networkmanager
sxmo-utils-i3
sxmo-utils-audio-bluetooth
"
install="
$pkgname.post-install
$pkgname.post-upgrade
"
_pmb_groups="input"
_pmb_recommends="
w3m
sfeed
adwaita-icon-theme
clickclack
postmarketos-artwork-wallpapers
ttyescape
xcalc
"
provides="postmarketos-ui-sxmo"
provider_priority=3
options="!check"
subpackages="$pkgname-openrc"
package() {
mkdir -p "$pkgdir"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
openrc
tinydm-openrc
modemmanager-openrc
networkmanager-openrc
bluez-openrc
iio-sensor-proxy-openrc
"
mkdir -p "$subpkgdir"
}