Skip to content

Commit 6624d38

Browse files
committed
fixup README
1 parent a75f413 commit 6624d38

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

README.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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-
71
# Installing Widevine on Chromium on GNU/Linux
82

93
Or: How to get Spotify/Netflix working on Chromium in Linux
@@ -31,7 +25,7 @@ The following script symlinks Google Chrome's Widevine library to Chromium's dir
3125
Paste this into your terminal:
3226

3327
```bash
34-
git clone https://github.com/jarrellmark/chromium-widevine.git && \
28+
git clone https://github.com/proprietary/chromium-widevine.git && \
3529
cd chromium-widevine && \
3630
./use-from-google-chrome.sh
3731
```
@@ -61,3 +55,31 @@ killall -q -SIGTERM chromium-browser || \
6155
- Because we are installing files directly to `/usr` (as opposed to the more appropriate `/usr/local`), and we have to for Chromium to find Widevine, on system upgrades your package manager might clobber these files, and you will have to redo these steps.
6256
- These instructions only work for amd64 (64-bit x86_64) on GNU/Linux. For alternate architectures like ARM or i386 (32-bit x86), please fork this and submit a pull request.
6357

58+
59+
## (alternative) Install Widevine alone without Google Chrome
60+
61+
Paste this into your shell:
62+
63+
```bash
64+
git clone https://github.com/proprietary/chromium-widevine.git && \
65+
cd chromium-widevine && \
66+
./use-standalone-widevine.sh && \
67+
killall -q -SIGTERM chromium-browser || \
68+
killall -q -SIGTERM chromium && \
69+
exec $(command -v chromium-browser || command -v chromium) ./test-widevine.html &
70+
```
71+
72+
The first method using Google Chrome just copied one directory from its installation. Observe the Widevine directory in the Google Chrome distribution:
73+
74+
```text
75+
/opt/google/chrome/WidevineCdm
76+
├── LICENSE
77+
├── manifest.json
78+
└── _platform_specific
79+
└── linux_x64
80+
└── libwidevinecdm.so
81+
```
82+
83+
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.
84+
85+
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.

0 commit comments

Comments
 (0)