chore: Compress firmware in DSP package

This commit is contained in:
Kyle Gospodnetich 2023-12-01 23:41:03 -08:00 committed by GitHub
parent c62343de62
commit 0520dcba22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ BuildRequires: boost-devel
BuildRequires: lv2-devel
BuildRequires: g++
BuildRequires: ladspa-devel
BuildRequires: xz
%description
Steamdeck Audio Processing
@ -37,6 +38,8 @@ Steamdeck Audio Processing
%make_install DEST_DIR="%{buildroot}" LIB_DIR="%{buildroot}%{_libdir}"
mkdir -p %{buildroot}%{_datadir}/licenses/%{name}/
cp LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
xz --check=crc32 %{buildroot}%{_prefix}/lib/firmware/amd/sof/*
xz --check=crc32 %{buildroot}%{_prefix}/lib/firmware/amd/sof-tplg/*
# This lists all the files that are included in the rpm package and that
# are going to be installed into target system where the rpm is installed.