Auto sync2gitlab import of alsa-sof-firmware-2.2.4-2.el8.src.rpm

This commit is contained in:
CentOS Sources 2023-01-20 10:13:09 +00:00
parent af1df72c54
commit 400b78fa9d
3 changed files with 21 additions and 11 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/sof-adl-rt711-l2-rt1316-l01.tplg.gz /sof-adl-rt711-l2-rt1316-l01.tplg.gz
/sof-bin-v2.1.1.tar.gz /sof-bin-v2.1.1.tar.gz
/sof-tplg-v2.1.1a.tar.gz /sof-tplg-v2.1.1a.tar.gz
/skl_hda_dsp_generic-tplg.bin
/sof-bin-v2.2.4.tar.gz

View File

@ -3,20 +3,20 @@
%define _binaries_in_noarch_packages_terminate_build 0 %define _binaries_in_noarch_packages_terminate_build 0
%global _firmwarepath /usr/lib/firmware %global _firmwarepath /usr/lib/firmware
%global sof_ver 2.1.1 %global sof_ver 2.2.4
#global sof_ver_pre rc2 #global sof_ver_pre rc2
%global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}} %global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}}
%global sof_ver_pkg v%{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}} %global sof_ver_pkg v%{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}}
%global with_sof_addon 1 %global with_sof_addon 0
%global sof_ver_addon 2.1.1a %global sof_ver_addon 0
%global tplg_version 1.2.4 %global tplg_version 1.2.4
Summary: Firmware and topology files for Sound Open Firmware project Summary: Firmware and topology files for Sound Open Firmware project
Name: alsa-sof-firmware Name: alsa-sof-firmware
Version: %{sof_ver} Version: %{sof_ver}
Release: 1%{?sof_ver_rel}%{?dist} Release: 2%{?sof_ver_rel}%{?dist}
# See later in the spec for a breakdown of licensing # See later in the spec for a breakdown of licensing
License: BSD License: BSD
URL: https://github.com/thesofproject/sof-bin URL: https://github.com/thesofproject/sof-bin
@ -24,8 +24,7 @@ Source: https://github.com/thesofproject/sof-bin/releases/download/%{sof
%if 0%{?with_sof_addon} %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 Source2: https://github.com/thesofproject/sof-bin/releases/download/v%{sof_ver_addon}/sof-tplg-v%{sof_ver_addon}.tar.gz
%endif %endif
BuildRequires: alsa-topology >= %{tplg_version} Source10: skl_hda_dsp_generic-tplg.bin
BuildRequires: alsa-topology-utils >= %{tplg_version}
# noarch, since the package is firmware # noarch, since the package is firmware
BuildArch: noarch BuildArch: noarch
@ -64,11 +63,11 @@ rm -rf firmware/intel/sof-tplg/sof-imx8*
# remove Mediatek firmware files # remove Mediatek firmware files
rm -rf firmware/intel/sof-tplg/sof-mt8* rm -rf firmware/intel/sof-tplg/sof-mt8*
%build
# SST topology files (not SOF related, but it's a Intel hw support # SST topology files (not SOF related, but it's a Intel hw support
# and this package seems a good place to distribute them # and this package seems a good place to distribute them
alsatplg -c /usr/share/alsa/topology/hda-dsp/skl_hda_dsp_generic-tplg.conf \ cp %{SOURCE10} firmware/skl_hda_dsp_generic-tplg.bin
-o firmware/skl_hda_dsp_generic-tplg.bin
%build
%install %install
mkdir -p %{buildroot}%{_firmwarepath} mkdir -p %{buildroot}%{_firmwarepath}
@ -105,6 +104,15 @@ cat alsa-sof-firmware.files
%files debug -f alsa-sof-firmware.debug-files %files debug -f alsa-sof-firmware.debug-files
%changelog %changelog
* Mon Jan 9 2023 Jaroslav Kysela <perex@perex.cz> - 2.2.4-2
- Update to v2.2.4
* Wed Dec 7 2022 Jaroslav Kysela <perex@perex.cz> - 2.2.3-1
- Update to v2.2.3
* Thu Sep 29 2022 Jaroslav Kysela <perex@perex.cz> - 2.2.2-1
- Update to v2.2.2
* Mon Jun 20 2022 Jaroslav Kysela <perex@perex.cz> - 2.1.1-1 * Mon Jun 20 2022 Jaroslav Kysela <perex@perex.cz> - 2.1.1-1
- Update to v2.1.1 + v2.1.1a (topology) - Update to v2.1.1 + v2.1.1a (topology)

View File

@ -1,2 +1,2 @@
SHA512 (sof-bin-v2.1.1.tar.gz) = 77e9562f67014d78b213fe428edef6a08dcc058a9a762da09a486c002c3aa0b907ea7c8ba6d4f88f5ddab5e564de06df9f2ed77206341a0fe2e1aaab1d9740ce SHA512 (skl_hda_dsp_generic-tplg.bin) = 253096a771e77563fab2108e979ed7fd4570c53d57372b7adf5b9da7cd8d3c39efe078a52d2595759cea826a1ac473c2711b6d7ca721784b87abee459dadf122
SHA512 (sof-tplg-v2.1.1a.tar.gz) = 48f8aa8023313d44ddce6c5a2c9f9e9acdd3320b52e2718eaf949d030e79e8ea547e101374f59fd7492e763983af030a5ecfa3725c48e72cddfdefecb9421ece SHA512 (sof-bin-v2.2.4.tar.gz) = f631bedbc5cceb0e3a668264c11f4e41f09f140ef909ac2557c4965a0b56deb00fa48ab06987fd2fd06eb97a35bc90342c5d7234d43390257bbd0942a70ce29a