chromium-widevine: install library in the path searched by chromium 78+
This commit is contained in:
parent
d4877620a8
commit
dcd328ba42
@ -42,8 +42,10 @@ rpm2cpio ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}|cpio -id
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
install -d -m0755 %{buildroot}%{_libdir}/chromium
|
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/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
|
||||||
|
ln -s WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/libwidevinecdm.so
|
||||||
|
|
||||||
cp %{S:0} LICENSE
|
cp %{S:0} LICENSE
|
||||||
|
|
||||||
rm -fr ${tmpdir}
|
rm -fr ${tmpdir}
|
||||||
@ -56,8 +58,12 @@ rm -rf %{_builddir}/%{name}-*
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/chromium/libwidevinecdm.so
|
%{_libdir}/chromium/libwidevinecdm.so
|
||||||
|
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||||
|
- make library available in the path searched by chromium 78+
|
||||||
|
|
||||||
* Sat Jun 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
* Sat Jun 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||||
- first build for chromium-widevine
|
- first build for chromium-widevine
|
||||||
|
@ -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"]=1mamba
|
SRPMRELEASE["chromium-widevine"]=2mamba
|
||||||
|
Loading…
Reference in New Issue
Block a user