Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888783 - dev-qt/qtwebengine-5.15.7_p20221122 fails to find libwidevinecdm.so (ie. Netflix shows error code M7701-1003 in falkon)
Summary: dev-qt/qtwebengine-5.15.7_p20221122 fails to find libwidevinecdm.so (ie. Netf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://github.com/qt/qtwebengine/com...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-12-28 19:38 UTC by Andrei Slavoiu
Modified: 2023-03-15 08:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch based on upstream commit that applies cleanly (qtwebengine-enable-widevine.patch,4.38 KB, patch)
2022-12-28 21:28 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2022-12-28 19:38:16 UTC
Version 5 of qtwebengine does not search for widevine in the paths where Gentoo's www-plugins/chrome-binary-plugins installs it. The correct path was only added in version 6, it should be backported, see URL for the commit.

Note that the audio codecs part of the commit does not apply cleanly. I didn't bother to fix it, just kept the path changes only.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-12-28 20:10:55 UTC
fwiw qutebrowser's ebuild been handling this by passing:

    --widevine-path="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so

to qtwebengine when USE=widevine, but still passing it for qt6 webengine (despite it can find it) because of EPREFIX and libdir (albeit libdir should be static given chrome-binary-plugins is a prebuilt and only available for amd64).

Note both webengines (incl qt5) can find it in the in /opt if google-chrome is installed.
Comment 2 Andrei Slavoiu 2022-12-28 21:28:59 UTC
Created attachment 845519 [details, diff]
Patch based on upstream commit that applies cleanly
Comment 3 Andreas Sturmlechner gentoo-dev 2023-03-15 08:22:04 UTC
Thanks for your contribution, this patch was added already with qtwebengine-5.15.8_p20230106.