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

This commit is contained in:
CentOS Sources 2021-05-18 02:37:58 -04:00 committed by Andrew Lukoshko
parent 71398fa806
commit d7f6a6d364
3 changed files with 23 additions and 16 deletions

View File

@ -1,2 +1 @@
20e9e52e04924e870341036d7676e6bd93e9a4aa SOURCES/sof-bin-e6d11bf.tar.gz 353b7a21a8880dc33c39c9880ca2bab35be7c8ca SOURCES/sof-bin-f31c9ce.tar.gz
953fd1d80134587741ccad7d95c3e693f71eeffc SOURCES/sof-bin-topology-1.5-dmic-20db-fix.tar.gz

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/sof-bin-e6d11bf.tar.gz SOURCES/sof-bin-f31c9ce.tar.gz
SOURCES/sof-bin-topology-1.5-dmic-20db-fix.tar.gz

View File

@ -4,8 +4,8 @@
%global _firmwarepath /usr/lib/firmware %global _firmwarepath /usr/lib/firmware
%global sof_version 1.5 %global sof_version 1.6.1
%global sof_commit e6d11bf44f0c7ad6032d201e753aa254bb075ee7 %global sof_commit f31c9ce30ac2792ec39e19da489aee7631e00654
%global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7}) %global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7})
Summary: Firmware and topology files for Sound Open Firmware project Summary: Firmware and topology files for Sound Open Firmware project
@ -16,8 +16,6 @@ Release: 2%{?dist}
License: BSD License: BSD
URL: https://github.com/thesofproject/sof-bin URL: https://github.com/thesofproject/sof-bin
Source: https://github.com/thesofproject/sof-bin/archive/%{sof_commit}/sof-bin-%{sof_shortcommit}.tar.gz Source: https://github.com/thesofproject/sof-bin/archive/%{sof_commit}/sof-bin-%{sof_shortcommit}.tar.gz
Source10: https://www.alsa-project.org/files/pub/misc/sof/sof-bin-topology-1.5-dmic-20db-fix.tar.gz
Conflicts: alsa-firmware <= 1.2.1-5
# noarch, since the package is firmware # noarch, since the package is firmware
BuildArch: noarch BuildArch: noarch
@ -43,13 +41,13 @@ mv intel/sof/v%{sof_version}/* intel/sof
rmdir intel/sof/v%{sof_version} rmdir intel/sof/v%{sof_version}
# rename intel signed firmware files # rename intel signed firmware files
for platform in apl cnl icl; do for platform in apl cnl ehl icl tgl tgl-h; do
mv intel/sof/intel-signed/sof-$platform-v%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri mv intel/sof/intel-signed/sof-$platform-v%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri
ln -sf intel-signed/sof-$platform.ri intel/sof/sof-$platform.ri ln -sf intel-signed/sof-$platform.ri intel/sof/sof-$platform.ri
done done
# rename public signed firmware files # rename public signed firmware files
for platform in apl cnl icl; do for platform in apl cnl icl jsl tgl tgl-h; do
mv intel/sof/public-signed/sof-$platform-v%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri mv intel/sof/public-signed/sof-$platform-v%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri
done done
@ -59,11 +57,12 @@ for platform in bdw byt cht; do
done done
# rename debug files # rename debug files
for platform in apl bdw byt cht cnl icl; do for platform in apl bdw byt cht cnl ehl icl tgl tgl-h; do
mv intel/sof/sof-$platform-v%{sof_version}.ldc intel/sof/sof-$platform.ldc mv intel/sof/sof-$platform-v%{sof_version}.ldc intel/sof/sof-$platform.ldc
done done
# add missing symlink # add missing symlinks
ln -s intel-signed/sof-apl.ri intel/sof/sof-glk.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cml.ri ln -s intel-signed/sof-cnl.ri intel/sof/sof-cml.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cfl.ri ln -s intel-signed/sof-cnl.ri intel/sof/sof-cfl.ri
@ -72,10 +71,8 @@ rm -f intel/sof-tplg
mv intel/sof-tplg-v%{sof_version} intel/sof-tplg mv intel/sof-tplg-v%{sof_version} intel/sof-tplg
# remove NXP firmware files # remove NXP firmware files
rm -rf nxp rm -rf nxp ../../LICENCE.NXP
rm -rf intel/sof-tplg/sof-imx8*
# patch the topology files (DMIC equalizer fix)
tar xvzf %{SOURCE10} -C intel/sof-tplg
%build %build
@ -111,6 +108,18 @@ cat alsa-sof-firmware.files
%files debug -f alsa-sof-firmware.debug-files %files debug -f alsa-sof-firmware.debug-files
%changelog %changelog
* Fri Mar 5 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
- Add TGL-H firmware files
* Sun Jan 3 2021 Jaroslav Kysela <perex@perex.cz> - 1.6.1-1
- Update to v1.6.1
* Thu Dec 10 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-2
- Update to v1.6 (Dec 9)
* Wed Nov 11 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-1
- Update to v1.6 (Oct 13)
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.5-2 * Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.5-2
- Update to v1.5 - Update to v1.5