chromium-widevine: add symlink in %{_libdir}/chromium for qt6webengine; fetch latest version from openmamba repository
This commit is contained in:
parent
72a5b53f6b
commit
fa0e46533e
@ -43,6 +43,7 @@ bsdtar -x --strip-components 4 -f data.tar.xz opt/google/chrome/WidevineCdm
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
install -d -m0755 %{buildroot}%{_libdir}/chromium/
|
install -d -m0755 %{buildroot}%{_libdir}/chromium/
|
||||||
cp -a WidevineCdm %{buildroot}%{_libdir}/chromium/
|
cp -a WidevineCdm %{buildroot}%{_libdir}/chromium/
|
||||||
|
ln -s WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/
|
||||||
|
|
||||||
#cp %{S:0} LICENSE
|
#cp %{S:0} LICENSE
|
||||||
|
|
||||||
@ -59,9 +60,13 @@ rm -rf %{_builddir}/%{name}-*
|
|||||||
%{_libdir}/chromium/WidevineCdm/manifest.json
|
%{_libdir}/chromium/WidevineCdm/manifest.json
|
||||||
%{_libdir}/chromium/WidevineCdm/LICENSE
|
%{_libdir}/chromium/WidevineCdm/LICENSE
|
||||||
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
||||||
|
%{_libdir}/chromium/libwidevinecdm.so
|
||||||
#%doc LICENSE
|
#%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||||
|
- provide symlink %{_libdir}/chromium/libwidevinecdm.so for QtWebengine based applications
|
||||||
|
|
||||||
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||||
- make library available in the path searched by chromium 78+
|
- make library available in the path searched by chromium 78+
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
|
|||||||
fi
|
fi
|
||||||
# chromium-widevine
|
# chromium-widevine
|
||||||
if [ "`uname -m`" == "x86_64" ]; then
|
if [ "`uname -m`" == "x86_64" ]; then
|
||||||
SRPMVERSION["chromium-widevine"]="`rpm -q chromium | sed "s|chromium-\([0-9.]*\).*|\1|"`"
|
SRPMVERSION["chromium-widevine"]="`curl --max-time 20 -sL https://cdn.openmamba.org/pub/openmamba/devel/SRPMS.base/ | grep \"chromium-.*mamba.src.rpm\" | sed 's|.*\"chromium-\([0-9.]*\)-.*|\1|'`"
|
||||||
else
|
else
|
||||||
SRPMVERSION["chromium-widevine"]="0"
|
SRPMVERSION["chromium-widevine"]="0"
|
||||||
fi
|
fi
|
||||||
SRPMRELEASE["chromium-widevine"]=3mamba
|
SRPMRELEASE["chromium-widevine"]=4mamba
|
||||||
|
Loading…
Reference in New Issue
Block a user