diff options
author | gustawho | 2022-09-27 19:09:36 -0600 |
---|---|---|
committer | gustawho | 2022-09-27 19:09:36 -0600 |
commit | 56ab66d976d6d727f8740e52c00a8ff306146019 (patch) | |
tree | 28fc8962776233632c32fdcc0503d66dfe087abe | |
download | aur-56ab66d976d6d727f8740e52c00a8ff306146019.tar.gz |
Package created
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2828349d4eee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = qt6-webengine-widevine + pkgdesc = A browser plugin designed for the viewing of premium video content (E.g. Spotify) + pkgver = 106.0.5249.61 + pkgrel = 1 + url = https://www.widevine.com/ + arch = x86_64 + license = custom + depends = qt6-webengine + options = !strip + source = https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_106.0.5249.61-1_amd64.deb + sha256sums = 07dca6c78b1b36ac62a1ca613bfd23cd5ba762222521247e29a6d58736ed1b50 + +pkgname = qt6-webengine-widevine diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b56546cb049 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=qt6-webengine-widevine +pkgdesc='A browser plugin designed for the viewing of premium video content (E.g. Spotify)' +pkgver=106.0.5249.61 +pkgrel=1 +arch=('x86_64') +url='https://www.widevine.com/' +license=('custom') +depends=('qt6-webengine') +options=('!strip') +source=("https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${pkgver}-1_amd64.deb") +sha256sums=('07dca6c78b1b36ac62a1ca613bfd23cd5ba762222521247e29a6d58736ed1b50') + +prepare() { + bsdtar -x --strip-components 7 -f data.tar.xz opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so + bsdtar -x --strip-components 5 -f data.tar.xz opt/google/chrome/WidevineCdm/LICENSE +} + +package() { + install -Dm644 libwidevinecdm.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" +} |