Accepting request 764187 from home:tiwai:branches:multimedia:libs

- Remove conflicting CA0132 files against kernel-firmware
- Add supplements for the automatic installation

OBS-URL: https://build.opensuse.org/request/show/764187
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-firmware?expand=0&rev=33
This commit is contained in:
Takashi Iwai 2020-01-14 08:44:21 +00:00 committed by Git OBS Bridge
parent 253cb0374e
commit da407bb638
2 changed files with 40 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 14 09:13:44 CET 2020 - tiwai@suse.de
- Remove conflicting CA0132 files against kernel-firmware
- Add supplements for the automatic installation
-------------------------------------------------------------------
Fri Jan 10 17:10:20 CET 2020 - tiwai@suse.de

View File

@ -38,6 +38,37 @@ Source10: ftp://ftp.alsa-project.org/pub/misc/sof/sof-firmware-%{sof_versi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: alsa
# for asihpi
Supplements: modalias(pci:v0000104Cd0000AC60sv0000175Csd*bc*sc*i*)
Supplements: modalias(pci:v0000104Cd0000A106sv0000175Csd*bc*sc*i*)
# for ca0132
Supplements: modalias(pci:v00001102d00000010sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000012sv*sd*bc*sc*i*)
# for cs46xx
Supplements: modalias(pci:v00001013d00006004sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001013d00006003sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001013d00006001sv*sd*bc*sc*i*)
# for echoaudio
Supplements: modalias(pci:v00001057d00001801sv0000ECC0sd*bc*sc*i*)
Supplements: modalias(pci:v00001057d00003410sv0000ECC0sd*bc*sc*i*)
# for emu10k1
Supplements: modalias(pci:v00001102d00000008sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000004sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000002sv*sd*bc*sc*i*)
# for hdsp
Supplements: modalias(pci:v000010EEd00003FC5sv*sd*bc*sc*i*)
# for mixart
Supplements: modalias(pci:v00001057d00000003sv*sd*bc*sc*i*)
# for pcxhr
Supplements: modalias(pci:v000010B5d00009056sv00001369sd*bc*sc*i*)
# for usx2y
Supplements: modalias(usb:v1604p8005d*dc*dsc*dp*ic*isc*ip*in*)
Supplements: modalias(usb:v1604p8007d*dc*dsc*dp*ic*isc*ip*in*)
Supplements: modalias(usb:v1604p8001d*dc*dsc*dp*ic*isc*ip*in*)
# for vx
Supplements: modalias(pci:v000010B5d00009030sv00001369sd*bc*sc*i*)
Supplements: modalias(pci:v000010B5d00009050sv00001369sd*bc*sc*i*)
%if 0%{?suse_version} > 1220
%define _udevdir %(pkg-config --variable=udevdir udev)
%else
@ -60,6 +91,9 @@ make %{?_smp_mflags}
%install
make DESTDIR="%{buildroot}" install
# remove duplicated entries that are already in kernel-firmware package
rm -f %{buildroot}/lib/firmware/ctefx.bin
rm -f %{buildroot}/lib/firmware/ctspeq.bin
# SOF firmwares
mkdir -p %{buildroot}/lib/firmware/intel/
cp -a usr/lib/firmware/intel/* %{buildroot}/lib/firmware/intel/