main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)

We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
This commit is contained in:
Bart Ribbers 2020-02-26 20:59:46 +01:00 committed by Oliver Smith
parent be59b67d6a
commit 820c3a3a31
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
4 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,7 @@
pkgname="device-pine64-pinephone"
pkgdesc="PINE64 PinePhone"
pkgver=0.2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -11,7 +11,7 @@ options="!check !archcheck"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
depends="postmarketos-base u-boot-pine64 uboot-tools mesa-git-dri-gallium linux-postmarketos-allwinner ofono ofono-openrc gpsd atinout bluez"
depends="postmarketos-base u-boot-pine64 uboot-tools mesa-git-dri-gallium linux-postmarketos-allwinner gpsd atinout bluez"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
source="

View File

@ -3,9 +3,7 @@
sed -i 's|#Name = BlueZ|Name = PINE64 PinePhone|' /etc/bluetooth/main.conf
rc-update add bluetooth default
rc-update add ofono default
rc-update add eg25 default
rc-update add gpsd default
rc-update add gpsd_pinephone default
rc-update add ofono-auto-enable default
rc-update add pinephone_setup-modem-audio default

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-mobile
pkgver=2
pkgrel=16
pkgrel=17
pkgdesc="(Wayland) Mobile variant of KDE Plasma (slow without hardware acceleration, allows only numeric passwords!)"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch !armhf" # Crashes on armhf due to https://gitlab.com/postmarketOS/pmaports/issues/75
@ -19,6 +19,8 @@ depends="
kscreen
kwallet-pam
kwayland-integration
ofono
ofono-openrc
pix
plasma-angelfish
plasma-phonebook

View File

@ -4,3 +4,5 @@ sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/li
rc-update add lightdm default
rc-update add urfkill default
rc-update add ofono default
rc-update add ofono-auto-enable default