|
| 1 | +# Note: This is a fork of proprietary/chromium-widevine that works on Ubuntu 20.04 / 20.04.1 LTS. |
| 2 | + |
| 3 | +There is a [pull request](https://github.com/proprietary/chromium-widevine/pull/3) to get this upstream into [proprietary/chromium-widevine](https://github.com/proprietary/chromium-widevine). |
| 4 | + |
| 5 | +Only tested on the instructions for `(easiest) Install Google Chrome and use its Widevine distribution` (see below). |
| 6 | + |
1 | 7 | # Installing Widevine on Chromium on GNU/Linux |
2 | 8 |
|
3 | 9 | Or: How to get Spotify/Netflix working on Chromium in Linux |
@@ -25,39 +31,11 @@ The following script symlinks Google Chrome's Widevine library to Chromium's dir |
25 | 31 | Paste this into your terminal: |
26 | 32 |
|
27 | 33 | ```bash |
28 | | -git clone https://github.com/proprietary/chromium-widevine.git && \ |
| 34 | +git clone https://github.com/jarrellmark/chromium-widevine.git && \ |
29 | 35 | cd chromium-widevine && \ |
30 | 36 | ./use-from-google-chrome.sh |
31 | 37 | ``` |
32 | 38 |
|
33 | | -## (alternative) Install Widevine alone without Google Chrome |
34 | | - |
35 | | -Paste this into your shell: |
36 | | - |
37 | | -```bash |
38 | | -git clone https://github.com/proprietary/chromium-widevine.git && \ |
39 | | - cd chromium-widevine && \ |
40 | | - ./use-standalone-widevine.sh && \ |
41 | | - killall -q -SIGTERM chromium-browser || \ |
42 | | - killall -q -SIGTERM chromium && \ |
43 | | - exec $(command -v chromium-browser || command -v chromium) ./test-widevine.html & |
44 | | -``` |
45 | | - |
46 | | -The first method using Google Chrome just copied one directory from its installation. Observe the Widevine directory in the Google Chrome distribution: |
47 | | - |
48 | | -```text |
49 | | -/opt/google/chrome/WidevineCdm |
50 | | -├── LICENSE |
51 | | -├── manifest.json |
52 | | -└── _platform_specific |
53 | | - └── linux_x64 |
54 | | - └── libwidevinecdm.so |
55 | | -``` |
56 | | - |
57 | | -We don't actually need the whole Google Chrome installation. We can recreate that tree in the Chromium directory (i.e., `/usr/lib/chromium`) with a standalone distribution of the Widevine shared library. Copying just `libwidevinecdm.so` into `/usr/lib/chromium` doesn't work. |
58 | | - |
59 | | -N.B. Disadvantage of this method: You might have to manually re-run this script whenever Chromium updates to get the latest Widevine. The first method piggybacks Google Chrome's distribution which is assumed to be up-to-date and updated by the same package manager that updates Chromium. Use that method unless you really don't want Google Chrome on your system. |
60 | | - |
61 | 39 | ## Test Widevine |
62 | 40 |
|
63 | 41 | Paste into terminal (*warning: restarts Chromium*): |
|
0 commit comments