32 lines
1018 B
Bash
32 lines
1018 B
Bash
# Template file for 'sof-firmware'
|
|
pkgname=sof-firmware
|
|
version=1.8
|
|
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=1d4ac18db8d2ec3046fdb56b4155f1c14d69644743b7c0324ba9b02f4308ab22
|
|
|
|
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
|
|
}
|
|
|
|
sof-tools_package() {
|
|
pkg_install() {
|
|
vbin "v${version}.x/tools-v${version}/sof-ctl"
|
|
vbin "v${version}.x/tools-v${version}/sof-logger"
|
|
vbin "v${version}.x/tools-v${version}/sof-probes"
|
|
}
|
|
}
|