arcolinux

PKGBUILD - Vivaldi-widevine

Oct 7th, 2018
1,011
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Musikolo <musikolo {at} hotmail [dot] com>
  2. # Contributor Oliver Rümpelein <arch@pheerai.de>
  3. # Contributor/Base PKGBUILD: Doug Newgard <scimmia at archlinux dot info>
  4.  
  5. pkgname=vivaldi-widevine
  6. pkgdesc="A browser plugin designed for the viewing of premium video content, standalone for vivaldi"
  7. pkgver=4.10.1192.0
  8. _chrome_ver=69.0.3497.100
  9. pkgrel=1
  10. epoch=1
  11. arch=('x86_64')
  12. url='https://www.widevine.com/'
  13. source=('chrome-eula_text.html::https://www.google.com/intl/en/chrome/privacy/eula_text.html'
  14. "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${_chrome_ver}-1_amd64.deb")
  15. options=("!strip")
  16. license=('custom')
  17. depends=('vivaldi-ffmpeg-codecs' 'glib2')
  18. conflicts=('chromium-widevine' 'google-chrome')
  19. sha256sums=('7e0841b96991116042f3f8fb53f7645040d0cbbcbcaa9e39e6949e17baa475ab'
  20. '180cbc8dc9f36bc3022556c046c5ac723607beaf6d1ec395b433c556e199a670')
  21.  
  22. prepare() {
  23. bsdtar -xf data.tar.xz opt/google/chrome/libwidevinecdm.so
  24. }
  25.  
  26. pkgver() {
  27. strings opt/google/chrome/libwidevinecdm.so | grep -A1 "ChromeCDM" | grep -P "^\d+"
  28. }
  29.  
  30. package() {
  31. install -Dm644 opt/google/chrome/libwidevinecdm.so -t "$pkgdir/opt/google/chrome/"
  32. install -Dm644 chrome-eula_text.html -t "$pkgdir/usr/share/licenses/$pkgname/"
  33. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×