# Template file for 'alsa-ucm-conf-asahi'
pkgname=alsa-ucm-conf-asahi
version=10
revision=1
archs="aarch64*"
depends="alsa-ucm-conf"
short_desc="ALSA Use Case Manager topology configurations for Apple silicon devices"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/AsahiLinux/alsa-ucm-conf-asahi"
distfiles="https://github.com/AsahiLinux/alsa-ucm-conf-asahi/archive/refs/tags/v${version}.tar.gz"
checksum=4cbf77e7113dbe3981c1aa271bc12f30c8af1ac3326db8e261ee8aa25cf37295

do_install() {
	vmkdir usr/share/alsa/ucm2/conf.d/
	vcopy ucm2/conf.d/macaudio usr/share/alsa/ucm2/conf.d/
	vcopy ucm2/conf.d/aop_audio usr/share/alsa/ucm2/conf.d/
	vlicense LICENSE.asahi
}
