Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chromebook-avs-topology-config #1009

Merged
merged 2 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions anda/system/avs-tplg-conf/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "avs-tplg-conf.spec"
}
}
33 changes: 33 additions & 0 deletions anda/system/avs-tplg-conf/avs-tplg-conf.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
%global debug_package %{nil}

Name: avs-tplg-conf
Version: 2024.02
Release: 1%?dist

License: Apache-2.0
Summary: Configuration files for Intel AudioVoiceSpeech (AVS) driver
URL: https://github.com/thesofproject/avs-topology-xml
Source0: https://github.com/thesofproject/avs-topology-xml/releases/download/v%version/avs-topology_%version.tar.gz

Conflicts: alsa-sof-firmware

%description
Configuration files for Intel AudioVoiceSpeech (AVS) driver. Each configuration file represents an audio stream topology i.e.: connections of AudioDSP pipelines and processing modules that provide rich user experience with the Intel AVS stack. The avs-driver is part of the Linux kernel sound subsystem, sound/soc/intel/avs.

%prep
%autosetup -n avs-topology
rm lib/firmware/intel/avs/max98357a-tplg.bin # according to tree this might blow up speakers, so let's not include it

%build
xz -z lib/firmware/intel/avs/*.bin

%install
mkdir -p %buildroot/lib/firmware/intel/avs
cp lib/firmware/intel/avs/*.bin.xz %buildroot/lib/firmware/intel/avs/

%files
%license LICENSE
/lib/firmware/intel/avs/*

%changelog
%autochangelog
1 change: 1 addition & 0 deletions anda/system/avs-tplg-conf/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("thesofproject/avs-topology-xml"));
Loading