From 7e90352b61029557a0693ec9f76de96fd6530748 Mon Sep 17 00:00:00 2001 From: idriskalp Date: Tue, 14 Jan 2020 15:39:23 +0300 Subject: [PATCH] chromium-widevine add to repo --- network/plugin/chromium-widevine/actions.py | 23 ++++++++++ network/plugin/chromium-widevine/pspec.xml | 49 +++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 network/plugin/chromium-widevine/actions.py create mode 100644 network/plugin/chromium-widevine/pspec.xml diff --git a/network/plugin/chromium-widevine/actions.py b/network/plugin/chromium-widevine/actions.py new file mode 100644 index 0000000000..87b6edb5bd --- /dev/null +++ b/network/plugin/chromium-widevine/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +WorkDir = "." +NoStrip = ["/"] + +Release = "-1" + +def setup(): + shelltools.system("ar xf google-chrome-stable_current_amd64.deb") + shelltools.system("tar xvf %s/data.tar.xz --exclude=usr/share/gnome-control-center --exclude=usr/bin --exclude=etc" %get.workDIR()) + shelltools.chmod(get.workDIR() + "/opt/google/chrome/*", 0755) + +def install(): + pisitools.insinto("/usr/lib/chromium-browser/WidevineCdm", "./opt/google/chrome/WidevineCdm/*") + pisitools.dosym("/usr/lib/chromium-browser/WidevineCdm", "/usr/lib/chromium-dev/WidevineCdm") diff --git a/network/plugin/chromium-widevine/pspec.xml b/network/plugin/chromium-widevine/pspec.xml new file mode 100644 index 0000000000..7d68edbdc9 --- /dev/null +++ b/network/plugin/chromium-widevine/pspec.xml @@ -0,0 +1,49 @@ + + + + + chromium-widevine + http://chrome.google.com/ + + PisiLinux Community + admins@pisilinux.org + + EULA + google-chrome + network.web + library + Widevine plugin for Chromium Browser + Widevine is a browser plugin designed for the viewing of premium video content. This package contains Widevine plugin for Chromium browser + https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + + nspr + nss + libgcc + glib2 + + + + + chromium-widevine + + nspr + nss + libgcc + glib2 + + + /usr/lib/chromium-browser + /usr/lib/chromium-dev + + + + + + 2020-01-14 + 4.10.1610.0 + First Release. + Idris Kalp + idriskalp@pisilinux.org + + +