From 030c5c1ec1042c978c871c56522ef002c5691d3d Mon Sep 17 00:00:00 2001 From: Arnav Singh Date: Sat, 13 Jul 2024 19:43:57 -0700 Subject: [PATCH] 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 --- main/pinephone-callaudiod/APKBUILD | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 main/pinephone-callaudiod/APKBUILD diff --git a/main/pinephone-callaudiod/APKBUILD b/main/pinephone-callaudiod/APKBUILD new file mode 100644 index 000000000..79bf21547 --- /dev/null +++ b/main/pinephone-callaudiod/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Arnav Singh +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 +"