pmaports/main/pinephone-callaudiod/APKBUILD
Arnav Singh 030c5c1ec1
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
2024-07-16 15:54:49 -07:00

32 lines
752 B
Text

# 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
"