# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=asahi-audio
pkgver=2.5
pkgrel=0
pkgdesc="userspace audio configuration for Apple Silicon Macs"
url="https://github.com/AsahiLinux/asahi-audio"
arch="aarch64" # only needed for asahi/aarch64 on apple silicon
license="MIT"
options="!check"
depends="
	bankstown-lv2
	lsp-plugins-lv2
	pipewire
	speakersafetyd
	wireplumber
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/AsahiLinux/asahi-audio/archive/refs/tags/v$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
d518ebfd2687119d062a1a9cd4ae7e423f2beead6dca7f1edd585cd86289f43656332a481469558876680cff79abbf227d62118fc4190a76bf06ac9fdef45e73  asahi-audio-2.5.tar.gz
"
