sof-firmware: update to 1.8

This commit is contained in:
cinerea0 2021-06-25 21:15:32 -04:00 committed by John Zimmermann
parent 6d10029255
commit 7cd5723a4c
2 changed files with 13 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'sof-firmware' # Template file for 'sof-firmware'
pkgname=sof-firmware pkgname=sof-firmware
version=1.7 version=1.8
revision=1 revision=1
archs="i686* x86_64*" archs="i686* x86_64*"
wrksrc="sof-bin-${version}" wrksrc="sof-bin-${version}"
@ -11,13 +11,21 @@ maintainer="cinerea0 <cinerea0@protonmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://thesofproject.github.io/latest/index.html" homepage="https://thesofproject.github.io/latest/index.html"
distfiles="https://github.com/thesofproject/sof-bin/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/thesofproject/sof-bin/archive/refs/tags/v${version}.tar.gz"
checksum=895d0199c06fc9b8bd8452fffff4f0d53134af451f63ffd1b78f04b10ef6c251 checksum=1d4ac18db8d2ec3046fdb56b4155f1c14d69644743b7c0324ba9b02f4308ab22
do_install() { do_install() {
vmkdir usr/lib/firmware/intel/sof vmkdir usr/lib/firmware/intel/sof
vmkdir usr/lib/firmware/intel/sof-tplg vmkdir usr/lib/firmware/intel/sof-tplg
rsync -a "sof-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof" rsync -a "v${version}.x/sof-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof"
rsync -a "sof-tplg-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof-tplg" rsync -a "v${version}.x/sof-tplg-v${version}/" "${DESTDIR}/usr/lib/firmware/intel/sof-tplg"
vlicense LICENCE.NXP 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"
}
}

1
srcpkgs/sof-tools Symbolic link
View File

@ -0,0 +1 @@
sof-firmware