From fd9492ca9bb57e1e07e5b6025ac0f3a1f8c63729 Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:41:09 +0300 Subject: [PATCH] pepperflash --- network/plugin/pepperflash/actions.py | 11 ++++++ .../pepperflash/files/pepperflash-plugin.conf | 8 ++++ network/plugin/pepperflash/pspec.xml | 38 +++++++++++++++++++ network/plugin/pepperflash/translations.xml | 10 +++++ 4 files changed, 67 insertions(+) create mode 100644 network/plugin/pepperflash/actions.py create mode 100755 network/plugin/pepperflash/files/pepperflash-plugin.conf create mode 100755 network/plugin/pepperflash/pspec.xml create mode 100755 network/plugin/pepperflash/translations.xml diff --git a/network/plugin/pepperflash/actions.py b/network/plugin/pepperflash/actions.py new file mode 100644 index 0000000000..65866f0c4d --- /dev/null +++ b/network/plugin/pepperflash/actions.py @@ -0,0 +1,11 @@ +#!/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 pisitools + +def install(): + pisitools.insinto("usr/lib/chromium-browser/PepperFlash/", "manifest.json") + pisitools.insinto("usr/lib/chromium-browser/PepperFlash/", "libpepflashplayer.so") \ No newline at end of file diff --git a/network/plugin/pepperflash/files/pepperflash-plugin.conf b/network/plugin/pepperflash/files/pepperflash-plugin.conf new file mode 100755 index 0000000000..bbcc8c48e1 --- /dev/null +++ b/network/plugin/pepperflash/files/pepperflash-plugin.conf @@ -0,0 +1,8 @@ +# Make sure that Chromium finds the plugin: +flash_library="/usr/lib/chromium-browser/PepperFlash/libpepflashplayer.so" +flash_version=$(grep '"version":' /usr/lib/chromium-browser/PepperFlash/manifest.json | cut -d\" -f4) + +if [ -f $flash_library ]; then + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flash_library --ppapi-flash-version=$flash_version" +fi + diff --git a/network/plugin/pepperflash/pspec.xml b/network/plugin/pepperflash/pspec.xml new file mode 100755 index 0000000000..5eedb5b967 --- /dev/null +++ b/network/plugin/pepperflash/pspec.xml @@ -0,0 +1,38 @@ + + + + + pepperflash + http://www.google.com + + Osman Erkan + osman.erkan@pisilinux.org + + custom:chrome + library + Google Chrome's Pepper Flash plugin for Chromium. + Google Chrome's Pepper Flash plugin for Chromium (stable version) + https://dl.dropboxusercontent.com/s/8jxvv106fteve8u/PepperFlash-18.0.0.233.tar.xz + + + + pepperflash + + /etc/chromium-browser + /usr/lib/chromium-browser/PepperFlash + + + pepperflash-plugin.conf + + + + + + 2015-08-15 + 18.0.0.233 + Version bump + Vedat Demir + vedat@pisilinux.org + + + \ No newline at end of file diff --git a/network/plugin/pepperflash/translations.xml b/network/plugin/pepperflash/translations.xml new file mode 100755 index 0000000000..82c3110244 --- /dev/null +++ b/network/plugin/pepperflash/translations.xml @@ -0,0 +1,10 @@ + + + + pepperflash + Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi. + Google Chrome's Pepper Flash plugin for Chromium. + Google Chrome's Pepper Flash plugin for Chromium (stable version) + Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi (Kararlı sürüm) + + \ No newline at end of file