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

This commit is contained in:
CentOS Sources 2023-01-20 10:12:53 +00:00 committed by Stepan Oksanichenko
parent 25027325c2
commit 1a44d227ec
3 changed files with 21 additions and 13 deletions

View File

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

View File

@ -3,20 +3,20 @@
%define _binaries_in_noarch_packages_terminate_build 0
%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_rel %{?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 sof_ver_addon 2.1.1a
%global with_sof_addon 0
%global sof_ver_addon 0
%global tplg_version 1.2.4
Summary: Firmware and topology files for Sound Open Firmware project
Name: alsa-sof-firmware
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
License: BSD
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}
Source2: 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}
Source10: skl_hda_dsp_generic-tplg.bin
# noarch, since the package is firmware
BuildArch: noarch
@ -64,11 +63,11 @@ rm -rf firmware/intel/sof-tplg/sof-imx8*
# remove Mediatek firmware files
rm -rf firmware/intel/sof-tplg/sof-mt8*
%build
# SST topology files (not SOF related, but it's a Intel hw support
# and this package seems a good place to distribute them
alsatplg -c /usr/share/alsa/topology/hda-dsp/skl_hda_dsp_generic-tplg.conf \
-o firmware/skl_hda_dsp_generic-tplg.bin
cp %{SOURCE10} firmware/skl_hda_dsp_generic-tplg.bin
%build
%install
mkdir -p %{buildroot}%{_firmwarepath}
@ -105,6 +104,15 @@ cat alsa-sof-firmware.files
%files debug -f alsa-sof-firmware.debug-files
%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
- Update to v2.1.1 + v2.1.1a (topology)