void-packages/srcpkgs/sof-firmware/template

23 lines
709 B
Bash

# Template file for 'sof-firmware'
pkgname=sof-firmware
version=2023.12
revision=1
archs="i686* x86_64*"
hostmakedepends="rsync"
depends="alsa-ucm-conf"
short_desc="Sound Open Firmware and topology binaries"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="BSD-3-Clause"
homepage="https://thesofproject.github.io/latest/index.html"
distfiles="https://github.com/thesofproject/sof-bin/releases/download/v${version}/sof-bin-${version}.tar.gz"
checksum=55e47eb63e6248dbdab7da232bb1e31ca2e7155b37dc116f6dc5b173cba3503b
do_install() {
vmkdir usr/lib/firmware/intel
for dir in sof sof-ipc4 sof-tplg sof-ace-tplg; do
rsync -a "${dir}" "${DESTDIR}/usr/lib/firmware/intel/"
done
vlicense LICENCE.NXP
}