diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-08 21:44:56 -0700 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-08 21:44:56 -0700 |
commit | 3d8c0621df66b34d78334c6cacd9990c6222bf79 (patch) | |
tree | a77ae3a7c7cae65882d3bdb9f784732b75960596 /patches/www-client/chromium-72.0.3626.121/widevine-locations.patch | |
parent | 59201188169f51645159ebb2cf0cd52619915c16 (diff) | |
download | gentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.gz gentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.xz |
Update chromium version
Rename patches, applying for chromium-72-0.3626.121.
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.121/widevine-locations.patch')
-rw-r--r-- | patches/www-client/chromium-72.0.3626.121/widevine-locations.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.121/widevine-locations.patch b/patches/www-client/chromium-72.0.3626.121/widevine-locations.patch new file mode 100644 index 0000000..5f144d4 --- /dev/null +++ b/patches/www-client/chromium-72.0.3626.121/widevine-locations.patch @@ -0,0 +1,18 @@ +description: try alternative locations for libwidevinecdm.so + - $HOME/.local/lib/ (snap-friendly, see https://launchpad.net/bugs/1738149) +author: Olivier Tilloy <olivier.tilloy@canonical.com> + +--- a/chrome/common/chrome_paths.cc ++++ b/chrome/common/chrome_paths.cc +@@ -375,6 +375,11 @@ bool PathProvider(int key, base::FilePat + // TODO(crbug.com/663554): Remove this after component updated CDM is + // supported on Linux and ChromeOS. + case chrome::FILE_WIDEVINE_CDM: ++ base::PathService::Get(base::DIR_HOME, &cur); ++ cur = cur.Append(FILE_PATH_LITERAL(".local/lib/libwidevinecdm.so")); ++ if (base::PathExists(cur)) { ++ break; ++ } + if (!GetComponentDirectory(&cur)) + return false; + cur = |