From 6345dcf8161d90f4afa397394e4c9a40bb5251e0 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 4 Dec 2025 10:58:01 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .alsa-sof-firmware.metadata | 2 +- .gitignore | 2 +- SPECS/alsa-sof-firmware.spec | 34 +++++++++++++++++++++++++++++++--- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/.alsa-sof-firmware.metadata b/.alsa-sof-firmware.metadata index e80a33e..8eaf272 100644 --- a/.alsa-sof-firmware.metadata +++ b/.alsa-sof-firmware.metadata @@ -1 +1 @@ -9a35f1bb5564bb7959dcb221452899d2107beba5 SOURCES/sof-bin-2024.09.tar.gz +5f23717c030587bf04019db5e75ddf4104ca2a9e SOURCES/sof-bin-2025.05.tar.gz diff --git a/.gitignore b/.gitignore index a0cccd4..46bb709 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/sof-bin-2024.09.tar.gz +SOURCES/sof-bin-2025.05.tar.gz diff --git a/SPECS/alsa-sof-firmware.spec b/SPECS/alsa-sof-firmware.spec index 742dc50..ad65735 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 2024.09 +%global sof_ver 2025.05 #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}} @@ -49,7 +49,7 @@ This package contains the debug files for the Sound Open Firmware project. mkdir -p firmware/intel -for d in sof sof-ipc4 sof-ipc4-tplg sof-tplg; do \ +for d in sof sof-ipc4 sof-ipc4-lib sof-ipc4-tplg sof-tplg; do \ mv "${d}" firmware/intel; \ done @@ -77,7 +77,21 @@ for d in sof sof-ipc4; do \ pushd "${n}"; \ ln -svf "${l}.xz" "${b}.xz"; \ popd; \ - done + done; \ +done +for d in sof-ipc4-lib; do \ + for e in bin llext; do \ + find -P "firmware/intel/${d}" -type f -name "*.${e}" -exec xz -z %{_xz_opts} {} \; + for f in $(find -P "firmware/intel/${d}" -type l -name "*.${e}"); do \ + l=$(readlink "${f}"); \ + n=$(dirname "${f}"); \ + b=$(basename "${f}"); \ + rm "${f}"; \ + pushd "${n}"; \ + ln -svf "${l}.xz" "${b}.xz"; \ + popd; \ + done; \ + done; \ done for d in sof-tplg sof-ipc4-tplg; do \ find -P "firmware/intel/${d}" -type f -name "*.tplg" -exec xz -z %{_xz_opts} {} \; @@ -104,6 +118,8 @@ FILEDIR=$(pwd) pushd %{buildroot}/%{_firmwarepath} find -P . -name "*.ri.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files #find -P . -name "*.tplg" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files +find -P . -name "*.llext.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files +find -P intel/sof-ipc4-lib -name "*.bin.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files find -P . -name "*.ldc" | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.debug-files find -P . -type d | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.dirs popd @@ -140,6 +156,18 @@ if st and st.type == "link" then end %changelog +* Thu Jun 26 2025 Jaroslav Kysela - 2025.05-1 +- Update to v2025.05 + +* Wed Dec 18 2024 Jaroslav Kysela - 2024.09.2-3 +- Add sof-ipc4-lib directory + +* Fri Dec 6 2024 Jaroslav Kysela - 2024.09.2-1 +- Update to v2024.09.2 + +* Mon Nov 11 2024 Jaroslav Kysela - 2024.09.1-1 +- Update to v2024.09.1 + * Mon Oct 14 2024 Jaroslav Kysela - 2024.09-1 - Update to v2024.09