Package Details: qt5-webengine-widevine 1:61.0.3163.100-2

Git Clone URL: https://aur.archlinux.org/qt5-webengine-widevine.git (read-only)
Package Base: qt5-webengine-widevine
Description: A browser plugin designed for the viewing of premium video content
Upstream URL: http://www.google.com/chrome
Keywords: netflix
Licenses: custom:chrome
Submitter: Trilby
Maintainer: Trilby
Last Packager: Trilby
Votes: 12
Popularity: 1.397306
First Submitted: 2016-12-21 13:00
Last Updated: 2017-11-15 23:43

Latest Comments

Trilby commented on 2017-11-16 00:12

Thanks. I'm really not particularly well qualified to maintain this package - but I've been fumbling along getting it back to functional as needed basically playing it by ear and checking chromium-widevine for hints.

Scimmia commented on 2017-11-15 23:57

You were extracting it from the Debian Chrome package because that's where the plugin was avilable, might as well get the adapter lib with it. The separate download for the plugin is pretty recent, but unfortunately Google doesn't seem to be keeping it up to date. I'm about to change the chromium-widevine package back to using Chrome.

Trilby commented on 2017-11-15 13:02

I didn't downgrade chromium - I just needed the older version of libwidevinecdmadapter.so. Previous PKGBUILDs extracted this from a debian package (honestly I'm not sure why we ever did that in the first place, but it worked). The PKGBUILD I posted below extracts it from an archlinux package instead - but extracting it from the *current* chromium package is no good as it's the wrong version for qt5-webengine.

The-Compiler commented on 2017-11-15 12:18

Note that you don't have to downgrade Chromium (and I'd recommend you don't if you use it) - you can set qt.args to pass --papi-widevine path. See my comments from 2017-10-28 below.

Trilby commented on 2017-11-15 12:13

Success. Thanks Florian!

However, I assumed when I orphaned this that I'd be able to re-adopt it if I managed to find a solution. But as there was a co-maintainer it just transfered to raddog rather than being an orphan. So I'll send a message to raddog to update this and/or re-add me as a maintainer. Here's the working PKGBUILD:

###
pkgname=qt5-webengine-widevine
pkgdesc='A browser plugin designed for the viewing of premium video content'
pkgver=61.0.3163.100
_widevine_ver=1.4.8.1008
pkgrel=2
epoch=1
arch=('x86_64')
url='http://www.google.com/chrome'
license=('custom:chrome')
options=('!strip')
depends=('qt5-webengine')
source=(
"https://archive.archlinux.org/packages/c/chromium/chromium-${pkgver}-1-x86_64.pkg.tar.xz"
"https://dl.google.com/widevine-cdm/${_widevine_ver}-linux-x64.zip"
"chrome-eula_text.html::https://www.google.com/intl/en/chrome/browser/privacy/eula_text.html"
)
sha256sums=(
'5d4380308b3d5c2bc6e13d77090688ba00f0828f2777d83376d44038a6d0e2dd'
'fe04a5b56eac6674f1eda2c8eb28a0183ec1a66d80f72db618291e33078eb17d'
'e93c01576427cad9099f2cf0df0be70d0a2cc0a3a66c743318b2138aa7c4ed93'
)

package() {
install -Dm644 libwidevinecdm.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/"
install -Dm644 usr/lib/chromium/libwidevinecdmadapter.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/"
install -Dm644 chrome-eula_text.html -t "$pkgdir/usr/share/licenses/$pkgname/"
}

Trilby commented on 2017-11-15 12:08

Thanks for the input. But I'm not clear on how to translate version numbers between the chrom{e,ium} (e.g. 61 -> 62), qt5-webengine (e.g., 5.9.2), and widevine (e.g. 1.4.8.1008). If you know of any way or any resouces with which to determine what versions go together, that'd be appreciated.

More importantly though, this was working just fine for me, but the out of date flag caused me to try to rebuild it (and I foolishly didn't have a backup of my previously built package). The link to the debian chromium is no longer valid. I'm currently attempting with an archlinux archive package of chromium 61 and will report back momentarily.

The-Compiler commented on 2017-11-15 05:59

FWIW https://codereview.qt-project.org/#/c/210905/ should make it possible to load a newer Widevine. I doubt it'll make it into Qt 5.10.0, but it'll probably land in .1.

Until then, I think it's legitimate to keep this on the 61 version, and clear the out-of-date flag - this is named qt5-webengine-widevine, and there is no newer widevine working with QtWebEngine.

Trilby commented on 2017-11-15 00:39

I've been trying to upate this, but am having no success. It seems even extracting the libs from the current version of chromium from our repos and from the working chromium-widevine does not work with the current qt5-webengine.

As I have no idea how to further troubleshoot this, I'll disown this. If anyone else has any luck getting this working, please adopt it - I'd appreciate it.

MaddyBoo commented on 2017-10-30 00:21

@omni

Uninstalling this package in favor of chromium-widevine did not fix my issue.

Additionally, I can't seem to pass webengine flags to the application I'm using (MellowPlayer).

Guess I'll have to stick to my hack for now.

The-Compiler commented on 2017-10-28 12:42

Starting with --ppapi-widevine-path=/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so seems to work as well.


In qutebrowser, you can do this and :restart:

:set qt.args [ppapi-widevine-path=/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so]

All comments