main/postmarketos-base-ui-gnome: enable services used by all GNOME "variants" (MR 3852)

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1936

Additionally, this means that iio-sensor-proxy actually gets enabled
on GNOME and GNOME mobile. Previously, it would get installed there
but not enabled unless the user manually did it.
This commit is contained in:
Newbyte 2023-02-07 11:46:38 +01:00 committed by Anton Bambura
parent 7bcb236407
commit 8ddb338f41
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D
3 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base-ui-gnome
pkgver=1
pkgrel=6
pkgrel=7
pkgdesc="Meta package for shared configuration for GNOME-based UIs"
url="https://postmarketos.org"
arch="noarch"
@ -9,6 +9,10 @@ depends="
dnsmasq
elogind
gnome-bluetooth
iio-sensor-proxy
iio-sensor-proxy-openrc
modemmanager
modemmanager-openrc
polkit-elogind
postmarketos-base-ui
postmarketos-base-ui-networkmanager
@ -18,6 +22,7 @@ depends="
xdg-desktop-portal-gtk
xdg-user-dirs
"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
00_postmarketos-base-ui-gnome.gschema.override
"

View file

@ -0,0 +1,6 @@
#!/bin/sh
rc-update add bluetooth default
rc-update add iio-sensor-proxy default
rc-update add modemmanager default
rc-update add networkmanager default

View file

@ -0,0 +1 @@
postmarketos-base-ui-gnome.post-install