import alsa-sof-firmware-2.2.4-2.el8

This commit is contained in:
CentOS Sources 2023-05-16 06:17:29 +00:00 committed by root
parent 303b774050
commit e11b171383
3 changed files with 21 additions and 13 deletions

View File

@ -1,2 +1,2 @@
2f648e3b14c2c0482b1388d910e69a362bf1c4c0 SOURCES/sof-bin-v2.1.1.tar.gz 3aef419f1d2ddf360b7757214c21cbef7aabadc8 SOURCES/skl_hda_dsp_generic-tplg.bin
a72be6d3ac7c68fef0aed6d1bb179c8dab81f4f9 SOURCES/sof-tplg-v2.1.1a.tar.gz 2a5336a8c5ced0e8bb9ba5237a52e7ac37833b13 SOURCES/sof-bin-v2.2.4.tar.gz

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/sof-bin-v2.1.1.tar.gz SOURCES/skl_hda_dsp_generic-tplg.bin
SOURCES/sof-tplg-v2.1.1a.tar.gz SOURCES/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)