The included script 'widevine-flash_armhf.sh' fetches a ChromeOS image for ARM and extracts the Widevine binary, saving it in a compressed archive. Since it downloads a fairly large file (2Gb+ on disk after download) it is recommended that you run the script on a machine that has plenty of disk space.
To install the resultant archive, issue the following on your ARM machine–after copying over the archive if needed:
sudo tar Cfx / widevine-flash-20200124_armhf.tgz
(Where 'widevine-flash-20200124_armhf.tgz' is updated to reflect the actual name of the created archive)
After install of these libraries, issue the following two commands and restart Vivaldi–assumes bash
as your shell:
mkdir -p ~/.config/vivaldi{,-snapshot}/WidevineCdm
echo '{"Path":"/opt/WidevineCdm"}' | tee ~/.config/vivaldi/WidevineCdm/latest-component-updated-widevine-cdm > ~/.config/vivaldi-snapshot/WidevineCdm/latest-component-updated-widevine-cdm
(Triple click to select each complete line above)
This created package is designed to work on Vivaldi 2.10 (not pure Chromium 79+, which would require patches to detect Widevine on ARM).
/widevine-flash_armhf.sh 23:32:58
--2022-10-19 23:33:05-- https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_14989.107.0_elm_recovery_stable-channel_mp-v2.bin.zip
CA certificate ("/etc/ssl/certs/ca-certificates.crt") loaded
Unlocking dl.google.com (dl.google.com)… 2a00:1450:400d:80a::200e, 142.250.201.206
Connecting to dl.google.com (dl.google.com)[2a00:1450:400d:80a::200e]:443… connected.
HTTP request sent, waiting for response... 200 OK
Length: 1290184868 (1.2G) [application/zip]
Save to "STDOUT"
2022-10-19 23:34:11 (18.9 MB/s) -- written to stdout [1290184868/1290184868]
Mapped file /tmp/ChromeOS-IMG.1mWSXd/chromeos_14989.107.0_elm_recovery_stable-channel_mp-v2.bin as /dev/loop2.
Mounted /dev/loop2p3 at /run/media/gyurmo/ROOT-A
install: stat '/run/media/gyurmo/ROOT-A/opt/google/chrome/libwidevinecdm.so' failed: No such file or directory