void-packages/srcpkgs/sof-firmware/template
cinerea0 07bdf3e55d sof-firmware: update to 1.7
The installation method utilizing the go.sh script included in the tarball no longer works.
As per the issue created on the topic (thesofproject/sof-bin#38), I have used rsync to copy
the files into the correct DESTDIR directories.
2021-04-14 02:02:38 -03:00

24 lines
792 B
Bash

# Template file for 'sof-firmware'
pkgname=sof-firmware
version=1.7
revision=1
archs="i686* x86_64*"
wrksrc="sof-bin-${version}"
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/archive/refs/tags/v${version}.tar.gz"
checksum=895d0199c06fc9b8bd8452fffff4f0d53134af451f63ffd1b78f04b10ef6c251
do_install() {
vmkdir usr/lib/firmware/intel/sof
vmkdir usr/lib/firmware/intel/sof-tplg
rsync -a "sof-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof"
rsync -a "sof-tplg-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof-tplg"
vlicense LICENCE.NXP
}