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.
This commit is contained in:
Gadzhi Kharkharov 2021-10-04 19:12:02 +03:00 committed by Érico Nogueira Rolim
parent c9e70f3a96
commit 928c14bb35
3 changed files with 23 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# Template file for 'sof-firmware'
pkgname=sof-firmware
version=1.8
version=1.9
revision=1
archs="i686* x86_64*"
wrksrc="sof-bin-${version}"
@ -11,7 +11,7 @@ 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
checksum=633bff2cc1490146de66796e52e06c7a608591a328c0bfc6f3fc30114640803a
do_install() {
vmkdir usr/lib/firmware/intel/sof
@ -21,11 +21,3 @@ do_install() {
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"
}
}

View file

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

View file

@ -0,0 +1,21 @@
# Template file for 'sof-tools'
pkgname=sof-tools
version=1.9
revision=1
# https://github.com/thesofproject/sof/issues/4902
archs="x86_64"
wrksrc="sof-${version}"
build_wrksrc="tools"
build_style=cmake
hostmakedepends="alsa-utils m4"
makedepends="alsa-lib-devel"
short_desc="Sound Open Firmware and topology binaries - development tools"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="BSD-3-Clause"
homepage="https://thesofproject.github.io/latest/index.html"
distfiles="https://github.com/thesofproject/sof/archive/refs/tags/v${version}.tar.gz"
checksum=29b83a63720ace3a9173073f12c4dfae5ece841773483cb025623506cd02eccb
post_install() {
vlicense ../LICENCE
}