From e7fac8a7b07badad1a3dcdcd3c9accfd3cf931ce Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 12 Oct 2017 22:46:54 +0200 Subject: [PATCH] =?UTF-8?q?net-www/inox-flash-plugin:=20how=20would=20jell?= =?UTF-8?q?yfish=20taste=20with=20=E5=8C=85=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net-www/exlibs/inox-flash-plugin.exlib | 64 ------------------- ...nox-flash-plugin-59.0.3071.115_1.exheres-0 | 17 ----- 2 files changed, 81 deletions(-) delete mode 100644 packages/net-www/exlibs/inox-flash-plugin.exlib delete mode 100644 packages/net-www/inox-flash-plugin/inox-flash-plugin-59.0.3071.115_1.exheres-0 diff --git a/packages/net-www/exlibs/inox-flash-plugin.exlib b/packages/net-www/exlibs/inox-flash-plugin.exlib deleted file mode 100644 index cbec8d9..0000000 --- a/packages/net-www/exlibs/inox-flash-plugin.exlib +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2011 Kim Højgaard-Hansen -# Copyright 2011 Elias Pipping -# Copyright 2013 Timo Gurr -# Distributed under the terms of the GNU General Public License v2 - -export_exlib_phases pkg_setup src_unpack src_install - -CHROMIUM_CHANNEL=stable -CHROMIUM_CHANNEL=${CHROMIUM_CHANNEL%-flash-plugin} -MY_PV=${PV/_/-} - -SUMMARY="Pepper Flash plugin for Chromium" -DESCRIPTION=" -Google maintained up to date version of Adobe's flash plugin. - -The Flash plugin is not officially supported for Chromium by upstream. -It is released for Chrome and updated silently, and we are not allowed -to mirror it. Debian provides a versioned plugin that matches a specific -Chromium revision which we use. The revision of the plugin changes when -Debian changes their Chromium packages, which means the fetch of the plugin -will fail. The users of the flash plugin will have to update this exheres -to match the revision when that happens. -" -HOMEPAGE="http://blog.chromium.org/2012/08/the-road-to-safer-more-stable-and.html" - -LICENCES="google-chrome" -SLOT="0" -MYOPTIONS=" - platform: amd64 x86 -" - -WORK=${WORKBASE} - -inox-flash-plugin_pkg_setup() { - exdirectory --allow /opt -} - -inox-flash-plugin_src_unpack() { - default - - if ever at_least 41.0.2272.76 && [[ ${CHROMIUM_CHANNEL} = "stable" ]]; then - edo tar xf data.tar.xz ./opt/google/chrome/PepperFlash - elif ever at_least 41.0.2272.16 && [[ ${CHROMIUM_CHANNEL} != "stable" ]]; then - edo tar xf data.tar.xz ./opt/google/chrome-${CHROMIUM_CHANNEL}/PepperFlash - elif ever at_least 33.0.1750.46 && [[ ${CHROMIUM_CHANNEL} != "stable" ]]; then - edo tar xf data.tar.lzma ./opt/google/chrome-${CHROMIUM_CHANNEL}/PepperFlash - else - edo tar xf data.tar.lzma ./opt/google/chrome/PepperFlash - fi -} - -inox-flash-plugin_src_install() { - insinto /opt/inox - - local pepper_flash_version - doins -r "${WORKBASE}"/opt/google/chrome*/PepperFlash - pepper_flash_version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' "${WORKBASE}"/opt/google/chrome/PepperFlash/manifest.json) - - insinto /etc/inox - hereins default < -# Copyright 2011 Elias Pipping -# Distributed under the terms of the GNU General Public License v2 - -require inox-flash-plugin - -DOWNLOADS=" - platform:x86? ( http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${MY_PV}_i386.deb ) - platform:amd64? ( http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${MY_PV}_amd64.deb ) -" -PLATFORMS="~amd64 ~x86" - -DEPENDENCIES+=" - run: - net-www/inox[~${PV/%_*}] -" -