diff --git a/anda/system/avs-tplg-conf/anda.hcl b/anda/system/avs-tplg-conf/anda.hcl new file mode 100644 index 0000000000..0d06001874 --- /dev/null +++ b/anda/system/avs-tplg-conf/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "avs-tplg-conf.spec" + } +} diff --git a/anda/system/avs-tplg-conf/avs-tplg-conf.spec b/anda/system/avs-tplg-conf/avs-tplg-conf.spec new file mode 100644 index 0000000000..e66b54678c --- /dev/null +++ b/anda/system/avs-tplg-conf/avs-tplg-conf.spec @@ -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 diff --git a/anda/system/avs-tplg-conf/update.rhai b/anda/system/avs-tplg-conf/update.rhai new file mode 100644 index 0000000000..6d287e535f --- /dev/null +++ b/anda/system/avs-tplg-conf/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("thesofproject/avs-topology-xml"));