fp6-img/aports/device/callaudioshim/APKBUILD

34 lines
1.4 KiB
Text
Raw Permalink Normal View History

# callaudiod replacement for the FP6. Stock callaudiod 0.1.99 never finds a
# voice-capable card on this hardware (UCM exposes HiFi with Speaker+Mic, no
# Earpiece port), leaving plasma-dialer's mute button dead and blocking
# kde-telephony-daemon 25s per call; see the script header for the full
# write-up. The callaudiod package stays installed (plasma-mobile depends on
# it) — this shim simply owns org.mobian_project.CallAudio first via an
# early-phase autostart, so D-Bus activation of the real daemon never fires.
# Deployed and tested on the development FP6.
maintainer="Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>"
pkgname=callaudioshim
pkgver=1
pkgrel=0
pkgdesc="callaudiod replacement shim: working in-call mic mute on the FP6"
url="https://forgejo.catcrafts.net/Catcrafts/fp6-img"
arch="noarch"
license="GPL-3.0-only"
depends="python3 py3-dbus py3-gobject3 wireplumber"
options="!check"
source="
callaudioshim.py
callaudioshim.desktop
"
package() {
install -Dm755 "$srcdir"/callaudioshim.py \
"$pkgdir"/usr/libexec/callaudioshim.py
install -Dm644 "$srcdir"/callaudioshim.desktop \
"$pkgdir"/etc/xdg/autostart/callaudioshim.desktop
}
sha512sums="
7ca7d75402ea6c48a7c1c19c5c5ed6e556f2c0133aa6e32a12f5c5a1afc0c791f04ebd40102a4b92b0dd87f9330ae64ada025c344525b9ed17289acd8cb952d7 callaudioshim.py
060b76660398115af26463425db5a6a2d634b6bdbf48a8ae488528403f8e086a9ef23470316196e6ccd8cb65e0ebd09bbc0df2ff5f8a830407d98404f439c706 callaudioshim.desktop
"