main/pinephone-callaudiod: new aport (MR 5349)

This provides a daemon that implements the same D-Bus API as callaudiod
in aports community/callaudiod, but works with the new audio profiles
generated by PulseAudio v17 and PipeWire v1.2 for pine64-pinephone
that the aports package's daemon does not.

This daemon is specific to the pine64-pinephone since it has
a hard-coded list of profiles and ALSA devices. If other devices also happen
to have UCM settings that trigger PulseAudio / PipeWire to generate
the combinatorial audio profiles that callaudiod cannot handle, and if
a callaudiod fix / alternative does not appear, then the maintainer (me) is
open to making this daemon more broadly useful for other devices, say by
having the hard-coded strings in device-specific config files.

Ref: #2968
This commit is contained in:
Arnav Singh 2024-07-13 19:43:57 -07:00 committed by Clayton Craft
parent ca0a4537f0
commit 030c5c1ec1
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -0,0 +1,32 @@
# Maintainer: Arnav Singh <me@arnavion.dev>
pkgname=pinephone-callaudiod
pkgver=0.1.2
pkgrel=0
pkgdesc="Call audio routing daemon"
url="https://github.com/Arnavion/pinephone-callaudiod"
arch="noarch"
license="AGPL-3.0-only"
makedepends="make"
depends="
python3
py3-dasbus
cmd:amixer
cmd:pactl
"
provides="callaudiod=$pkgver-r$pkgrel"
provider_priority=1
source="
$pkgname-$pkgver.tar.gz::https://github.com/Arnavion/pinephone-callaudiod/archive/v$pkgver.tar.gz
"
build() {
return 0
}
package() {
make DESTDIR="$pkgdir" prefix=/usr libexecdir=/usr/lib install
}
sha512sums="
a5a36663e6891bb0e801f7aa1d8b0fcea8dea4e1cd1a3dc9465e959d3a106553b5cac9641c992928368dff64e0bd611da7ed55ad7e71d96e506629c0974b3cd8 pinephone-callaudiod-0.1.2.tar.gz
"