Package Details: chromium-widevine 1:4.10.1196.0-1

Git Clone URL: https://aur.archlinux.org/chromium-widevine.git (read-only)
Package Base: chromium-widevine
Description: A browser plugin designed for the viewing of premium video content
Upstream URL: https://www.widevine.com/
Keywords: amazon chrome netflix prime
Licenses: custom
Submitter: Scimmia
Maintainer: Scimmia
Last Packager: Scimmia
Votes: 311
Popularity: 7.417138
First Submitted: 2015-04-17 05:05
Last Updated: 2018-10-16 19:25

Latest Comments

1 2 3 4 5 6 ... Next › Last »

compgamer89 commented on 2018-09-03 11:24

Suggested change:

Don't use the "live" EULA on the Google website. It contains analytics (privacy concern?) and may change unpredictably. Better to use the static EULA from the version matching the binary blob (which also contains the same EULA, but compiled into an internationalized .pak file).

As a secondary benefit, doing so removes need for web access other than source download phase. This is useful because fakeroot and curl don't work well together (DNS resolution breaks under fakeroot).

diff --git a/PKGBUILD b/PKGBUILD
index 767cef8..7db5f78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,16 @@ pkgname=chromium-widevine
 pkgdesc='A browser plugin designed for the viewing of premium video content'
 pkgver=4.10.1146.0
 _chrome_ver=68.0.3440.106
-_license_date=$(curl -sI https://www.google.com/intl/en/chrome/privacy/eula_text.html | awk '/^last-modified/ {print $3" "$4" "$5}' | date +"%Y%m%d" -f -)
-_license_last=20180809
-pkgrel=3
+pkgrel=4
 epoch=1
 arch=('x86_64')
 url='https://www.widevine.com/'
 license=('custom')
 options=('!strip')
-source=("chrome-eula_text-$_license_date.html::https://www.google.com/intl/en/chrome/privacy/eula_text.html"
-        "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${_chrome_ver}-1_amd64.deb")
-sha256sums=('f6aa8b7920d20c874deabc745517e0486e88fe9de667ad3d5fe6f61665ec725c'
-            'b2dd6af541bf4f44b65d487f7b208ee5ae922c78800d6d21786098c055156534')
+source=("https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${_chrome_ver}-1_amd64.deb"
+        "chrome-eula_text-${_chrome_ver}.html::https://raw.githubusercontent.com/chromium/chromium/${_chrome_ver}/components/resources/terms/terms_en.html")
+sha256sums=('b2dd6af541bf4f44b65d487f7b208ee5ae922c78800d6d21786098c055156534'
+            'ac69df44067135997f7efe3af46279962690dba5a3c1154054c1e1c06b5228f8')

 prepare() {
   bsdtar -x --strip-components 4 -f data.tar.xz opt/google/chrome/libwidevinecdm.so
@@ -29,5 +27,5 @@ package() {
   depends=('chromium' 'gcc-libs' 'glib2' 'glibc' 'nspr' 'nss')

   install -Dm644 libwidevinecdm.so -t "$pkgdir/usr/lib/chromium/"
-  install -Dm644 chrome-eula_text-$_license_date.html "$pkgdir/usr/share/licenses/$pkgname/eula_text.html"
+  install -Dm644 chrome-eula_text-${_chrome_ver}.html "$pkgdir/usr/share/licenses/$pkgname/eula_text.html"
 }

gaboflowers commented on 2018-08-10 03:25

I modified both the eula_text.html name in the source and install script, and the source web path, achieving nothing.

I ended up deleting the eula lines and hash entirely from the PKGBUILD.

jmoya commented on 2018-08-03 16:18

Para corregir el error sha256sum solo hay que modificar el PKGBUILD

sha256sums=('8a0e9057c2a27bfcc74e210b848e6824e3c6c8f41232ca034362bcddfb95acbd' '570a397d6ae062393a04554f0e371cf2209d7eee176fc8dc0bdfb43c6a38f2be')

Plexcon commented on 2018-08-02 15:49

==> Validating source files with sha256sums ...      chrome-eula_text.html ... HAS FAILED      google-chrome-stable_68.0.3440.84-1_amd64.deb ... Approved ==> ERROR: One or more files did not pass the validation control!

artemis_clyde commented on 2018-08-02 08:57

I solved it for now by manually checking and altering the sha256 sum of the current eula_text.html in the PKGBUILD.

juliohm commented on 2018-07-29 02:22

Today when I tried to watch Netflix, I got this missing component error, it was working before:

Error Code: M7702-1003

We cannot find all the required components to play Netflix on this device. Please visit chrome://components, locate the WidevineCdm component, and click the "Check for update" button.

I am on Chromium instead and this package from AUR was working nicely. Any update recently that may have broken things?

bradsk88 commented on 2018-07-28 15:18

Seems like the old Chromium eula file gets left behind and the installer tries to keep using it.

I ended up fixing this by running pacaur -Sc to remove untracked files.

MonsterMannen commented on 2018-07-27 15:05

Validity check fails at every update when using aurman.

itaton commented on 2018-07-25 07:10

I don't think it's the helper's fault: I'm using yay.

I had to do the same change as mapolidori (the browser subdirectory was already removed - so I only had to change chrome-eula_text.html:: to eula_text.html::) and additionally I obviously had to change the last line from install -Dm644 chrome-eula_text.html [...] to install -Dm644 eula_text.html [...]

After that the update went perfectly fine

Scimmia commented on 2018-07-18 01:54

Whatever helper you two are using is doing totally idiotic things. The changes mapolidori mentions wouldn't even result in a functioning PKGBUILD.