chromium-widevine: also install manifest file required since chromium 80
This commit is contained in:
parent
0f6f1e3f55
commit
836d47925e
@ -44,6 +44,7 @@ rpm2cpio ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}|cpio -id
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
install -d -m0755 %{buildroot}%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64
|
install -d -m0755 %{buildroot}%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64
|
||||||
install -D -m0755 opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
install -D -m0755 opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
||||||
|
install -D -m0755 opt/google/chrome/WidevineCdm/manifest.json %{buildroot}%{_libdir}/chromium/WidevineCdm/manifest.json
|
||||||
ln -s WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/libwidevinecdm.so
|
ln -s WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/libwidevinecdm.so
|
||||||
|
|
||||||
cp %{S:0} LICENSE
|
cp %{S:0} LICENSE
|
||||||
@ -57,6 +58,8 @@ rm -rf %{_builddir}/%{name}-*
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{_libdir}/chromium/WidevineCdm
|
||||||
|
%{_libdir}/chromium/WidevineCdm/manifest.json
|
||||||
%{_libdir}/chromium/libwidevinecdm.so
|
%{_libdir}/chromium/libwidevinecdm.so
|
||||||
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
@ -45,4 +45,4 @@ if [ "`uname -m`" == "x86_64" ]; then
|
|||||||
else
|
else
|
||||||
SRPMVERSION["chromium-widevine"]="0"
|
SRPMVERSION["chromium-widevine"]="0"
|
||||||
fi
|
fi
|
||||||
SRPMRELEASE["chromium-widevine"]=2mamba
|
SRPMRELEASE["chromium-widevine"]=3mamba
|
||||||
|
Loading…
Reference in New Issue
Block a user