void-packages/srcpkgs/sof-firmware/template

23 lines
711 B
Bash

# Template file for 'sof-firmware'
pkgname=sof-firmware
version=2023.12.1
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=ea279ddfc99c5b11d634f1f5d2337f6d5c0dc381ce3314790f7b550e4088e674
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
}