8c466207dd
Users can switch to pulseaudio with: doas apk add sxmo-audio-common-pulse We can make the poco f1 device APKBUILD depend on sxmo-common-audio-pulse. This allows you to install pulseaudio on Sxmo which was the reason Joel said the poco f1 was having issues with call audio: https://gitlab.com/postmarketOS/pmaports/-/issues/1821 After installing pulseaudio with this patch, the other side still cannot hear me. I am posting this work so that others can just run pulseaudio on sxmo and find out what's causing this bug. Note by ollieparanoid: while it doesn't fix the bug completely, it seems it's required to make calling work again, something we definitively want to have in v22.12 so I'm merging this now. Also the sxmo-utils patch was merged to sxmo-utils upstream, but isn't in alpine yet. Adding this package (previous patch) temporarily makes sense. Co-developed-by: Oliver Smith <ollieparanoid@postmarketos.org> [ci:skip-vercheck]: pkg forked from alpine has pkgrel > 0 [ci:skip-build]: already built successfully in CI
102 lines
2.2 KiB
Text
102 lines
2.2 KiB
Text
# Reference: https://postmarketos.org/uipkg
|
|
# Maintainer: Miles Alan <m@milesalan.com>
|
|
pkgname=sxmo-common
|
|
pkgver=1.11.0
|
|
pkgrel=1
|
|
pkgdesc="Simple Mobile: Core package to build custom SXMO desktop environments"
|
|
url="http://sr.ht/~mil/Sxmo"
|
|
arch="noarch !armhf"
|
|
license="MIT"
|
|
depends="
|
|
adwaita-icon-theme
|
|
alsa-utils
|
|
callaudiod
|
|
codemadness-frontends
|
|
dnsmasq
|
|
dunstify
|
|
ffmpeg
|
|
file
|
|
font-fira-mono-nerd
|
|
font-terminus-nerd
|
|
geoclue
|
|
inotify-tools
|
|
light
|
|
linux-tools-iio
|
|
lisgd
|
|
mediainfo
|
|
mmsd-tng
|
|
mmsd-tng-tools
|
|
mnc
|
|
modemmanager
|
|
modemmanager-openrc
|
|
mpv
|
|
ncurses
|
|
networkmanager
|
|
networkmanager-cli
|
|
networkmanager-openrc
|
|
networkmanager-tui
|
|
networkmanager-wifi
|
|
networkmanager-wwan
|
|
pamixer
|
|
pn
|
|
polkit
|
|
polkit-openrc
|
|
postmarketos-base-ui
|
|
pulseaudio-utils
|
|
superd
|
|
sxmo-common-audio
|
|
sxmo-utils
|
|
sxmo-utils-openrc
|
|
terminus-font
|
|
tinydm
|
|
tinydm-openrc
|
|
tzdata
|
|
v4l-utils
|
|
vim
|
|
vvmd
|
|
xdg-user-dirs
|
|
yt-dlp
|
|
"
|
|
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
|
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth"
|
|
source="
|
|
sxmo-qt-mobile-controls.sh
|
|
postmarketos.conf
|
|
"
|
|
options="!check" # has no tests
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
qt_tweaks() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel qt5-qtbase"
|
|
install -Dm755 -t "$subpkgdir"/etc/profile.d/ \
|
|
"$srcdir"/sxmo-qt-mobile-controls.sh
|
|
provides="postmarketos-ui-sxmo-qt_tweaks=$pkgver-r$pkgrel"
|
|
}
|
|
|
|
bluetooth() {
|
|
# Should configure pipewire for bluetooth headsets according to this
|
|
# https://wiki.alpinelinux.org/wiki/PipeWire
|
|
depends="
|
|
dbus
|
|
dbus-openrc
|
|
dbus-x11
|
|
bluez
|
|
bluez-openrc
|
|
pipewire-spa-bluez
|
|
"
|
|
replaces="bluez" # Autoenable controllers
|
|
mkdir -p "$subpkgdir"/etc/bluetooth
|
|
install -Dm644 "$srcdir"/postmarketos.conf \
|
|
"$subpkgdir"/etc/bluetooth/main.conf
|
|
mkdir -p "$subpkgdir"/etc/modules-load.d
|
|
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
|
provides="postmarketos-ui-sxmo-bluetooth=$pkgver-r$pkgrel"
|
|
}
|
|
|
|
sha512sums="
|
|
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 sxmo-qt-mobile-controls.sh
|
|
cc4e4404b135ce484e0976b243973e39f1137aa9dd5e9297f767b2ea65b719ca82e84cc66cb093950ce330dbf786981ced2e5b0d16350deb5706a08ffccb4606 postmarketos.conf
|
|
"
|