23 lines
786 B
Bash
23 lines
786 B
Bash
# Template file for 'sof-firmware'
|
|
pkgname=sof-firmware
|
|
version=2.2.6
|
|
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-v${version}.tar.gz"
|
|
checksum=9322c2a7636d02845c3b26984d58ab8f78d63ff4c766d084c3196a585e000905
|
|
|
|
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
|
|
}
|