From 10fd3520e0a12cf5dd23563bac54d536770287e5 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 30 Sep 2024 15:06:56 +0000 Subject: [PATCH] import CS alsa-sof-firmware-2024.03-6.el9 --- .alsa-sof-firmware.metadata | 2 +- .gitignore | 2 +- SPECS/alsa-sof-firmware.spec | 20 ++++++++++++++------ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.alsa-sof-firmware.metadata b/.alsa-sof-firmware.metadata index 390e5fb..df1a249 100644 --- a/.alsa-sof-firmware.metadata +++ b/.alsa-sof-firmware.metadata @@ -1 +1 @@ -7ec113433ae053fba8acbff73a1db3763904c8dc SOURCES/sof-bin-2023.12.tar.gz +722132a6ed893d7e3d22260cb3b86377e456e906 SOURCES/sof-bin-2024.03.tar.gz diff --git a/.gitignore b/.gitignore index e564d05..e7c0085 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/sof-bin-2023.12.tar.gz +SOURCES/sof-bin-2024.03.tar.gz diff --git a/SPECS/alsa-sof-firmware.spec b/SPECS/alsa-sof-firmware.spec index cdc5321..79ad0c6 100644 --- a/SPECS/alsa-sof-firmware.spec +++ b/SPECS/alsa-sof-firmware.spec @@ -4,7 +4,7 @@ %global _firmwarepath /usr/lib/firmware %global _xz_opts -9 --check=crc32 -%global sof_ver 2023.12 +%global sof_ver 2024.03 #global sof_ver_pre rc1 %global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}} %global sof_ver_pkg0 %{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}} @@ -18,13 +18,13 @@ Summary: Firmware and topology files for Sound Open Firmware project Name: alsa-sof-firmware Version: %{sof_ver} -Release: 1%{?sof_ver_rel}%{?dist} +Release: 6%{?sof_ver_rel}%{?dist} # See later in the spec for a breakdown of licensing License: BSD-3-Clause URL: https://github.com/thesofproject/sof-bin Source: https://github.com/thesofproject/sof-bin/releases/download/%{sof_ver_pkg}/sof-bin-%{sof_ver_pkg0}.tar.gz %if 0%{?with_sof_addon} -Source2: https://github.com/thesofproject/sof-bin/releases/download/v%{sof_ver_addon}/sof-tplg-v%{sof_ver_addon}.tar.gz +Source3: https://github.com/thesofproject/sof-bin/releases/download/v%{sof_ver_addon}/sof-tplg-v%{sof_ver_addon}.tar.gz %endif BuildRequires: alsa-topology >= %{tplg_version} BuildRequires: alsa-topology-utils >= %{tplg_version} @@ -49,12 +49,12 @@ This package contains the debug files for the Sound Open Firmware project. mkdir -p firmware/intel -for d in sof sof-ipc4 sof-ace-tplg sof-tplg; do \ +for d in sof sof-ipc4 sof-ipc4-tplg sof-tplg; do \ mv "${d}" firmware/intel; \ done %if 0%{?with_sof_addon} -tar xvzf %{SOURCE2} +tar xvzf %{SOURCE3} mv sof-tplg-v%{sof_ver_addon}/*.tplg firmware/intel/sof-tplg %endif @@ -79,10 +79,13 @@ for d in sof sof-ipc4; do \ popd; \ done done -for d in sof-tplg sof-ace-tplg; do \ +for d in sof-tplg sof-ipc4-tplg; do \ find -P "firmware/intel/${d}" -type f -name "*.tplg" -exec xz -z %{_xz_opts} {} \; done +mv firmware/intel/sof-ipc4-tplg firmware/intel/sof-ace-tplg +ln -s sof-ace-tplg firmware/intel/sof-ipc4-tplg + %build # SST topology files (not SOF related, but it's a Intel hw support # and this package seems a good place to distribute them @@ -122,6 +125,7 @@ cat alsa-sof-firmware.files # .. for files with suffix .tplg %{_firmwarepath}/intel/sof-tplg/*.tplg.xz %{_firmwarepath}/intel/sof-ace-tplg/*.tplg.xz +%{_firmwarepath}/intel/sof-ipc4-tplg # Licence: SOF (3-clause BSD plus others) # .. for files with suffix .ri @@ -136,6 +140,10 @@ if st and st.type == "link" then end %changelog +* Mon Jun 17 2024 Jaroslav Kysela - 2024.03-5 +- Update to v2024.03 +- Add AVS topology files v2024.02 + * Wed Dec 20 2023 Jaroslav Kysela - 2023.12-1 - Update to v2023.12