void-packages/srcpkgs/sof-firmware/template
Gadzhi Kharkharov 928c14bb35 sof-firmware: update to 1.9.
split sof-tools as a separate package, since the package was previously
using pre-built binaries for x86_64. It can't be built for archs other
than x86_64 glibc yet, but that's not a problem, since the package was
only usable there.
2021-10-29 00:31:43 -03:00

24 lines
820 B
Bash

# Template file for 'sof-firmware'
pkgname=sof-firmware
version=1.9
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=633bff2cc1490146de66796e52e06c7a608591a328c0bfc6f3fc30114640803a
do_install() {
vmkdir usr/lib/firmware/intel/sof
vmkdir usr/lib/firmware/intel/sof-tplg
rsync -a "v${version}.x/sof-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof"
rsync -a "v${version}.x/sof-tplg-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof-tplg"
vlicense LICENCE.NXP
}