summaryrefslogtreecommitdiff
path: root/www-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest11
-rw-r--r--www-plugins/adobe-flash/adobe-flash-27.0.0.130-r1.ebuild140
-rw-r--r--www-plugins/adobe-flash/files/mms.cfg117
-rw-r--r--www-plugins/adobe-flash/files/pepper-flash1
-rw-r--r--www-plugins/adobe-flash/files/pepper-flash-r11
-rw-r--r--www-plugins/adobe-flash/metadata.xml15
-rw-r--r--www-plugins/chrome-binary-plugins/Manifest9
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-61.0.3163.100.ebuild61
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-62.0.3202.38_beta.ebuild61
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild61
-rw-r--r--www-plugins/chrome-binary-plugins/metadata.xml15
-rw-r--r--www-plugins/freshplayerplugin/Manifest10
-rw-r--r--www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch11
-rw-r--r--www-plugins/freshplayerplugin/files/0.3.5-cmake.patch70
-rw-r--r--www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild77
-rw-r--r--www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild77
-rw-r--r--www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild77
-rw-r--r--www-plugins/freshplayerplugin/metadata.xml16
-rw-r--r--www-plugins/gecko-mediaplayer/Manifest7
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.8.ebuild39
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.9.ebuild39
-rw-r--r--www-plugins/gecko-mediaplayer/metadata.xml10
-rw-r--r--www-plugins/gnash/Manifest10
-rw-r--r--www-plugins/gnash/files/gnash-0.8.10-amf-include.patch45
-rw-r--r--www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch12
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-klash.patch12
-rw-r--r--www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild260
-rw-r--r--www-plugins/gnash/metadata.xml20
-rw-r--r--www-plugins/google-talkplugin/Manifest10
-rw-r--r--www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild126
-rw-r--r--www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild126
-rw-r--r--www-plugins/google-talkplugin/google-talkplugin-9999.ebuild126
-rw-r--r--www-plugins/google-talkplugin/metadata.xml12
-rw-r--r--www-plugins/lightspark/Manifest9
-rw-r--r--www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch31
-rw-r--r--www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild102
-rw-r--r--www-plugins/lightspark/lightspark-0.8.0.ebuild103
-rw-r--r--www-plugins/lightspark/lightspark-9999.ebuild102
-rw-r--r--www-plugins/lightspark/metadata.xml22
-rw-r--r--www-plugins/metadata.xml28
-rw-r--r--www-plugins/mozplugger/Manifest5
-rw-r--r--www-plugins/mozplugger/metadata.xml8
-rw-r--r--www-plugins/mozplugger/mozplugger-2.1.6.ebuild30
-rw-r--r--www-plugins/pdfjs/Manifest3
-rw-r--r--www-plugins/pdfjs/metadata.xml15
-rw-r--r--www-plugins/pdfjs/pdfjs-1.9.426.ebuild23
48 files changed, 2213 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
new file mode 100644
index 000000000000..7afbba0510d5
--- /dev/null
+++ b/www-plugins/adobe-flash/Manifest
@@ -0,0 +1,11 @@
+AUX mms.cfg 4420 SHA256 0dd2a9f9aab559243c4d282b5c143ed8876b8d6f8be519bfa8ca6e8fc0c55d9a SHA512 597380071a06176f09df1a56cba24e83a74990c175fe9f167f026eacbf01e66a083d2389ff399ead0a39654a40ae636f8459feed2d6012e51e65c5407fe7fdbd WHIRLPOOL 915b86d717db181a776eb9392aaae2becac4747bc0e551900bfecdeda17f9d0495f54c7173e47adf2ea92567c193c466e302cac78bd2126f10fd9956c204596a
+AUX pepper-flash 151 SHA256 11a3e7e2c04f1e55ee5db5e7e776db67b6830431f1c10423df5031033c4480d1 SHA512 f20176b9567097482c3b1fdd062affb33a69b671f6298a98cd58e03ca80dd01bada4126ac5fd940fddc53a097669f52d4b8bba7850daf211e11dc24cc4d97eb1 WHIRLPOOL 5e6c3dccc897e8d6628422351f77f16363a9c86f851fb6848651a71b59bef450067d1de1fb8b55870ca5dc88b6a70f1f04818ce41b6ccc6dd50db43f223cb838
+AUX pepper-flash-r1 143 SHA256 ba069eab3ee17b93cab566c73d94e56e6225dc7094c75925bbe0597cba2dd8f6 SHA512 e4e1c1f204af1e5ce531dd43a22b4cd08e8def1099bba88ac96af09bd0879dfbb6383653ec85d5d199d418098e4b17d71998bee5a9fb5bb7bd8873432a4f66ee WHIRLPOOL 5d6a1c12120519bf524da7dafa508bdaaf65d98874b09ec76925fcfe51ccdfa5886afc228a131a267c237aae0d293609963a76ac6301273da563aea396fae8b5
+DIST adobe-flash-27.0.0.130-npapi.i386.tar.gz 8511696 SHA256 4615bec6a21822629ce7e0f5bf768ef12fe09c275f4bb18892563da20d9b7c62 SHA512 441398beccf1ec0772ef150ef13d46f374261963cdfb806f3518ff517125a9d19b0258f4200edbfd108709962e1e2fa49f3d8d65b79d391d15bc0f09d885d934 WHIRLPOOL 6a6ddb254b4945481edeaa29c879c74b042e9a9affef312a552541e0301a2d15ca3069532c8715ab68745113ecc39192dbe6a591d4a679ba6adab49c4ae1b9a6
+DIST adobe-flash-27.0.0.130-npapi.x86_64.tar.gz 9024933 SHA256 ecbd2254a68c7b0bb7675babe58cbe1b5f317bd2556ba49776eb3a6cd9526d62 SHA512 2574cd3fb707c8d32e54179bbf900ca47c875be3540c8016fad50f51721d5fc4bcf22b552ae71efdb1e78cc135163d0a2326c9569e49b9da7498eb971deabc78 WHIRLPOOL 1632fdb623fa0be0603d4866fbc4d7a31b76e1b813cbc429e8e81bc31ccc7df8e28a2e8031e6045dd34dc6130ab4821d62fedc6d0e44050ffd485c9749ae1bc0
+DIST adobe-flash-27.0.0.130-ppapi.i386.tar.gz 8544908 SHA256 c23a0c1a73872851b4e8879e713331242c0b17c73ccd57a29c17c94f3732920e SHA512 3c6036ebe87cbdca7a3baee8e651cf9e4de7b87600ae8631d516eeb30de8a309c2e2b1e0306a3d1a815a62e9116f0321fd5ece99a2dbacf41d3f350d57ca7079 WHIRLPOOL 700767b7fcf49949df24ac2ab78117703c9598445188cb3c5c8c56d7a3bcc81f6ecaa4ef267c939af7bc56b1b498d547ff7a3c14966f9a483fd01485b8d65cdb
+DIST adobe-flash-27.0.0.130-ppapi.x86_64.tar.gz 9462243 SHA256 3a9a860a42770547e0fc3c9f4c6fd6b539c122b0a9ee5bd65c9b9cd25541a752 SHA512 d88b39f4800be6e936adbe44a42cea7fe58fd82d101aeb6ee5d4722cf08e7113d41b57ff289af9ccb4b52dfed077e37a53527201a90c69e2f3fee17fedab0268 WHIRLPOOL aadeae7946dccf19d13bb3660d8ce823b2cc98384e141dcd92942dc4cee5bb34b2a591afef063ff53b6d9b4d4dfb89fa65a8d2ad50b9e4f69c356384f11c0b36
+EBUILD adobe-flash-27.0.0.130-r1.ebuild 3662 SHA256 3570c49588306152c5b948b0580bb09dc116612847083fa8f7c6cb3956913ca8 SHA512 738b9fe87e14b9988ad5e6f1bdb822c346d12f3e076f7116d47da5a9dde237f9c24fd2a900f27368afe8677c4550498b5ae88aa49b05a0c3f65eb6bc524d0ce2 WHIRLPOOL 2eff0595978d8ba39a4bd188001bd2a1d29918a05177c8376e20903cfbe2502cca63f7d65e191223bfab6af3ab49d296cd3ee86766a0c59a2dbb215059e450f2
+MISC ChangeLog 19725 SHA256 51730527e3ec07f604d9e4a72c46812d4e74d54cca7be31b4749114a0ea06469 SHA512 e90b8aa631e8b712d9e21b92d8fcaf3424fd980f02e4fd49d4ba8313fa39fe03614dbe543388d30e2699c9337002a317181dbce7eba26797b9222771d5e037ee WHIRLPOOL dcc29670fdc523529ec3effd6a66d76acbe587dc27f92c06df0ebbb769de2a5681f0ce752a28f910dee07ba0e354d793e2106c656a6ae4f354a228fbc4fa394b
+MISC ChangeLog-2015 67768 SHA256 91f0f06fcbe289262a35973afbcd69d1bdffb44f4441691c7887c42af8917fe8 SHA512 8927c851e0f9c26b9b84e1e34bee5face5438ef5b24545c34e6935644e891af3b2370c6f86386b7ed0cc8b3db95abd4fb146ca6b9385cd1e5c7cdada7e636608 WHIRLPOOL 14eb442ffd605c627270f02b165089ea49f2d74efd2ccffa7257d01e70ad7909cbd97e986439f42cd63f74e63f83bce1e3bd954b518baef46d57c83d5167a0d4
+MISC metadata.xml 552 SHA256 42e93934d6f1e16047031c14a943089c82250ff7ccb454aff6452923d0122bd0 SHA512 0f84cf3e517eb92f73629e6a157a2999f409fa6dea40682e2248edeb957e5bc6f5228c49aebdc3b5d434d0fd8f717a19c793aee8776397871e1bc5ebf8cf7fa1 WHIRLPOOL 868fa181f1427a2b557d953ffc7930468e091f2dc9d0244f2ab2d3bbd0f62e5ad8c3bb532371c7a0d90d5d4cbd14f72a139d690a836d286c9bd83d96678149c5
diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.130-r1.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.130-r1.ebuild
new file mode 100644
index 000000000000..ce9885dfe11b
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.130-r1.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils nsplugins multilib multilib-minimal
+
+DESCRIPTION="Adobe Flash Player"
+HOMEPAGE="
+ https://www.adobe.com/products/flashplayer.html
+ https://get.adobe.com/flashplayer/
+ https://helpx.adobe.com/security/products/flash-player.html
+"
+
+AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}"
+AF_NP_32_URI="${AF_URI}/flash_player_npapi_linux.i386.tar.gz -> ${P}-npapi.i386.tar.gz"
+AF_NP_64_URI="${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-npapi.x86_64.tar.gz"
+AF_PP_32_URI="${AF_URI}/flash_player_ppapi_linux.i386.tar.gz -> ${P}-ppapi.i386.tar.gz"
+AF_PP_64_URI="${AF_URI}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}-ppapi.x86_64.tar.gz"
+
+IUSE="+nsplugin +ppapi"
+REQUIRED_USE="
+ || ( nsplugin ppapi )
+"
+
+SRC_URI="
+ nsplugin? (
+ abi_x86_32? ( ${AF_NP_32_URI} )
+ abi_x86_64? ( ${AF_NP_64_URI} )
+ )
+ ppapi? (
+ abi_x86_32? ( ${AF_PP_32_URI} )
+ abi_x86_64? ( ${AF_PP_64_URI} )
+ )
+"
+SLOT="22"
+
+KEYWORDS="-* amd64 x86"
+LICENSE="AdobeFlash-11.x"
+RESTRICT="strip mirror"
+
+NPAPI_RDEPEND="
+ dev-libs/atk[${MULTILIB_USEDEP}]
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ dev-libs/nspr[${MULTILIB_USEDEP}]
+ dev-libs/nss[${MULTILIB_USEDEP}]
+ media-libs/fontconfig[${MULTILIB_USEDEP}]
+ media-libs/freetype[${MULTILIB_USEDEP}]
+ >=sys-libs/glibc-2.4
+ x11-libs/cairo[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXcursor[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXrender[${MULTILIB_USEDEP}]
+ x11-libs/libXt[${MULTILIB_USEDEP}]
+ x11-libs/pango[${MULTILIB_USEDEP}]
+"
+RDEPEND="
+ !www-plugins/chrome-binary-plugins[flash(-)]
+ nsplugin? (
+ ${NPAPI_RDEPEND}
+ !www-plugins/adobe-flash:0
+ )
+"
+
+S="${WORKDIR}"
+
+# Ignore QA warnings in these closed-source binaries, since we can't fix them:
+QA_PREBUILT="usr/*"
+
+src_unpack() {
+ local files=( ${A} )
+
+ multilib_src_unpack() {
+ mkdir -p "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+
+ # we need to filter out the other archive(s)
+ local other_abi
+ [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64
+ unpack ${files[@]//*${other_abi}*/}
+ }
+
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_install() {
+ local pkglibdir=lib
+ [[ -d usr/lib64 ]] && pkglibdir=lib64
+
+ if use nsplugin; then
+ # PLUGINS_DIR comes from nsplugins.eclass
+ exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
+ doexe libflashplayer.so
+
+ if multilib_is_native_abi; then
+ # No KDE applet, so allow the GTK utility to show up in KDE:
+ sed \
+ -i usr/share/applications/flash-player-properties.desktop \
+ -e "/^NotShowIn=KDE;/d" || die
+
+ # The userland 'flash-player-properties' standalone app:
+ dobin usr/bin/flash-player-properties
+
+ # Icon and .desktop for 'flash-player-properties'
+ insinto /usr/share
+ doins -r usr/share/{icons,applications}
+ dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
+ /usr/share/pixmaps/flash-player-properties.png
+ fi
+
+ # The magic config file!
+ insinto "/etc/adobe"
+ doins "${FILESDIR}/mms.cfg"
+ fi
+
+ if use ppapi; then
+ exeinto /usr/$(get_libdir)/chromium/PepperFlash
+ doexe libpepflashplayer.so
+ insinto /usr/$(get_libdir)/chromium/PepperFlash
+ doins manifest.json
+
+ if multilib_is_native_abi; then
+ dodir /etc/chromium
+ sed "${FILESDIR}"/pepper-flash-r1 \
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
+ -e "s|@FP_PV@|${PV}|g" \
+ > "${D}"/etc/chromium/pepper-flash \
+ || die
+ fi
+ fi
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/www-plugins/adobe-flash/files/mms.cfg b/www-plugins/adobe-flash/files/mms.cfg
new file mode 100644
index 000000000000..3d53391eb7b8
--- /dev/null
+++ b/www-plugins/adobe-flash/files/mms.cfg
@@ -0,0 +1,117 @@
+#
+# /etc/adobe/mms.cfg: Adobe Flash privacy and security settings
+#
+# For more details on the meaning of most of these options, please visit:
+# http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html
+#
+
+# Lets you prevent users from designating any files on the local file system as
+# trusted
+# 0 = Not Allowed, 1 = Allowed (default)
+#AllowUserLocalTrust = 1
+
+# Lets you specify a hard limit on the amount of local storage that Flash Player
+# uses for the storage of common Flash components
+# Size in megabytes (default is 20), 0 = Component storage disabled
+#AssetCacheSize = 20
+
+# Lets you prevent Flash Player from automatically checkingfor and installing
+# updated versions
+# 0 = Not Disabled (default), 1 = Disabled
+AutoUpdateDisable = 1
+
+# Lets you specify how often to check for an updated version of Flash Player
+# Number of days, 0 = Every startup
+# There is no default value, which falls back to the user's setting (30 days by
+# default)
+#AutoUpdateInterval =
+
+# Lets you prevent SWF files from accessing webcams or microphones
+# 0 = Not Disabled (default), 1 = Disabled
+#AVHardwareDisable = 0
+
+# Lets you prevent information on installed fonts from being displayed
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableDeviceFontEnumeration = 0
+
+# Lets you prevent networking or file system access if any kind
+# Set to the executable filename, default is empty
+#DisableNetworkAndFilesystemInHostApp =
+
+# Lets you prevent native code applications that are digitally signed and
+# delivered by Adobe from being downloaded
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableProductDownload = 0
+
+# Lets you enable or disable the use of the Socket.connect() and
+# XMLSocket.connect() methods
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableSockets = 0
+
+# Lets you create a whitelist of servers to which socket connections are allowed
+# Set to hostname or IP address. This can be specified multiple times in this
+# file to allow more than one host, and only takes effect if DisableSockets
+# (above) is set to 1.
+#EnableSocketsTo = localhost.localdomain
+#EnableSocketsTo = 127.0.0.1
+
+# Lets you prevent the ActionScript FileReference API from performing file
+# downloads
+# 0 = Not Disabled (default), 1 = Disabled
+#FileDownloadDisable = 0
+
+# Lets you prevent the ActionScript FileReference API from prerforming file
+# uploads
+# 0 = Not Disabled (default), 1 = Disabled
+#FileUploadDisable = 0
+
+# Lets you disable SWF files playing via a browser plug-in from being displayed
+# in full-screen mode
+# 0 = Not Disabled (default), 1 = Disabled
+#FullScreenDisable = 0
+
+# Lets you specify whether SWF files produced for Flash Player 6 and earlier can
+# execute an operation that has been restricted in a newer version of Flash
+# Player
+# 0 = Deny, 1 = Allow
+# There is no default value, which falls back to the user's setting (Defaults to
+# "Ask"
+#LegacyDomainMatching =
+
+# Lets you specify how Flash Player should determine whether to execute certain
+# local SWF files that were originally produced for Flash Player 7 and earlier
+# 0 = Deny, 1 = Allow
+# There is no default value, which falls back to the user's setting
+#LocalFileLegacyAction =
+
+# Lets you prevent local SWF files from having read access to files on local
+# drive
+# 0 = Not Disabled (default), 1 = Disabled
+#LocalFileReadDisable = 0
+
+# Lets you specify a hard limit on the amout of local storage that Flash Player
+# uses (per domain) for persistent shared objects
+# 1 = no storage, 2 = 10KB, 3 = 100KB, 4 = 1MB, 5 = 10MB,
+# 6 = User specified (default)
+# If the user does not specify a limit, the default is 100KB.
+#LocalStorageLimit = 6
+
+# Lets you override GPU validation checks to force hardware acceleration
+# Warning: This may make your player (more) unstable!
+# 0 = Check GPU (default), 1 = Skip checks
+# More details:
+# http://blogs.adobe.com/penguin.swf/2008/08/secrets_of_the_mmscfg_file_1.html
+#OverrideGPUValidation = 0
+
+# Lets you specify whether third-party SWF files can read and write locally
+# persistent shared objects
+# 0 = disabled, 1 = enabled
+# There is no default value, which falls back to the user's setting
+#ThirdPartyStorage =
+
+# Lets you disable "Windowless" mode, which may cause crashes in firefox
+# version 3.01 and earlier.
+# 0 = Not Disabled (default), 1 = Disabled
+# More details:
+# http://blogs.adobe.com/penguin.swf/2008/08/windowless_mode_fix.html
+#WindowlessDisable = 0
diff --git a/www-plugins/adobe-flash/files/pepper-flash b/www-plugins/adobe-flash/files/pepper-flash
new file mode 100644
index 000000000000..31b55752e1a1
--- /dev/null
+++ b/www-plugins/adobe-flash/files/pepper-flash
@@ -0,0 +1 @@
+CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium-browser/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@"
diff --git a/www-plugins/adobe-flash/files/pepper-flash-r1 b/www-plugins/adobe-flash/files/pepper-flash-r1
new file mode 100644
index 000000000000..b70c40c91830
--- /dev/null
+++ b/www-plugins/adobe-flash/files/pepper-flash-r1
@@ -0,0 +1 @@
+CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@"
diff --git a/www-plugins/adobe-flash/metadata.xml b/www-plugins/adobe-flash/metadata.xml
new file mode 100644
index 000000000000..e3e8fa04213f
--- /dev/null
+++ b/www-plugins/adobe-flash/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<use>
+<flag name="nsplugin">Install the Netscape Flash API plugin (for Firefox and similar browsers)</flag>
+<flag name="ppapi">Install the Pepper Flash API plugin (for Chrome and similar browsers)</flag>
+</use>
+</pkgmetadata>
diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest
new file mode 100644
index 000000000000..f711183b486d
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/Manifest
@@ -0,0 +1,9 @@
+DIST google-chrome-beta_62.0.3202.38-1_amd64.deb 49874016 SHA256 f8d08d9382d7bffb9093fe520ca87d836acf081b5767197e18be3c1edc071be6 SHA512 bf79a9eeef9ff8990944670ba63c49246a4d5145ec6676dd6dacc6c0438e349671ef20b68aae2024a06e351b452433592080cd8a968ca3001a9d97ed2b229bf5 WHIRLPOOL 2cf0ec3e738fc56faa3d70e95f74d86014c37d043552cc8f732a3750fbeca04ac83e15d22647a28dd30b8fd33c290de79d2bff0102ad86f9db0ab092acb01280
+DIST google-chrome-stable_61.0.3163.100-1_amd64.deb 65267668 SHA256 5b8b9655db8dcce4b276db7860ae1c8ce1079a33f161a716c17fda24b8d5a9b2 SHA512 ec8b3b29d4af45f0aac67cf564bb7f25e45543bc5aa97c075cb23b6a4f332795a6fb4922ce4c963d1305f41eb455e7b46a874b670dc7bb1b6676fff1c45f1040 WHIRLPOOL ddaf6dfe8d89bf58fcca7fcb2f58365cb82e9b751a8c15025e7ccc2d219b4255869b7d2f9a80ae292f3bfe19818ce55cb90f5e57b13a65d9808e78f8e7bda2f1
+DIST google-chrome-unstable_63.0.3230.0-1_amd64.deb 49851312 SHA256 11430f165090c16ee532c2275755701cd1273dacee39a56b2b39fb18ecb9e755 SHA512 98b303cf6822af611bf96b67ed3471e7a172477dfa97440d6b5619a5543c8fb5f237052db8e6e2a3491dd54cf2d6d32efe005a1f1efa92499654290296ba812e WHIRLPOOL 96f2ab0b26c8dae29a28bec0c0bfe050e07be6ec5808193d170e165769b4fb22510e7cd9193f38e3bee43454cddd623759c017159d559e84f249e7e44536c7ce
+EBUILD chrome-binary-plugins-61.0.3163.100.ebuild 1438 SHA256 957a85f58cd8509731240ec4e6030e68f7e89371373a96f3c629da1f25848351 SHA512 fe9affa131c7e21996969e46375ba6d1834c24751cb18cbf4adaa7aaee72b889283951561f2024f893e29aaa2e25f78884854615c10c8520980045d1be20f52d WHIRLPOOL cbf0eff4fafe7339f4aa35a15fac04840b0b936f23caf724d8c144aa36c046dfe95575f2285d8704bc94437add6e6f0f55aebbd3482dd54e45e28ab5ff781f4f
+EBUILD chrome-binary-plugins-62.0.3202.38_beta.ebuild 1439 SHA256 3c0ef3ef065adaf230e006e4d512b9792dc552d8bde43ec5d299666423bd02f0 SHA512 1ed9ffc20fe99949b3a96cac76195e97a59976107b1d810b14fe1024dab246de3dd229b8cb42d8ad0611183c0d12e3f5c13766b670d0dba37b724e914c95a0c2 WHIRLPOOL 98cf50f9e6a50c2269db23c8d093ce6b223e5048779f93e4e9ddbdaf3d67aa0183144f00008a99a59be500f1fc874af7fc1a1f485aad2d8e1ac68cf236b4195c
+EBUILD chrome-binary-plugins-63.0.3230.0_alpha.ebuild 1439 SHA256 3c0ef3ef065adaf230e006e4d512b9792dc552d8bde43ec5d299666423bd02f0 SHA512 1ed9ffc20fe99949b3a96cac76195e97a59976107b1d810b14fe1024dab246de3dd229b8cb42d8ad0611183c0d12e3f5c13766b670d0dba37b724e914c95a0c2 WHIRLPOOL 98cf50f9e6a50c2269db23c8d093ce6b223e5048779f93e4e9ddbdaf3d67aa0183144f00008a99a59be500f1fc874af7fc1a1f485aad2d8e1ac68cf236b4195c
+MISC ChangeLog 51929 SHA256 50e3850c299e851033ba47f469357a12caf7da6a98c6d3b8f4fb363b1ffeca73 SHA512 46cb260ece8c3dd5c4a29ab23dd2576d99c83e811b965f6ede0402f2c244e04a130f7a31bf719b73637f008a36418199efd2f714efdd5c272d9faf6f1233d503 WHIRLPOOL 74bdc87a8aed3e93062ae0e350ad5efff3ee72fd81a9bdc2b09710e0c600caee54e473a7f255a58d10cf27d28cf36965299e7b1aae1904016167cd647c101bcf
+MISC ChangeLog-2015 77792 SHA256 96719f76c6575ca2c06e130d41c45b6de9f4199194a719a97a089c11798ac811 SHA512 f8a3c9d9f3f1e7cb7e3a0a0b83a913d1be45e284e58511bdcc0268061457bb674afd8cb56e95c675939682b1f1f1f1523d2d3a1de1624f9a4348dce5825ff61b WHIRLPOOL c8fccfb687c4856c64d37d0fa1cc3b8aa577f1e5c02fc0f89842d3b4c111bf363eb5bb4dc97bcc658931014f2342661b599456ffff616415171196a7b8ea2410
+MISC metadata.xml 448 SHA256 6db38f88565d0e9d458419135f2352ed66df8cae46c7a2a7cdfa3e00e289a6b7 SHA512 b9bc86889a7432b10cc0e2ebe3907e6bd167d0d2ddc476ccd8cb438f0a46ad7061c935661216458d7f4ba9b765da374342ee558469b412c8c9783487e9459acb WHIRLPOOL e8a97201d4a3628a594ea15cc63712d8a79d0249c6ec90df1f3f21f9e88922d99f694780f1796ea1fe16fa72f37623f99ea8fd90e84785d3b918d143085d5397
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-61.0.3163.100.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-61.0.3163.100.ebuild
new file mode 100644
index 000000000000..8173f0b7f5f0
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-61.0.3163.100.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib unpacker
+
+DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
+HOMEPAGE="https://www.google.com/chrome"
+
+case ${PV} in
+ *_alpha*)
+ SLOT="unstable"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_alpha}-1
+ ;;
+ *_beta*)
+ SLOT="beta"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_beta}-1
+ ;;
+ *)
+ SLOT="stable"
+ CHROMEDIR="opt/google/chrome"
+ MY_PV=${PV}-1
+ ;;
+esac
+
+MY_PN="google-chrome-${SLOT}"
+MY_P="${MY_PN}_${MY_PV}"
+
+SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb"
+KEYWORDS="-* amd64"
+
+LICENSE="google-chrome"
+IUSE="+widevine"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="widevine? ( !<www-client/chromium-57[widevine(-)] )"
+
+for x in 0 beta stable unstable; do
+ if [[ ${SLOT} != ${x} ]]; then
+ RDEPEND+=" !${CATEGORY}/${PN}:${x}"
+ fi
+done
+
+S="${WORKDIR}/${CHROMEDIR}"
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/chromium
+ if use widevine; then
+ doins libwidevinecdm.so libwidevinecdmadapter.so
+ dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
+ dosym ../chromium/libwidevinecdmadapter.so /usr/$(get_libdir)/chromium-browser/libwidevinecdmadapter.so
+ fi
+}
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-62.0.3202.38_beta.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-62.0.3202.38_beta.ebuild
new file mode 100644
index 000000000000..fb901aa5d5d9
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-62.0.3202.38_beta.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib unpacker
+
+DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
+HOMEPAGE="https://www.google.com/chrome"
+
+case ${PV} in
+ *_alpha*)
+ SLOT="unstable"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_alpha}-1
+ ;;
+ *_beta*)
+ SLOT="beta"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_beta}-1
+ ;;
+ *)
+ SLOT="stable"
+ CHROMEDIR="opt/google/chrome"
+ MY_PV=${PV}-1
+ ;;
+esac
+
+MY_PN="google-chrome-${SLOT}"
+MY_P="${MY_PN}_${MY_PV}"
+
+SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb"
+KEYWORDS="-* ~amd64"
+
+LICENSE="google-chrome"
+IUSE="+widevine"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="widevine? ( !<www-client/chromium-57[widevine(-)] )"
+
+for x in 0 beta stable unstable; do
+ if [[ ${SLOT} != ${x} ]]; then
+ RDEPEND+=" !${CATEGORY}/${PN}:${x}"
+ fi
+done
+
+S="${WORKDIR}/${CHROMEDIR}"
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/chromium
+ if use widevine; then
+ doins libwidevinecdm.so libwidevinecdmadapter.so
+ dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
+ dosym ../chromium/libwidevinecdmadapter.so /usr/$(get_libdir)/chromium-browser/libwidevinecdmadapter.so
+ fi
+}
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild
new file mode 100644
index 000000000000..fb901aa5d5d9
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib unpacker
+
+DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
+HOMEPAGE="https://www.google.com/chrome"
+
+case ${PV} in
+ *_alpha*)
+ SLOT="unstable"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_alpha}-1
+ ;;
+ *_beta*)
+ SLOT="beta"
+ CHROMEDIR="opt/google/chrome-${SLOT}"
+ MY_PV=${PV%_beta}-1
+ ;;
+ *)
+ SLOT="stable"
+ CHROMEDIR="opt/google/chrome"
+ MY_PV=${PV}-1
+ ;;
+esac
+
+MY_PN="google-chrome-${SLOT}"
+MY_P="${MY_PN}_${MY_PV}"
+
+SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb"
+KEYWORDS="-* ~amd64"
+
+LICENSE="google-chrome"
+IUSE="+widevine"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="widevine? ( !<www-client/chromium-57[widevine(-)] )"
+
+for x in 0 beta stable unstable; do
+ if [[ ${SLOT} != ${x} ]]; then
+ RDEPEND+=" !${CATEGORY}/${PN}:${x}"
+ fi
+done
+
+S="${WORKDIR}/${CHROMEDIR}"
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/chromium
+ if use widevine; then
+ doins libwidevinecdm.so libwidevinecdmadapter.so
+ dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
+ dosym ../chromium/libwidevinecdmadapter.so /usr/$(get_libdir)/chromium-browser/libwidevinecdmadapter.so
+ fi
+}
diff --git a/www-plugins/chrome-binary-plugins/metadata.xml b/www-plugins/chrome-binary-plugins/metadata.xml
new file mode 100644
index 000000000000..08ef43024cd9
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>chromium@gentoo.org</email>
+ <name>Chromium in Gentoo Project</name>
+ </maintainer>
+ <use>
+ <flag name="widevine">Install the Widevine DRM library</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest
new file mode 100644
index 000000000000..23efd4d9c146
--- /dev/null
+++ b/www-plugins/freshplayerplugin/Manifest
@@ -0,0 +1,10 @@
+AUX 0.3.4-git-revision.patch 404 SHA256 8abe8f91479eb76c85bd56a0c12e95e864b4a997fe98b3c305c729c7b742df42 SHA512 617c5586d0948f9aa5acdef38cdceb29e98a07cb40a284e07e780d0344168408bf14fae612fb5d2baa648f6083b0d37820a70a002631abf6cdeb38a3948bd617 WHIRLPOOL a86c28b2b185820e4357918becf12cc7058c7f97364d2b259305345fc846c3722d7127b7f0c76452829ebfbe304de8494ade5376d7d8d0161dc5a296b3a0c063
+AUX 0.3.5-cmake.patch 3049 SHA256 7700270f18e52ea987c20b88644f1921a789a8f97dd426b367fa5557e0fcd2ac SHA512 95d07febb1cf159bd22ba3551fd712ab04e26f2422a01940285a19648d570a92b0d399a48fad54eba6b7faecd00f51b98e117e5f5df4b7dd1238a73bbe46d353 WHIRLPOOL c682543111f0842d35c5050fa6f390b80c0ea81452b0409790bdd35736aa1024b655fe21dee7b845df63c376f26af3cf4cdf77331681ac9103f80908303d9974
+DIST freshplayerplugin-0.3.5.tar.gz 781003 SHA256 b08f7c6690de13b1e358fef4cab41cb303b9e80b3504678e94c9646f44dd7104 SHA512 dd447db4cbfdb80b89ff42894099971c100023d19fe5fbad023d5ac1afa827fdc5a169a03f4702ffda3cf6e0dd9c63217b68d97d047ac43afc22f488020a0ba0 WHIRLPOOL cf22758e0ed947db27e8e6e053f17bafc425beebebd9314008eef105e828a0a51f73fd42f2d0c00e12e56f817e2b9078baeb55bd54a6c6a55e8ebd00d2e27ccc
+DIST freshplayerplugin-0.3.7.tar.gz 789974 SHA256 e4c67ff382aacbdf6ecc45095fa48c582e89ce70f94fe6499e00f7d664d5e05f SHA512 9ef534b873833d69caa86a5702ad6150e4aa2fe399159a550b6cb0ebad2754d25e185c54b6285f6f50913c5595c5b460ce3e0d21ac45f0d25793805463ce1d5d WHIRLPOOL f6e6c64c055d85eaf79da62ad24be04def3fa3f5167910e7854b9a633c8b9618dd0629bc8553d2fbc73b7e4f7006b18e0de150be6eb1807b90079e84826956cc
+EBUILD freshplayerplugin-0.3.5-r2.ebuild 1851 SHA256 f7d36c5618417e8c566625f43ee993b8eafd92ce53011091e47917ff101627eb SHA512 d8ebf65ac798abf5e1e00438b5c10e9140adf2b0d531a9bfc95e0dd1b1e3193b366e23fe2647846a87aba5ea491d72e0d377b2d7dae8d958cad92819b41be04c WHIRLPOOL eb74692942bc000b3bc006f89bd802f6891cb256bcb7371543c626a65cca4cdc41bcfa0cfc550c018f1e15ffc0c7009b0e91df3797883811a260c7ee9d3b7206
+EBUILD freshplayerplugin-0.3.5-r3.ebuild 1873 SHA256 3f67b5b455c51c1ba83f80a4382032ce77a66c025b31da9ed42888fe9ecacacf SHA512 83d5544d6b36efbafbfa25f12cdacd3c5d4c0f246dce0a9a19f7f7ac82ee344ebc9f3f593bdeb32f7763ecb0149bef169e217b3632a69e61c8e7bdc893188bca WHIRLPOOL 510127c5d99f0ec60069d27169107b8084868b2acf4063bcce4b711af77d586fc3f6411e57b6264c892716808204f560b2e73ad93daf582361c1c9762ce11825
+EBUILD freshplayerplugin-0.3.7.ebuild 1834 SHA256 fc5efb678127896d26004804fd7f72659ba272a34cd3a1351ac4635f118216ff SHA512 58797302082e763a98e7dc573246657020003c4b2f7ff1845c85755dd79300e74d8730698709fcc032873cd7f1bdf36b5557660469f1c01364099a05379ba5c8 WHIRLPOOL 004e751a655b7842f75994c63ca68f53e25ee9f1b31e7a8d3b7be1c6bb9f10b61a73cba1668fc586d040c6ec0d18b9fcd416443b242de4f47d41e2a326e7935e
+MISC ChangeLog 6273 SHA256 597c652c1bbfbfeaa8537cfac6546338053fe64d3dca69f7693d55a706779621 SHA512 5c102e0cc0f89d9879ba28b4cb27bbcd04bfd2d11063c7607676780779930f4efe326deee706159b1a1353f73fb2d748ab87859abc346242090f75a2f6e67aaa WHIRLPOOL 7e4871fa9dde70bdfd785a5dcdf79b92ba15a10ad0006f7170f75a5cd035edcafc0db5ae0b75a78e7290de01b113a263fa3141913afbc0cb44e7fda6aff78c64
+MISC ChangeLog-2015 1704 SHA256 2831ca05afb07d7d2023ee44960756b1a2daf9bbd2727744fc313d09ffa4ff1f SHA512 807f04c90ba32f0d79cfa848e93ba75fe1976eb803c842fd1a0ab6d024230303d4db0f27b133a5ac44858441a65ce73c83240c7dfc5126875e352260ef2e616d WHIRLPOOL 08684d19efb984feb1a695720f44e1e485c2ac80617a59dd1e51ab5ca272adec59f451c98b635ae0c4c7f538c57e125f48484eda055f307b9b2e60c895558a8e
+MISC metadata.xml 574 SHA256 56a92ea997fb2a8d44878334d15b638805bff2105bf0ec154335ae232e310076 SHA512 97da2e0c03c499e76f400cf6d690e6a0f19779ff1dee966c72b109cd114dae905f044c6ef0a58bc9e15ac648474d05aa770c060150c824c54da25ac1d7bede60 WHIRLPOOL bc60c5cc09c32bd359cf43fb7243aa69c4ca46f95670bc58cf46b9c0b203cddb58e67cabd1271de068d99e4736197601e9cc64ac1ffa77d4f25780d4b92ff6c5
diff --git a/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch b/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch
new file mode 100644
index 000000000000..96cfce94c936
--- /dev/null
+++ b/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch
@@ -0,0 +1,11 @@
+--- a/cmake/update-version-info.sh 2015-12-20 08:38:33.000000000 -0500
++++ b/cmake/update-version-info.sh 2015-12-26 20:14:00.000000000 -0500
+@@ -18,7 +18,7 @@
+ GIT_COMMAND_EXISTS=1
+ command -v git >/dev/null 2>&1 || GIT_COMMAND_EXISTS=0
+
+-if [ $GIT_COMMAND_EXISTS -eq 0 ]; then
++if [ $GIT_COMMAND_EXISTS -eq 0 -o ! -d "${CMAKE_SOURCE_DIR}/.git" ]; then
+ update_header "no vcs hash"
+ exit 0
+ fi
diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch
new file mode 100644
index 000000000000..f925dfa31eb9
--- /dev/null
+++ b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch
@@ -0,0 +1,70 @@
+diff -uarN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400
++++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400
+@@ -61,35 +61,36 @@
+ # optional dependencies
+ message(STATUS "checking for optional dependencies")
+
+-pkg_check_modules(PULSEAUDIO QUIET libpulse)
+-pkg_check_modules(JACK QUIET jack)
+-pkg_check_modules(SOXR QUIET soxr)
+ set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support")
+ set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit")
+
+-if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO)
++if (WITH_PULSEAUDIO)
++ pkg_check_modules(PULSEAUDIO libpulse)
++ if (NOT PULSEAUDIO_FOUND)
++ message(FATAL_ERROR "PulseAudio requested but not found.")
++ endif()
+ add_definitions(-DHAVE_PULSEAUDIO=1)
+- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)")
++ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}")
+ list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS})
+ list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS})
+ list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES})
+-else()
+- message(STATUS " no libpulse found (optional)")
+ endif()
+
+-if (JACK_FOUND AND WITH_JACK)
+- message(STATUS " found jack, version ${JACK_VERSION} (optional)")
+- if (SOXR_FOUND)
+- message(STATUS " found soxr, version ${SOXR_VERSION}")
+- add_definitions(-DHAVE_JACK=1)
+- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}")
+- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}")
+- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}")
+- else()
+- message(STATUS " no soxr found, JACK output disabled")
++if (WITH_JACK)
++ pkg_check_modules(JACK QUIET jack)
++ if (NOT JACK_FOUND)
++ message(FATAL_ERROR "JACK support requested but not found.")
++ endif()
++ pkg_check_modules(SOXR QUIET soxr)
++ if (NOT SOXR_FOUND)
++ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.")
+ endif()
+-else()
+- message(STATUS " no jack found (optional)")
++ message(STATUS " found jack, version ${JACK_VERSION}")
++ message(STATUS " found soxr, version ${SOXR_VERSION}")
++ add_definitions(-DHAVE_JACK=1)
++ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}")
++ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}")
++ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}")
+ endif()
+
+ list(APPEND REQ_LIBRARIES img-resources)
+--- a/src/CMakeLists.txt 2015-12-20 08:38:33.000000000 -0500
++++ b/src/CMakeLists.txt 2015-12-26 20:45:07.000000000 -0500
+@@ -5,7 +5,7 @@
+
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+
+-set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/mozilla/plugins/" CACHE STRING "plugin install directory")
++set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/nsbrowser/plugins/" CACHE STRING "plugin install directory")
+
+ add_subdirectory(uri_parser)
+ add_subdirectory(config_parser)
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild
new file mode 100644
index 000000000000..b69aaa96e3ee
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+LICENSE="MIT"
+HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
+DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SLOT=0
+IUSE="gles2 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau"
+
+KEYWORDS="amd64"
+
+HWDEC_DEPEND="
+ libav? ( media-video/libav:0=[vaapi?,vdpau?] )
+ !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] )
+ x11-libs/libva
+ x11-libs/libvdpau
+"
+
+COMMON_DEPEND="
+ dev-libs/glib:2=
+ dev-libs/icu:0=
+ dev-libs/libevent:=[threads]
+ media-libs/alsa-lib:=
+ media-libs/freetype:2=
+ media-libs/mesa:=[egl,gles2?]
+ x11-libs/cairo:=[X]
+ x11-libs/libXcursor:=
+ x11-libs/libXrandr:=
+ x11-libs/libXrender:=
+ x11-libs/libdrm:=
+ x11-libs/pango:=[X]
+ jack? (
+ media-sound/jack-audio-connection-kit
+ media-libs/soxr
+ )
+ pulseaudio? ( media-sound/pulseaudio )
+ !gtk3? ( x11-libs/gtk+:2= )
+ gtk3? ( x11-libs/gtk+:3= )
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ v4l? ( media-libs/libv4l:0= )
+ vaapi? ( ${HWDEC_DEPEND} )
+ vdpau? ( ${HWDEC_DEPEND} )
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/ragel
+ virtual/pkgconfig
+ "
+RDEPEND="${COMMON_DEPEND}
+ www-plugins/adobe-flash:22
+ "
+
+PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" )
+DOCS=( ChangeLog data/freshwrapper.conf.example README.md )
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_JACK=$(usex jack)
+ -DWITH_PULSEAUDIO=$(usex pulseaudio)
+ -DWITH_GTK=$(usex gtk3 3 2)
+ -DWITH_GLES2=$(usex gles2)
+ -DWITH_LIBV4L2=$(usex v4l)
+ -DCMAKE_SKIP_RPATH=1
+ )
+ if use vaapi || use vdpau ; then
+ mycmakeargs+=( -DWITH_HWDEC=1 )
+ else
+ mycmakeargs+=( -DWITH_HWDEC=0 )
+ fi
+ cmake-utils_src_configure
+}
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild
new file mode 100644
index 000000000000..a59a28573a43
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+LICENSE="MIT"
+HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
+DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SLOT=0
+IUSE="gles2 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau"
+
+KEYWORDS="~amd64"
+
+HWDEC_DEPEND="
+ libav? ( media-video/libav:0=[vaapi?,vdpau?] )
+ !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] )
+ x11-libs/libva
+ x11-libs/libvdpau
+"
+
+COMMON_DEPEND="
+ dev-libs/glib:2=
+ dev-libs/icu:0=
+ dev-libs/libevent:=[threads]
+ media-libs/alsa-lib:=
+ media-libs/freetype:2=
+ media-libs/mesa:=[egl,gles2?]
+ x11-libs/cairo:=[X]
+ x11-libs/libXcursor:=
+ x11-libs/libXrandr:=
+ x11-libs/libXrender:=
+ x11-libs/libdrm:=
+ x11-libs/pango:=[X]
+ jack? (
+ media-sound/jack-audio-connection-kit
+ media-libs/soxr
+ )
+ pulseaudio? ( media-sound/pulseaudio )
+ !gtk3? ( x11-libs/gtk+:2= )
+ gtk3? ( x11-libs/gtk+:3= )
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ v4l? ( media-libs/libv4l:0= )
+ vaapi? ( ${HWDEC_DEPEND} )
+ vdpau? ( ${HWDEC_DEPEND} )
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/ragel
+ virtual/pkgconfig
+ "
+RDEPEND="${COMMON_DEPEND}
+ www-plugins/adobe-flash:22[abi_x86_64,ppapi(+)]
+ "
+
+PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" )
+DOCS=( ChangeLog data/freshwrapper.conf.example README.md )
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_JACK=$(usex jack)
+ -DWITH_PULSEAUDIO=$(usex pulseaudio)
+ -DWITH_GTK=$(usex gtk3 3 2)
+ -DWITH_GLES2=$(usex gles2)
+ -DWITH_LIBV4L2=$(usex v4l)
+ -DCMAKE_SKIP_RPATH=1
+ )
+ if use vaapi || use vdpau ; then
+ mycmakeargs+=( -DWITH_HWDEC=1 )
+ else
+ mycmakeargs+=( -DWITH_HWDEC=0 )
+ fi
+ cmake-utils_src_configure
+}
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild
new file mode 100644
index 000000000000..7f1968d12571
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+LICENSE="MIT"
+HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
+DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SLOT=0
+IUSE="gles2 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau"
+
+KEYWORDS="~amd64"
+
+HWDEC_DEPEND="
+ libav? ( media-video/libav:0=[vaapi?,vdpau?] )
+ !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] )
+ x11-libs/libva
+ x11-libs/libvdpau
+"
+
+COMMON_DEPEND="
+ dev-libs/glib:2=
+ dev-libs/icu:0=
+ dev-libs/libevent:=[threads]
+ media-libs/alsa-lib:=
+ media-libs/freetype:2=
+ media-libs/mesa:=[egl,gles2?]
+ x11-libs/cairo:=[X]
+ x11-libs/libXcursor:=
+ x11-libs/libXrandr:=
+ x11-libs/libXrender:=
+ x11-libs/libdrm:=
+ x11-libs/pango:=[X]
+ jack? (
+ media-sound/jack-audio-connection-kit
+ media-libs/soxr
+ )
+ pulseaudio? ( media-sound/pulseaudio )
+ !gtk3? ( x11-libs/gtk+:2= )
+ gtk3? ( x11-libs/gtk+:3= )
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ v4l? ( media-libs/libv4l:0= )
+ vaapi? ( ${HWDEC_DEPEND} )
+ vdpau? ( ${HWDEC_DEPEND} )
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/ragel
+ virtual/pkgconfig
+ "
+RDEPEND="${COMMON_DEPEND}
+ www-plugins/adobe-flash:22[abi_x86_64,ppapi(+)]
+ "
+
+PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" )
+DOCS=( ChangeLog data/freshwrapper.conf.example README.md )
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_JACK=$(usex jack)
+ -DWITH_PULSEAUDIO=$(usex pulseaudio)
+ -DWITH_GTK=$(usex gtk3 3 2)
+ -DWITH_GLES2=$(usex gles2)
+ -DWITH_LIBV4L2=$(usex v4l)
+ -DCMAKE_SKIP_RPATH=1
+ )
+ if use vaapi || use vdpau ; then
+ mycmakeargs+=( -DWITH_HWDEC=1 )
+ else
+ mycmakeargs+=( -DWITH_HWDEC=0 )
+ fi
+ cmake-utils_src_configure
+}
diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml
new file mode 100644
index 000000000000..fccc5290bc7e
--- /dev/null
+++ b/www-plugins/freshplayerplugin/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grknight@gentoo.org</email>
+ <name>Brian Evans</name>
+ </maintainer>
+ <use>
+ <flag name="gles2">Use system GLESv2 libraries instead of ANGLE for shader translation</flag>
+ <flag name="gtk3">Build with GTK+ 3 instead of GTK+ 2</flag>
+ <flag name="v4l">Use libv4l2 for colorspace conversion</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">i-rinat/freshplayerplugin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-plugins/gecko-mediaplayer/Manifest b/www-plugins/gecko-mediaplayer/Manifest
new file mode 100644
index 000000000000..e4dcf02bb52f
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/Manifest
@@ -0,0 +1,7 @@
+DIST gecko-mediaplayer-1.0.8.tar.gz 269970 SHA256 25f02dbc1ece6e69ee4af60a4bf61b08b61997b5d4141eb289f3e5212dc85ecd SHA512 a66d286e668dbe1bbbbf42bbf68bd35bda68db73e7a30674f2cd87850e17a8c27ecf9ae3f32c3024fcca31174e3c5ef88da668b11a5cc3641824fae8c9367962 WHIRLPOOL 5c158521492e1534c48553a0ad06ad137c815ec2a867483a717af23d65ca00ad8c15e72cc02d99d0db6e4f73931718f096960f718b6a4c3078e4c3196aa971cb
+DIST gecko-mediaplayer-1.0.9.tar.gz 271917 SHA256 212a0a87e35da9ed944f5fb827552e9978fd3ea051da89554da5ef3934d4c2a5 SHA512 64624726e2c668085455a7eaaf82f4d7f4c962212789284b2c652fc93b3a9c9e8ad6c3f7f4c887487b68870e867678dd47201bb9495de863a05e0e1e9b7f2a74 WHIRLPOOL a09a85dda42668bb6adda60933b99aa8ee4d15ff8bf2c1d2141dd378c63c0ca2937316718d6abdbe3f6022419070a0f44c1f7f196d32f0784a8d127983bdf94b
+EBUILD gecko-mediaplayer-1.0.8.ebuild 864 SHA256 06bba74247b99af19c643a21b80956f9fcb1957b364c93787f5b59aea15696c2 SHA512 5f2e460c17f3630909fdf36879289afae6529b36348d1478a4413277dc3159d79a8cb02551b1e80cdc9fb8281d027c5cf7e38059d66263d2f90569f71e39914f WHIRLPOOL 026d04f963c36b597218a066103c9063ef7e28da4a5f5aad8b2c23b757329d393e0db82c19e2b4ba5692a01b049217d105a17baffaeb9e8eb29efa65431c2c53
+EBUILD gecko-mediaplayer-1.0.9.ebuild 871 SHA256 ef8c66f595657b3783d855dbc3881525e52294c6751768392328a10ac9a3217a SHA512 bec68243236d00312606eaf0df2f3c554d2973ea543b27d775f64a5cc813e9c2bb730cc5c0484a8901b4c49469d7ccb6c2bc1d3da62862829b8468f7d8f6a3aa WHIRLPOOL a1032b809a64ef222ee1f4d2e5b1ea5854a90f310a639d7cddf82353f0758b55a57e9e39a6e1be51cc4ef73455012ebba5aa1c90b331df349fe98368b4d2a80c
+MISC ChangeLog 2940 SHA256 a9b5bf8344baf2eada526d7dc41aaa81f438a2979ec6a52ad788063e9d818895 SHA512 98a38e37bed713f3326b0145e65b0094e9b64fe8b42967207c5e3072e7d66871c3ee56377c61bcd3209085b826c84d24d4627b35fbdb476f434582644747909b WHIRLPOOL 18bb61ced983c10212cf5e160699a65e33dcba1799c6a541da457c2e9f9943a67c22a20e6e4c836990198dd63136b0efe4a912a129df674a6b0c5cdf4a05963c
+MISC ChangeLog-2015 14319 SHA256 50fcd76e45cf5a0a6df3683dab4f017ab6abe0f66f7c1137f3476e2a91199784 SHA512 a646679c4fa3c62a958f83d9fe5fe9b1aeb36e3297203e15f3bf2a2e928cdd74df68dd762e0d186c1c9cfea60736ed18dec286512aa44295c606aed57a13c53a WHIRLPOOL 69844b4beabf9f8710040c840bcca95b8a5130ad984da24191d59d074bbd8637e5c98196c100d2a76a044ce911df9db7de4d5c5ed705803dd10b971b4ccf3ece
+MISC metadata.xml 310 SHA256 3ad1c7073cd0c15e200220d91cbad16173683c2bb4b102cefce28293f95b4da8 SHA512 921ee33bd21c4ffd2d85cdb3396fdef4faeccec4fc114895a864931521a1f95f0177abd8f30b3c0e37e03b85bdb528cb65184b0611e60ecff245570fed1765f3 WHIRLPOOL 6b67a54445dd05595faea4328c0980d217f4327a5f5ac6378129f199cd22a9b08e5d495e36ad46d47cc1f6dd55110de52611e2aaf034385435db6668ec2f8e9f
diff --git a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.8.ebuild b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.8.ebuild
new file mode 100644
index 000000000000..0adfd37707b6
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib nsplugins
+
+DESCRIPTION="A browser plugin that uses GNOME MPlayer"
+HOMEPAGE="https://code.google.com/p/gecko-mediaplayer/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="+curl"
+
+RDEPEND=">=dev-libs/dbus-glib-0.100
+ >=dev-libs/glib-2.30
+ dev-libs/nspr
+ >=media-libs/gmtk-${PV}
+ >=media-video/gnome-mplayer-${PV}[dbus]
+ curl? ( net-misc/curl )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=net-misc/npapi-sdk-0.27
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS="ChangeLog DOCS/tech/*.txt"
+
+src_configure() {
+ econf \
+ --with-plugin-dir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ $(use_with curl libcurl)
+}
+
+src_install() {
+ default
+ rm -rf "${ED}"/usr/share/doc/${PN}
+}
diff --git a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.9.ebuild b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.9.ebuild
new file mode 100644
index 000000000000..b0455d30902e
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib nsplugins
+
+DESCRIPTION="A browser plugin that uses GNOME MPlayer"
+HOMEPAGE="https://code.google.com/p/gecko-mediaplayer/"
+SRC_URI="https://${PN}.googlecode.com/svn/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="+curl"
+
+RDEPEND=">=dev-libs/dbus-glib-0.100
+ >=dev-libs/glib-2.30
+ dev-libs/nspr
+ >=media-libs/gmtk-${PV}
+ >=media-video/gnome-mplayer-${PV}[dbus]
+ curl? ( net-misc/curl )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=net-misc/npapi-sdk-0.27
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS="ChangeLog DOCS/tech/*.txt"
+
+src_configure() {
+ econf \
+ --with-plugin-dir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ $(use_with curl libcurl)
+}
+
+src_install() {
+ default
+ rm -rf "${ED}"/usr/share/doc/${PN}
+}
diff --git a/www-plugins/gecko-mediaplayer/metadata.xml b/www-plugins/gecko-mediaplayer/metadata.xml
new file mode 100644
index 000000000000..4fbeeac64c9b
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">gecko-mediaplayer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-plugins/gnash/Manifest b/www-plugins/gnash/Manifest
new file mode 100644
index 000000000000..5ef451932ed3
--- /dev/null
+++ b/www-plugins/gnash/Manifest
@@ -0,0 +1,10 @@
+AUX gnash-0.8.10-amf-include.patch 1245 SHA256 81f0cdf8246689614b1deaf36cf9c3e09d3501a55691ef95130d08ab1f6bc2e6 SHA512 46c2b9d4a57a1180626760ebcdbcbdc10c01fba4e01d8c45378ad26da3bf1181daaa54a2c88419452b6e691467c1ccb77374d8e926776b5f1b93ee2baa875986 WHIRLPOOL a6bc2db921b0e4cca443a0fe2b309d6e83409b93749241eeff600ae41977bcb07a8e16add81aabbf458e4a034eb8a5ed40198d7085152a2eabbd6ab742c62e89
+AUX gnash-0.8.10_p20150316-boost-1.60.patch 746 SHA256 1df546e376f0a0e495f2c1a96f13e29c507dfb5f16b808696dc8c7474d833f65 SHA512 302946a47710978471837a8ddacd4be0eaf116cd6d1389f98155a939df774d61557eaafcec473cfdb37c06439b6f7cc5de8a5494fb880aa62669df5d951feb5d WHIRLPOOL eb3fbadf701eb60c020fab659efeb3940a3cc83676c81080a88c91a137bab74dc4f1818aea11c54e846a00aff44bedb80caf611a93f270770ea9a2663ee864c1
+AUX gnash-0.8.9-external-dejagnu.patch 700 SHA256 b838af0304d41165557dff2538031edf8d14d5a221375aff4b9e404ef1cb261d SHA512 1b6714e0d44d3d43dcef53622cb6a8c153a1e336a99ef5ee13de1a092e54dc1b1c346e4468e9ea66035762195bd45b84dd185370bb726427472e5b5d6b470556 WHIRLPOOL 160bbc555ba3fab4027a3287fec37a83ffbd1cd09f131168eac66bd1a14574432a9575f01e0589da56285586032bc351e84ba2ef59d619ed097532e9f92c4089
+AUX gnash-0.8.9-kde4-libdir.patch 498 SHA256 43a74367b0f7452bed23577ddda2bde692b6ce4d2bd1d56e480c4d37380af80d SHA512 df1a6faf5b3cae8a519b590ee3e26009b5a194a01f5dacc5b1862751118d1172f0babf85f7641d6b8e898d5013b6c11002c593df589c57312d842930ab964341 WHIRLPOOL 57ed37224e2c02de8ca648dc1ac172905384a254c537787d1d393e5f0b441654f74c1bd1efacf2178146ddcbfcbf11b453fc9aa4579c177168b659f69e20225f
+AUX gnash-0.8.9-klash.patch 471 SHA256 779f4be4eb25f654010b380fea4d6b092310d1f850acb040a203a7b8caf02bb8 SHA512 4a57310522ac2323eee26bb027432b12606d91add6d528b31afd69e172c73aa9f80bafc7c0a84fed4214773f901b65ddea4a7de67865f82a2984ac1dfe274c4d WHIRLPOOL a27cec3d6e62d86a42452cffad3ac376bd5a04de53818371bffa45c71c5f70e23962c0ab79293048e9358e46124352de191a5e82125069bffd8e8dbb20438696
+DIST gnash-0.8.10_p20160329.tar.xz 4079572 SHA256 851ccba805a90a2e21ced841ae70cf55c0ba53c95f2b8b9bc729385a5b49bbb7 SHA512 e8956d6277dde29a22bfe5af4279b40f80dad5659961d042e0bb57505b084f3ef1b489cf6fdf06730a8f3e2f9fdb737d7b1bc015a0255a80b167b98e686aa245 WHIRLPOOL 58734701ff4d9a6aa9536a1fa7feb75a8357775fb11857ecaf1a678ac7eca590a00b8af76f3723e8bbdf03b1fdf01cb193d870d505b8cc5767fdaf29fff1d7ee
+EBUILD gnash-0.8.10_p20160329-r1.ebuild 6514 SHA256 f9695b79f3a62ca785f2b64271891dde23056d99cd229ab2992551270a400b06 SHA512 a7b26ea0b97a047b5b75a3e665907dae232750fe588679db2c5a33378f110d52b46c987e55281aa00068db53caee24991c3415066265165ce157d306ccf3d2cd WHIRLPOOL 10ad71204227807d6c30a9f437c09129a570f1391dc16b702502335e0a849e00dc7c4074c905e7b3ff8b392ca3f5b5fd23a1b025997fee976d25df193f8c7236
+MISC ChangeLog 5623 SHA256 842572cbdb0174b2debca737827607982488742e7ebfd6517dae5ce922d7e8d2 SHA512 8eea7bff4f5a7aa9035b41b0f3af08bf17cb1a0ca7c9591cf6ac0c5446ea93cf2e3981cb322b2f971e2bc01e5f806550349964ac8281fd1d7e4e1f62d4234fe4 WHIRLPOOL 11d89f18d9a72cc0454c2fa4e2734d9dbf197c61f0cd64437a57fc5ab969cc8379eba154ac97313ab2335b0ee3dfa3c77fb13bf77da68e85cb581078fa2cf525
+MISC ChangeLog-2015 32671 SHA256 424581aa6ec3046239cabaa8f45d3d065c87f3c8af8a077c2ef1dde7368639c8 SHA512 5c12aac652086b18720fe21d29a2438e606d890d18c7419ab9ba3e1f0b5a6199f82e63077c647d6032c10ebb61147462a699bd50fc4b900f159c6c788a3bd785 WHIRLPOOL 841e9f2f6a105c175986c9ed9ccab13ada2ef9633ca8465018cc661c0122560cc8316cac92b233d6150395869d889b9e3d85bffa31357cdabe042a8997f82c66
+MISC metadata.xml 1151 SHA256 970f234854abe18ee72be73cf570246c6bc4df265930d99f0a900c344e7d3e4e SHA512 504d83968b9452b4b03622fe8486c5458dc701b4cb81669a1d96c1faa610b8a35476e24250bb8b8dd6b6b90a0e33513ad0f6c63b1a3c0162489edd0338691545 WHIRLPOOL d63ddf7c254aae1b84a539d25c29b32d53e7ef7f9cbf6a1d755d013137c1dce635ecb949440203ad232e55906891e22e1433b08f32a59df4ed6d6d92e1cb2b79
diff --git a/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch b/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch
new file mode 100644
index 000000000000..983fa6b70eb1
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch
@@ -0,0 +1,45 @@
+diff -ur a/cygnal/libnet/cque.h b/cygnal/libnet/cque.h
+--- a/cygnal/libnet/cque.h 2012-01-19 20:17:47.000000000 +0100
++++ b/cygnal/libnet/cque.h 2012-02-23 20:13:39.000000000 +0100
+@@ -25,8 +25,9 @@
+ #include <boost/thread/condition.hpp>
+ #include <deque>
+
++#include "../libamf/amf.h"
+ #include "getclocktime.hpp"
+-#include "buffer.h"
++#include "../libamf/buffer.h"
+ #include "network.h"
+ #include "dsodefs.h" //For DSOEXPORT.
+
+diff -ur a/cygnal/libnet/sshclient.h b/cygnal/libnet/sshclient.h
+--- a/cygnal/libnet/sshclient.h 2012-01-19 20:17:47.000000000 +0100
++++ b/cygnal/libnet/sshclient.h 2012-02-23 20:13:09.000000000 +0100
+@@ -32,9 +32,10 @@
+ #include <libssh/sftp.h>
+ }
+
++#include "../libamf/amf.h"
+ #include "cque.h"
+ #include "network.h"
+-#include "buffer.h"
++#include "../libamf/buffer.h"
+
+ namespace gnash
+ {
+diff -ur a/cygnal/libnet/sslclient.h b/cygnal/libnet/sslclient.h
+--- a/cygnal/libnet/sslclient.h 2012-01-19 20:17:47.000000000 +0100
++++ b/cygnal/libnet/sslclient.h 2012-02-23 20:13:21.000000000 +0100
+@@ -36,10 +36,11 @@
+ #include <openssl/err.h>
+ #endif
+
++#include "../libamf/amf.h"
+ #include "dsodefs.h"
+ #include "cque.h"
+ #include "network.h"
+-#include "buffer.h"
++#include "../libamf/buffer.h"
+
+
+ namespace gnash
diff --git a/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch b/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch
new file mode 100644
index 000000000000..6671d361e325
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch
@@ -0,0 +1,24 @@
+diff --git i/libbase/accumulator.h w/libbase/accumulator.h
+index 694cbd2..876c669 100644
+--- i/libbase/accumulator.h
++++ w/libbase/accumulator.h
+@@ -22,6 +22,7 @@
+
+ #include <boost/program_options/value_semantic.hpp>
+ #include <boost/any.hpp>
++#include <boost/version.hpp>
+ #include <functional>
+ #include <vector>
+ #include <string>
+@@ -61,6 +62,11 @@ public:
+ virtual unsigned min_tokens() const { return 0; }
+ virtual unsigned max_tokens() const { return 0; }
+
++#if BOOST_VERSION >= 105900
++ /// There are no tokens, so this is indifferent.
++ virtual bool adjacent_tokens_only() const { return false; }
++#endif
++
+ /// Accumulating from different sources is silly.
+ virtual bool is_composing() const { return false; }
+
diff --git a/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch b/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch
new file mode 100644
index 000000000000..eaffda77bc00
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch
@@ -0,0 +1,24 @@
+diff -ur a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
+--- a/plugin/npapi/test.cpp 2011-03-13 17:47:36.000000000 +0100
++++ b/plugin/npapi/test.cpp 2011-03-20 23:52:20.369998096 +0100
+@@ -35,7 +35,7 @@
+ #include "npfunctions.h"
+ #endif
+ #include "pluginbase.h"
+-#include "dejagnu.h"
++#include <dejagnu.h>
+ #include "../../testsuite/check.h"
+ #include <regex.h>
+
+diff -ur a/testsuite/check.h b/testsuite/check.h
+--- a/testsuite/check.h 2011-02-26 19:11:08.000000000 +0100
++++ b/testsuite/check.h 2011-03-20 23:52:32.570998094 +0100
+@@ -29,7 +29,7 @@
+
+ #define HAVE_DEJAGNU_H 1 // we ship our own now...
+ #ifdef HAVE_DEJAGNU_H
+-#include "dejagnu.h"
++#include <dejagnu.h>
+
+ #define info(x) note x
+
diff --git a/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch b/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch
new file mode 100644
index 000000000000..b3279441d2f0
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch
@@ -0,0 +1,12 @@
+diff -ur a/macros/kde4.m4 b/macros/kde4.m4
+--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
++++ b/macros/kde4.m4 2011-11-25 18:09:25.000000000 +0100
+@@ -198,7 +198,7 @@
+ if test -d ${KDE4_PREFIX}/lib64 -a -f /etc/redhat-release; then
+ KDE4_PLUGINDIR="${KDE4_PREFIX}/lib64/kde4"
+ else
+- KDE4_PLUGINDIR="${KDE4_PREFIX}/lib/kde4"
++ KDE4_PLUGINDIR="${KDE4_PREFIX}/${acl_libdirstem}/kde4"
+ fi
+ fi
+ if test x"${with_kde4_servicesdir}" != x ; then
diff --git a/www-plugins/gnash/files/gnash-0.8.9-klash.patch b/www-plugins/gnash/files/gnash-0.8.9-klash.patch
new file mode 100644
index 000000000000..e6afec04d293
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.9-klash.patch
@@ -0,0 +1,12 @@
+diff -ur a/macros/kde4.m4 b/macros/kde4.m4
+--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
++++ b/macros/kde4.m4 2011-03-21 00:04:38.845997945 +0100
+@@ -210,7 +210,7 @@
+ KDE4_CONFIGDIR="${KDE4_PREFIX}/share/kde4/config"
+ fi
+ if test x"${KDE4_APPSDATADIR}" = x ; then
+- KDE4_APPSDATADIR="${KDE4_PREFIX}/share/kde4/apps/klash"
++ KDE4_APPSDATADIR="${KDE4_PREFIX}/share/apps/klash"
+ fi
+
+ if test x"${ac_cv_path_kde4_incl}" != x ; then
diff --git a/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild b/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild
new file mode 100644
index 000000000000..dad2a1764d43
--- /dev/null
+++ b/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild
@@ -0,0 +1,260 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+AT_M4DIR="cygnal"
+# won't build with python-3, bug #392969
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools eutils multilib nsplugins python-any-r1 flag-o-matic xdg-utils
+
+DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
+HOMEPAGE="https://www.gnu.org/software/gnash/"
+
+if [[ ${PV} = 9999* ]]; then
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
+ inherit git-2
+else
+# Release tarball is b0rked, upstream #35612
+# SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
+IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg libav libressl gnome gtk harden jemalloc lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
+REQUIRED_USE="
+ dump? ( agg ffmpeg )
+ fbcon? ( agg )
+ nsplugin? ( gtk )
+ openvg? ( egl )
+ python? ( gtk )
+ vaapi? ( agg ffmpeg )
+ || ( agg cairo opengl openvg )
+ || ( dump fbcon gtk sdl )
+"
+
+RDEPEND="
+ >=dev-libs/boost-1.41.0:0=
+ dev-libs/expat
+ dev-libs/libxml2:2
+ virtual/jpeg:0
+ media-libs/libpng:0=
+ net-misc/curl
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ media-libs/giflib:=
+ x11-proto/xproto
+ agg? ( x11-libs/agg )
+ cairo? ( x11-libs/cairo )
+ directfb? (
+ dev-libs/DirectFB
+ )
+ doc? (
+ >=app-text/docbook2X-0.8.8
+ app-text/docbook-sgml-utils
+ )
+ egl? (
+ media-libs/mesa[egl]
+ )
+ fbcon? (
+ x11-libs/tslib
+ )
+ ffmpeg? (
+ libav? ( media-video/libav:0=[vaapi?] )
+ !libav? ( media-video/ffmpeg:0=[vaapi?] )
+ )
+ gtk? (
+ x11-libs/gtk+:2
+ python? ( dev-python/pygtk:2 )
+ )
+ jemalloc? ( dev-libs/jemalloc )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ gtk? ( x11-libs/gtkglext )
+ )
+ openvg? (
+ media-libs/mesa[openvg]
+ )
+ sdl? ( media-libs/libsdl[X] )
+ sdl-sound? ( media-libs/libsdl )
+ media-libs/speex[ogg]
+ sys-libs/zlib
+ >=sys-devel/libtool-2.2
+ mysql? ( virtual/mysql )
+ lirc? ( app-misc/lirc )
+ dbus? ( sys-apps/dbus )
+ ssh? ( >=net-libs/libssh-0.4[server] )
+ ssl? (
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ )
+ vaapi? ( x11-libs/libva[opengl?] )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ gnome? ( app-text/rarian )
+ nsplugin? ( net-misc/npapi-sdk )
+ test? ( dev-util/dejagnu )
+ ${PYTHON_DEPS}
+"
+# Tests hang with sandbox, bug #321017
+RESTRICT="test"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+
+ if use !ffmpeg; then
+ ewarn "You are trying to build Gnash without choosing a media handler."
+ ewarn "Sound and video playback will not work."
+ fi
+}
+
+src_unpack() {
+ default
+ # rename git snapshot directory to what portage expects
+ mv ${PN}-*/ ${P} || die
+}
+
+src_prepare() {
+ default
+
+ xdg_environment_reset # 591014
+
+ # Fix paths for klash, bug #339610
+ eapply "${FILESDIR}"/${PN}-0.8.9-klash.patch
+
+ # Use external dejagnu for tests, bug #321017
+ eapply "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch
+
+ # Fix building on ppc64, bug #342535
+ use ppc64 && append-flags -mminimal-toc
+
+ # Fix kde multilib library path, bug #391283
+ eapply "${FILESDIR}"/${PN}-0.8.9-kde4-libdir.patch
+
+ # Fix libamf includes
+ eapply "${FILESDIR}"/${PN}-0.8.10-amf-include.patch
+
+ # Fix new adjacent_tokens_only() in >=boost-1.59 (bug 579142)
+ # See https://savannah.gnu.org/bugs/?46148
+ eapply "${FILESDIR}"/${PN}-0.8.10_p20150316-boost-1.60.patch
+
+ eautoreconf
+}
+src_configure() {
+ local device gui input media myconf myext renderers
+
+ # Set nsplugin install directory.
+ use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
+
+ # Set hardware acceleration.
+ use X && device+=",x11"
+ use directfb && device+=",directfb"
+ use egl && device+=",egl"
+ use fbcon && device+=",rawfb"
+ use vaapi && device+=",vaapi"
+ [[ "${device}x" == "x" ]] && device+=",none"
+
+ # Set rendering engine.
+ use agg && renderers+=",agg"
+ use cairo && renderers+=",cairo"
+ use opengl && renderers+=",opengl"
+ use openvg && renderers+=",openvg"
+
+ # Set media handler.
+ use ffmpeg || media+=",none"
+ use ffmpeg && media+=",ffmpeg"
+
+ # Set gui.
+ use dump && gui+=",dump"
+ use fbcon && gui+=",fb"
+ use gtk && gui+=",gtk"
+ use sdl && gui+=",sdl"
+
+ if use sdl-sound; then
+ myconf="${myconf} --enable-sound=sdl"
+ else
+ myconf="${myconf} --enable-sound=none"
+ fi
+
+ # Set extensions
+ use mysql && myext=",mysql"
+ use gtk && myext="${myext},gtk"
+ use lirc && myext="${myext},lirc"
+ use dbus && myext="${myext},dbus"
+
+ # Strip extra comma from gui, myext, hwaccel and renderers.
+ device=$( echo $device | sed -e 's/,//' )
+ gui=$( echo $gui | sed -e 's/^,//' )
+ myext=$( echo $myext | sed -e 's/,//' )
+ renderers=$( echo $renderers | sed -e 's/,//' )
+ media=$( echo $media | sed -e 's/,//' )
+
+ econf \
+ --disable-kparts3 \
+ --disable-kparts4 \
+ --without-gconf \
+ $(use_enable cygnal) \
+ $(use_enable cygnal cgibins) \
+ $(use_enable doc docbook) \
+ $(use_enable gnome ghelp) \
+ $(use_enable harden) \
+ $(use_enable jemalloc) \
+ $(use_enable nls) \
+ $(use_enable nsplugin npapi) \
+ $(use_enable python) \
+ $(use_enable ssh) \
+ $(use_enable ssl) \
+ $(use_enable test testsuite) \
+ --enable-gui=${gui} \
+ --enable-device=${device} \
+ --enable-extensions=${myext} \
+ --enable-renderer=${renderers} \
+ --enable-media=${media} \
+ ${myconf}
+}
+src_test() {
+ local log=testsuite-results.txt
+ cd testsuite
+ emake check || die "make check failed"
+ ./anaylse-results.sh > $log || die "results analyze failed"
+ cat $log
+}
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # Install nsplugin in directory set by --with-npapi-plugindir.
+ if use nsplugin; then
+ emake DESTDIR="${D}" install-plugin || die "install plugins failed"
+ fi
+
+ # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
+ use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so
+
+ # Remove eglinfo, bug #463654
+ if use egl; then
+ rm -f "${D}"/usr/bin/eglinfo || die
+ fi
+
+ einstalldocs
+}
+pkg_postinst() {
+ if use !gnome || use !ffmpeg ; then
+ ewarn ""
+ ewarn "Gnash was built without a media handler and or http handler !"
+ ewarn ""
+ ewarn "If you want Gnash to support video then you will need to"
+ ewarn "rebuild Gnash with the ffmpeg and gnome use flags set."
+ ewarn ""
+ fi
+ ewarn "${PN} is still in heavy development"
+ ewarn "Please first report bugs on upstream gnashdevs and deal with them"
+ ewarn "And then report a Gentoo bug to the maintainer"
+}
diff --git a/www-plugins/gnash/metadata.xml b/www-plugins/gnash/metadata.xml
new file mode 100644
index 000000000000..31d30161df28
--- /dev/null
+++ b/www-plugins/gnash/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+ </maintainer>
+ <use>
+ <flag name="agg">Rendering based on the Anti-Grain Geometry Rendering Engine library</flag>
+ <flag name="cygnal">Enable building of the cygnal server</flag>
+ <flag name="dump">Enable dump output module for creating video from SWF</flag>
+ <flag name="egl">Enable EGL support for the OpenVG, OpenGL and X11 renderers</flag>
+ <flag name="harden">Enable upstream recommended hardening build flags (may conflict with system ones)</flag>
+ <flag name="jemalloc">Use dev-libs/jemalloc for allocations</flag>
+ <flag name="openvg">Rendering based on the OpenVG graphics acceleration API</flag>
+ <flag name="sdl-sound">Enable SDL audio output for the standalone player</flag>
+ <flag name="ssh">Enable using SSH for network authentication in libnet</flag>
+ <flag name="ssl">Enable directly using OpenSSL in libnet (not needed for nsplugin ssl support)</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest
new file mode 100644
index 000000000000..57672783fe36
--- /dev/null
+++ b/www-plugins/google-talkplugin/Manifest
@@ -0,0 +1,10 @@
+DIST google-talkplugin_5.41.0.0-1_amd64.deb 7813320 SHA256 9d878736e0c7a386dcd1abba237d28cfc76c44b933943cb6e9c0bcf10d5fa11d SHA512 cfeed6384fee1f25c12a90c3b39081f058dbcc1043a4692450f143569ce1fe6b94f0978f76362eafac87a15820b806fd01cc9975d80c076d35456533f9486cb1 WHIRLPOOL 0f54965e30738e6fec274412c8d8bb38b3add28946cef1b9fe6acc2b4c5639cb6b1bf84f6a187bb3e4f1afdc00b311da0771610c6a56f12582efded7c88ddcbb
+DIST google-talkplugin_5.41.0.0-1_i386.deb 7659028 SHA256 de1fcc0fc614a91df30a0a185a0b620abf44152e30a9ba5004f6b52abd0d8fd1 SHA512 ca5cd6b296791de471151710558d6fb501d584620703817ba5de769d639b653fd67ed30ae6d3aff3411b69c39a22232f2af9067d8b771677d26c561ffe958533 WHIRLPOOL 1cfef503cd74b3e814a528463f0a42865672efbb6faaad63aadbc538428b75fc8ce1520d2ef8a0e22505702da54b087ded94fb05a3d31086317821be4a8dce82
+DIST google-talkplugin_5.41.3.0-1_amd64.deb 7800474 SHA256 af7e23d2b6215afc547f96615b99f04e0561557cc58c0c9302364b5a3840d97d SHA512 8802c1726c9b362db5302a8b2243c8d84c2b35b9ab55adacc08ed05a5fb98d2778c2ff516a5df13bcaa499ab9d902481957b119624467be69a2833e0b76ba218 WHIRLPOOL b5ef8da35ca051a9984558238120a136d0dd12c1c32191e5e754d61300bbaa71f7a9fba95dde77a9bef692a7605c6bcbf403389d9a4a75bde6de436b6bc8b9b7
+DIST google-talkplugin_5.41.3.0-1_i386.deb 7629820 SHA256 4c46d2b7f2018640288cd7ac49adc47e309d0beadfd979eb03030e672016b4a7 SHA512 9a133cec4c57672018985a1f924e87a6cc13c27b69fbf248daa60ae27df3669e4f510e591de20f41d75dfa2dd8bb499e8d8d04efd2b9d2288b381371b662dce9 WHIRLPOOL 8bcc6ac8499c99ef69386b85954fc2a59c57b7d088aa7e1b6209e3e8ae17fd180a1e2e1189078ef784218c53947b65bfbecfd8d8b0d7d410d1a61f126f6dd10e
+EBUILD google-talkplugin-5.41.0.0.ebuild 3702 SHA256 3b494053acd3939aa952bfb95128a2805269e92a37bd900cbb552e93b29d2573 SHA512 a35117425a1614cea740f5111a8b5c3fedb0ed87cb7f073dc07afd582346ef15471d57dcb9e5f1345569233fcddefbe72e5bfdde52944dad95ac607bc20dfa6a WHIRLPOOL 1a59d6892f3df2afd334d0655a632ee88d20fee249021202b5d73c94e0fb22bc05749df94a3ec1ab41334605d7f022f3ac65bbf5f437d683e5f687b66f5bb20a
+EBUILD google-talkplugin-5.41.3.0.ebuild 3701 SHA256 7ce2677958220996a98b528797df60207249aa0d27a66e16c898ef93036344df SHA512 e2141497342dd47e16b9802e9307f48edb8c2ad7caaf02cb09a0a5463535550ed08e728f2dc404fd072fbdf2dce8d6dc28031f9f0a57788ed574b89d4942ed48 WHIRLPOOL 9ce5aedd745740807f08b4f067d4122ad7e7fe3498b5a282db1c677649f617dc915a52aaab6f5690ec35453810464b3585919b06e03e67c8152f2b131ae0b51f
+EBUILD google-talkplugin-9999.ebuild 3701 SHA256 77f9149b713523d12b7290ba6a85d33668e1ffdfb90dcbb10d19c58d99f6ffef SHA512 0c80e6c0572eb07e0ac97520a7c9f00155b88e4c9c4cf65cca24899535a6d3dd4c7d2934b69584a0714ae75ee363f8ae52f3b8745a10c77d7974338d96d458d6 WHIRLPOOL 98226d4a4e300b213c20ebde95c25f03faf4811d94bdb01f3afa5a90f7d5506cd8422ec22839f77dc69db56e873b969b329c93524fd25e6d92e3d3a96591ac7d
+MISC ChangeLog 4021 SHA256 f77a9fd481695aeb2f03a66299f93cb315d98c82ce2f3c795ff83211b39e78a6 SHA512 0f7a196fea52adae9e273bef2cce572059159bee1f446ef18a6de69f67f25cec1208b7fbf60e34210e95adeaef469a8a40c479f111f1706d8687f77c5078a6b7 WHIRLPOOL 2e69e38d814ae6a95b894dd7baf9461d6b2845a3b939fd54325dc1b37089903650ee47609cc8cf780ef368161205ff7e27537d8747a720db6b2322209950d075
+MISC ChangeLog-2015 16602 SHA256 79ecdcc36855e383d16d8e92357bf27fb70fc26c284f6e1b3448a3feb115bf56 SHA512 481e6819f8e94686fdbc2015ae8287cfbaf76428277b564ec2898fab2fef18f0f8e58eb148461785428e319adf4369c13440f6bbfbd852f172a0209e0b4bcbab WHIRLPOOL 6cc53e8d0f02235b0b42fdfaf83166d364bc10c1f7c0e308a88b4a53da8b2eaa870c02fab7959a2410372de5c168adc6c0365daced09b5eae48eeab5ae0a3eb1
+MISC metadata.xml 389 SHA256 2e561ab9002dcee3adb307f753049b1e9d9eaf74fe6a733f48d1dedbb2b873ab SHA512 88ea0212fafc1b4cfa072502d6ea103bb2e3f232ee6879fc95736085b8b2f7fa765333fff19c11c2250d93cc71db9535d518beefc42195ce35c4bc8454fbc94b WHIRLPOOL df1a2081e05da07a39c48ca421fb10337646674d63432ab8fb6acc401cae6be648b176093659df3af0545ff27e142c249eae039a63e2a96296b293e601fdb8f8
diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild
new file mode 100644
index 000000000000..f45fec2b4936
--- /dev/null
+++ b/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib nsplugins unpacker
+
+if [ "${PV}" != "9999" ]; then
+ DEB_PATCH="1"
+ #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
+ MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
+ MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
+ SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
+ amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
+ KEYWORDS="-* ~amd64 ~x86"
+else
+ inherit cvs #hack to make it part of @live-rebuild
+ MY_URL="https://dl.google.com/linux/direct"
+ MY_PKG="${PN}_current_i386.deb"
+ SRC_URI=""
+fi
+
+DESCRIPTION="Video chat browser plug-in for Google Talk"
+
+HOMEPAGE="https://www.google.com/chat/video"
+IUSE="libnotify selinux"
+SLOT="0"
+
+#GoogleTalkPlugin binary contains openssl and celt
+LICENSE="Google-TOS openssl BSD"
+
+OBSOLETE="yes"
+[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
+
+RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
+ dev-libs/expat
+ dev-libs/glib:2
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango
+ sys-apps/lsb-release
+ selinux? ( sec-policy/selinux-googletalk )
+ libnotify? ( x11-libs/libnotify )"
+
+DEPEND=""
+
+INSTALL_BASE="opt/google/talkplugin"
+
+QA_PREBUILT="${INSTALL_BASE}/*"
+
+S="${WORKDIR}"
+
+LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl
+sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or
+ro sr th ur"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+# nofetch means upstream bumped and thus needs version bump
+pkg_nofetch() {
+ if [[ ${OBSOLETE} = yes ]]; then
+ elog "This version is no longer available from Google and the license prevents mirroring."
+ elog "This ebuild is intended for users who already downloaded it previously and have problems"
+ elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
+ use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
+ elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
+ elog "and copy the file ${MY_PKG} to ${DISTDIR}."
+ else
+ einfo "This version is no longer available from Google."
+ einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
+ einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)."
+ fi
+}
+
+src_unpack() {
+ local pkg="${A:=${MY_PKG}}"
+ if [ "${PV}" = "9999" ]; then
+ use amd64 && pkg="${pkg/i386/amd64}"
+ einfo "Fetching ${pkg}"
+ wget "${MY_URL}/${pkg}" || die
+ fi
+ unpacker ${pkg}
+}
+
+src_install() {
+ local plugindir i l
+ local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper
+ /usr/$(get_libdir)/chromium-browser/pepper )
+
+ unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
+ dodoc changelog.Debian
+
+ exeinto "/${INSTALL_BASE}"
+ doexe "${INSTALL_BASE}"/GoogleTalkPlugin
+ for i in "${INSTALL_BASE}"/lib*.so; do
+ doexe "${i}"
+ [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}"
+ if [[ ${i##*/} = libpp* ]] ; then
+ for plugindir in "${ppapi_plugindirs[@]}"; do
+ dosym "/${i}" "${plugindir}/${i##*/}"
+ done
+ fi
+ done
+
+ #install screen-sharing stuff - bug #397463
+ insinto "/${INSTALL_BASE}"
+ doins "${INSTALL_BASE}"/windowpicker.glade
+ doins "${INSTALL_BASE}"/remoting24x24.png
+ doins -r "${INSTALL_BASE}"/data
+
+ strip-linguas ${LANGS}
+ for l in ${LINGUAS}; do
+ insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/
+ doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo
+ done
+}
diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild
new file mode 100644
index 000000000000..8dbc242be50b
--- /dev/null
+++ b/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib nsplugins unpacker
+
+if [ "${PV}" != "9999" ]; then
+ DEB_PATCH="1"
+ #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
+ MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
+ MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
+ SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
+ amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
+ KEYWORDS="-* ~amd64 ~x86"
+else
+ inherit cvs #hack to make it part of @live-rebuild
+ MY_URL="https://dl.google.com/linux/direct"
+ MY_PKG="${PN}_current_i386.deb"
+ SRC_URI=""
+fi
+
+DESCRIPTION="Video chat browser plug-in for Google Talk"
+
+HOMEPAGE="https://www.google.com/chat/video"
+IUSE="libnotify selinux"
+SLOT="0"
+
+#GoogleTalkPlugin binary contains openssl and celt
+LICENSE="Google-TOS openssl BSD"
+
+OBSOLETE="no"
+[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
+
+RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
+ dev-libs/expat
+ dev-libs/glib:2
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango
+ sys-apps/lsb-release
+ selinux? ( sec-policy/selinux-googletalk )
+ libnotify? ( x11-libs/libnotify )"
+
+DEPEND=""
+
+INSTALL_BASE="opt/google/talkplugin"
+
+QA_PREBUILT="${INSTALL_BASE}/*"
+
+S="${WORKDIR}"
+
+LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl
+sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or
+ro sr th ur"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+# nofetch means upstream bumped and thus needs version bump
+pkg_nofetch() {
+ if [[ ${OBSOLETE} = yes ]]; then
+ elog "This version is no longer available from Google and the license prevents mirroring."
+ elog "This ebuild is intended for users who already downloaded it previously and have problems"
+ elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
+ use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
+ elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
+ elog "and copy the file ${MY_PKG} to ${DISTDIR}."
+ else
+ einfo "This version is no longer available from Google."
+ einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
+ einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)."
+ fi
+}
+
+src_unpack() {
+ local pkg="${A:=${MY_PKG}}"
+ if [ "${PV}" = "9999" ]; then
+ use amd64 && pkg="${pkg/i386/amd64}"
+ einfo "Fetching ${pkg}"
+ wget "${MY_URL}/${pkg}" || die
+ fi
+ unpacker ${pkg}
+}
+
+src_install() {
+ local plugindir i l
+ local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper
+ /usr/$(get_libdir)/chromium-browser/pepper )
+
+ unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
+ dodoc changelog.Debian
+
+ exeinto "/${INSTALL_BASE}"
+ doexe "${INSTALL_BASE}"/GoogleTalkPlugin
+ for i in "${INSTALL_BASE}"/lib*.so; do
+ doexe "${i}"
+ [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}"
+ if [[ ${i##*/} = libpp* ]] ; then
+ for plugindir in "${ppapi_plugindirs[@]}"; do
+ dosym "/${i}" "${plugindir}/${i##*/}"
+ done
+ fi
+ done
+
+ #install screen-sharing stuff - bug #397463
+ insinto "/${INSTALL_BASE}"
+ doins "${INSTALL_BASE}"/windowpicker.glade
+ doins "${INSTALL_BASE}"/remoting24x24.png
+ doins -r "${INSTALL_BASE}"/data
+
+ strip-linguas ${LANGS}
+ for l in ${LINGUAS}; do
+ insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/
+ doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo
+ done
+}
diff --git a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
new file mode 100644
index 000000000000..1c91a5e669a6
--- /dev/null
+++ b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib nsplugins unpacker
+
+if [ "${PV}" != "9999" ]; then
+ DEB_PATCH="1"
+ #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
+ MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
+ MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
+ SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
+ amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
+ KEYWORDS="-* ~amd64 ~x86"
+else
+ inherit cvs #hack to make it part of @live-rebuild
+ MY_URL="https://dl.google.com/linux/direct"
+ MY_PKG="${PN}_current_i386.deb"
+ SRC_URI=""
+fi
+
+DESCRIPTION="Video chat browser plug-in for Google Talk"
+
+HOMEPAGE="https://www.google.com/chat/video"
+IUSE="libnotify selinux"
+SLOT="0"
+
+#GoogleTalkPlugin binary contains openssl and celt
+LICENSE="Google-TOS openssl BSD"
+
+OBSOLETE="no"
+[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
+
+RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
+ dev-libs/expat
+ dev-libs/glib:2
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango
+ sys-apps/lsb-release
+ selinux? ( sec-policy/selinux-googletalk )
+ libnotify? ( x11-libs/libnotify )"
+
+DEPEND=""
+
+INSTALL_BASE="opt/google/talkplugin"
+
+QA_PREBUILT="${INSTALL_BASE}/*"
+
+S="${WORKDIR}"
+
+LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl
+sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or
+ro sr th ur"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+# nofetch means upstream bumped and thus needs version bump
+pkg_nofetch() {
+ if [[ ${OBSOLETE} = yes ]]; then
+ elog "This version is no longer available from Google and the license prevents mirroring."
+ elog "This ebuild is intended for users who already downloaded it previously and have problems"
+ elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
+ use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
+ elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
+ elog "and copy the file ${MY_PKG} to ${DISTDIR}."
+ else
+ einfo "This version is no longer available from Google."
+ einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
+ einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)."
+ fi
+}
+
+src_unpack() {
+ local pkg="${A:=${MY_PKG}}"
+ if [ "${PV}" = "9999" ]; then
+ use amd64 && pkg="${pkg/i386/amd64}"
+ einfo "Fetching ${pkg}"
+ wget "${MY_URL}/${pkg}" || die
+ fi
+ unpacker ${pkg}
+}
+
+src_install() {
+ local plugindir i l
+ local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper
+ /usr/$(get_libdir)/chromium-browser/pepper )
+
+ unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
+ dodoc changelog.Debian
+
+ exeinto "/${INSTALL_BASE}"
+ doexe "${INSTALL_BASE}"/GoogleTalkPlugin
+ for i in "${INSTALL_BASE}"/lib*.so; do
+ doexe "${i}"
+ [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}"
+ if [[ ${i##*/} = libpp* ]] ; then
+ for plugindir in "${ppapi_plugindirs[@]}"; do
+ dosym "/${i}" "${plugindir}/${i##*/}"
+ done
+ fi
+ done
+
+ #install screen-sharing stuff - bug #397463
+ insinto "/${INSTALL_BASE}"
+ doins "${INSTALL_BASE}"/windowpicker.glade
+ doins "${INSTALL_BASE}"/remoting24x24.png
+ doins -r "${INSTALL_BASE}"/data
+
+ strip-linguas ${LANGS}
+ for l in ${LINGUAS}; do
+ insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/
+ doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo
+ done
+}
diff --git a/www-plugins/google-talkplugin/metadata.xml b/www-plugins/google-talkplugin/metadata.xml
new file mode 100644
index 000000000000..01c7f29f34d2
--- /dev/null
+++ b/www-plugins/google-talkplugin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest
new file mode 100644
index 000000000000..84642b9de9fe
--- /dev/null
+++ b/www-plugins/lightspark/Manifest
@@ -0,0 +1,9 @@
+AUX lightspark-0.8.0-ffmpeg-free.patch 1213 SHA256 2dec331dc0fbbe5a44423a29df7e6c5c2f1cdc36aa59467b03cce1f69e62a27a SHA512 28946cc7dc4d0d440e977c403fef10f2766941fe53a4b92a87411c100664d4f1618b510af7a5f14ffcc5a6a9f2ee00df882be04ff4e11fc009f99840a97cfe1f WHIRLPOOL e1a896bec9e139f5563388677b6c40af1ba94beb81548dae53b39c998faa93aa147566af3feb87f8f5f4a37570646c620c64f29f91f53a92cc35b093aaba8279
+DIST lightspark-0.7.2_p20160107.tar.gz 1803064 SHA256 83b58db86e466e9a3acc33c7c1bbff284edb3f7fef377a3397ac26ac06cac22f SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 WHIRLPOOL 268f2a95758def3fb722daa6580e6c4ff5577eacdc27e82005ce7e0b51d55ae78fbc6ae5c1d839b4b21848a0d2a61b0b023f4741487fc042450a7a20bfee01bb
+DIST lightspark-0.8.0.tar.gz 1830071 SHA256 b0612a93bb16c0ab9ea5d516ee312607e14703d26ca917d037bb33e235ed4b25 SHA512 333de501caf5f5ed9c8581cfda5bf1e6e04170c90f1c2f6150c9c2343f9de20e140a041d066f693e406d24fa24e7a5c3464675a583f4a5c104f5214ebee072b9 WHIRLPOOL 4ba1e18a9196823603146ce178914c5778a6eac045b994afbbe388cb945612bb5bab8072a77bfe0b647aeff614f3f4d8b34161c118fe9102745f2ba26c102e00
+EBUILD lightspark-0.7.2_p20160107.ebuild 3010 SHA256 c22c2e1afb31769b638794c509e940ab7b8d9e06260e55061ac6693bcf7c9006 SHA512 aee936f6d6c12f2f965c10e9c0b90a3ddaeba3e89e4a5a47e8a61d4758f16c237513bf63471e831959d2808946fd31944b22641f0d8ed9676b33e956da8a437c WHIRLPOOL 7b5d709f25d76a3282a63fa4a8e6a37c455715c2385bfcd2cacdbab5f328ea0288ec688d9f04656559e790ea83ec3ca72ff687fe0651f0c2e1f919d9d354d0db
+EBUILD lightspark-0.8.0.ebuild 2983 SHA256 7d7e50de890cd9097440988a94e248b92a413758a2d821d1b628545ec33b6b16 SHA512 a7ad8491eac0ad5299715b43dd5780dd52c18f5266889ca3767bf58b22dda3b0c672e23922406e8482343de4c052c0964171251849861645053a2b1dd481d025 WHIRLPOOL e43eac3b53e645649cd5ec39444af9a2147885c723b3bb8039cf3aab2968b8ba0d7826cf95940fff9a4a57802d03a0e5cfbd513ea5a0ed5e92d1239b1770825f
+EBUILD lightspark-9999.ebuild 2923 SHA256 3cf93de3f866fa05746384945152902e62a5743dc0f3e1b60b37ef81de4853fe SHA512 d08f1553943d7850df97e941f694bbc5ef92b05ed12a1572834a51f35a5f5c4a8b5f279ac6c0977f8f1cf8220e13512e359be4af45a898f006f8cd1496bdd6e3 WHIRLPOOL bf452859aed234869858808d0d18434df14b734752b858a9d6e536053742e531e3978d6b7d6183827647c9a383024d72974ef4060f3ca7da260b30df7a600baf
+MISC ChangeLog 3627 SHA256 0fa257651b54aac6cc2845343aa2ca7127b29e79aef22e45effd1ee660021b8a SHA512 521117a4193610758ef14a3c630b62fd0cd9eab1a824f4e6776a2c96147c4fb00090c71d59fe4d05f7f363827fdae7ba4dd01dd4fc043b35a8c8fcf5149955c6 WHIRLPOOL 8ece284e477c8da71dac4018a31b969db0ee7e7f0754b51e7963e977bf5b275a2a24cf1ce69a0ecb12d51666f3c8d6f032772db8f4f68491df004b3c648c19ad
+MISC ChangeLog-2015 12738 SHA256 459494382d917f9346a4855a9ff2350b21c38290678ab4c278f814a8d9f15cd0 SHA512 ab22828762b584ec213426f2f19a13b194bd14c0d4877c7c4529a2fc733292f653194c32164638dcc27fee1738ae26ddf03001b044f5d8036821da631189d78f WHIRLPOOL 34e9828d45c07cbe10b0a87a3f18ff247c5c5792131556352549d9c226ed3e65f5bd9f7e93bcfdd62783f5659b647684b5e92e2ccbf71e8f7c2f575a190b66c7
+MISC metadata.xml 799 SHA256 664d792acfc214ea410b3de1cc8e2afa812b198df5d666a672d9a856800245e7 SHA512 baa701313b4066fe50b7f34551800c73e2f90bd704581d9c39166fcb339a571a414fee07bdf9c2347137f031c63a44133b2e373821a88435a5d64f763bf6cb59 WHIRLPOOL e4158858bf6adec89c1043d44400cf220aa185d39265a0e805b457f663b729d521da63aa65b8861aad9c669cfb5d3fd971c3dfc1acf125fc5e3597a136bf82d9
diff --git a/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch b/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch
new file mode 100644
index 000000000000..76566e6be792
--- /dev/null
+++ b/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch
@@ -0,0 +1,31 @@
+From 22a85a13a5c3ded942ef59522ad399eb5d9a58d9 Mon Sep 17 00:00:00 2001
+From: Mikhail Vorobyov <vorobyov.mikhail@gmail.com>
+Date: Tue, 18 Jul 2017 23:46:37 +0300
+Subject: [PATCH] Add NullVideoDecoder::switchCodec
+
+Add VideoDecoder::switchCodec implementation to NullVideoDecoder to fix
+ffmpeg-free build.
+---
+ src/backends/decoder.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/backends/decoder.h b/src/backends/decoder.h
+index 069543d0..f53288bd 100644
+--- a/src/backends/decoder.h
++++ b/src/backends/decoder.h
+@@ -140,6 +140,7 @@ class NullVideoDecoder: public VideoDecoder
+ public:
+ NullVideoDecoder() {status=VALID;}
+ ~NullVideoDecoder() { while(fenceCount); }
++ void switchCodec(LS_VIDEO_CODEC codecId, uint8_t* initdata, uint32_t datalen, double frameRateHint){};
+ bool decodeData(uint8_t* data, uint32_t datalen, uint32_t time){return false;}
+ bool discardFrame(){return false;}
+ void skipUntil(uint32_t time){}
+@@ -305,6 +306,7 @@ class NullAudioDecoder: public AudioDecoder
+ sampleRate=44100;
+ channelCount=2;
+ }
++ void switchCodec(LS_AUDIO_CODEC codecId, uint8_t* initdata, uint32_t datalen){};
+ uint32_t decodeData(uint8_t* data, int32_t datalen, uint32_t time){return 0;}
+ };
+
diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild
new file mode 100644
index 000000000000..9e297057383e
--- /dev/null
+++ b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils nsplugins vcs-snapshot toolchain-funcs
+
+DESCRIPTION="High performance flash player"
+HOMEPAGE="http://lightspark.github.io/"
+SRC_URI="https://github.com/lightspark/lightspark/archive/308241eb55c5379765033e60f28dfdd956c7abcd.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp"
+
+# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work:
+# https://gitlab.kitware.com/cmake/cmake/issues/16606
+RDEPEND="app-arch/xz-utils:0=
+ dev-cpp/glibmm:2=
+ >=dev-libs/boost-1.42:0=
+ dev-libs/glib:2=
+ dev-libs/libpcre:3=[cxx]
+ media-fonts/liberation-fonts
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ media-libs/libsdl2:0=
+ media-libs/sdl2-mixer:0=
+ >=sys-devel/gcc-4.6.0:*[cxx]
+ <sys-devel/llvm-4:0=
+ >=sys-devel/llvm-3.4:0=
+ sys-libs/zlib:0=
+ x11-libs/cairo:0=
+ x11-libs/gtk+:2=
+ x11-libs/libX11:0=
+ x11-libs/pango:0=
+ virtual/jpeg:0=
+ curl? ( net-misc/curl:0= )
+ ffmpeg? (
+ libav? ( media-video/libav:0= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ gles? ( media-libs/mesa:0=[gles2] )
+ !gles? (
+ >=media-libs/glew-1.5.3:0=
+ virtual/opengl:0=
+ )
+ rtmp? ( media-video/rtmpdump:0= )"
+DEPEND="${RDEPEND}
+ amd64? ( dev-lang/nasm )
+ x86? ( dev-lang/nasm )
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P/_rc*/}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.6.0"
+ die "You need at least sys-devel/gcc-4.6.0"
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_GLES2=$(usex gles)
+ -DENABLE_LIBAVCODEC=$(usex ffmpeg)
+ -DENABLE_RTMP=$(usex rtmp)
+
+ -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile)
+ -DENABLE_PROFILING=$(usex profile)
+ -DENABLE_SSE2=$(usex cpu_flags_x86_sse2)
+
+ -DCOMPILE_PLUGIN=$(usex nsplugin)
+ -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins
+ # TODO: install /etc/chromium file? block adobe-flash?
+ -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi)
+ -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
+}
+
+pkg_postinst() {
+ if use nsplugin && ! has_version www-plugins/gnash; then
+ elog "Lightspark now supports gnash fallback for its browser plugin."
+ elog "Install www-plugins/gnash to take advantage of it."
+ fi
+ if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then
+ elog "Having two plugins installed for the same MIME type may confuse"
+ elog "Mozilla based browsers. It is recommended to disable the nsplugin"
+ elog "USE flag for either gnash or lightspark. For details, see"
+ elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
+ fi
+}
diff --git a/www-plugins/lightspark/lightspark-0.8.0.ebuild b/www-plugins/lightspark/lightspark-0.8.0.ebuild
new file mode 100644
index 000000000000..1a71cb2ec2d8
--- /dev/null
+++ b/www-plugins/lightspark/lightspark-0.8.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils nsplugins vcs-snapshot toolchain-funcs
+
+DESCRIPTION="High performance flash player"
+HOMEPAGE="http://lightspark.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp"
+
+# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work:
+# https://gitlab.kitware.com/cmake/cmake/issues/16606
+RDEPEND="app-arch/xz-utils:0=
+ dev-cpp/glibmm:2=
+ >=dev-libs/boost-1.42:0=
+ dev-libs/glib:2=
+ dev-libs/libpcre:3=[cxx]
+ media-fonts/liberation-fonts
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ media-libs/libsdl2:0=
+ media-libs/sdl2-mixer:0=
+ >=sys-devel/gcc-4.6.0:*[cxx]
+ >=sys-devel/llvm-3.4:0=
+ sys-libs/zlib:0=
+ x11-libs/cairo:0=
+ x11-libs/gtk+:2=
+ x11-libs/libX11:0=
+ x11-libs/pango:0=
+ virtual/jpeg:0=
+ curl? ( net-misc/curl:0= )
+ ffmpeg? (
+ libav? ( media-video/libav:0= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ gles? ( media-libs/mesa:0=[gles2] )
+ !gles? (
+ >=media-libs/glew-1.5.3:0=
+ virtual/opengl:0=
+ )
+ rtmp? ( media-video/rtmpdump:0= )"
+DEPEND="${RDEPEND}
+ amd64? ( dev-lang/nasm )
+ x86? ( dev-lang/nasm )
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P/_rc*/}
+
+PATCHES=( "${FILESDIR}"/${P}-ffmpeg-free.patch )
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.6.0"
+ die "You need at least sys-devel/gcc-4.6.0"
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_GLES2=$(usex gles)
+ -DENABLE_LIBAVCODEC=$(usex ffmpeg)
+ -DENABLE_RTMP=$(usex rtmp)
+
+ -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile)
+ -DENABLE_PROFILING=$(usex profile)
+ -DENABLE_SSE2=$(usex cpu_flags_x86_sse2)
+
+ -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin)
+ -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins
+ # TODO: install /etc/chromium file? block adobe-flash?
+ -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi)
+ -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
+}
+
+pkg_postinst() {
+ if use nsplugin && ! has_version www-plugins/gnash; then
+ elog "Lightspark now supports gnash fallback for its browser plugin."
+ elog "Install www-plugins/gnash to take advantage of it."
+ fi
+ if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then
+ elog "Having two plugins installed for the same MIME type may confuse"
+ elog "Mozilla based browsers. It is recommended to disable the nsplugin"
+ elog "USE flag for either gnash or lightspark. For details, see"
+ elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
+ fi
+}
diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
new file mode 100644
index 000000000000..435e878ed31e
--- /dev/null
+++ b/www-plugins/lightspark/lightspark-9999.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils git-r3 nsplugins toolchain-funcs
+
+DESCRIPTION="High performance flash player"
+HOMEPAGE="http://lightspark.github.io/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/lightspark/lightspark"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp"
+
+# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work:
+# https://gitlab.kitware.com/cmake/cmake/issues/16606
+RDEPEND="app-arch/xz-utils:0=
+ dev-cpp/glibmm:2=
+ >=dev-libs/boost-1.42:0=
+ dev-libs/glib:2=
+ dev-libs/libpcre:3=[cxx]
+ media-fonts/liberation-fonts
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ media-libs/libsdl2:0=
+ media-libs/sdl2-mixer:0=
+ >=sys-devel/gcc-4.6.0:*[cxx]
+ >=sys-devel/llvm-3.4:0=
+ sys-libs/zlib:0=
+ x11-libs/cairo:0=
+ x11-libs/gtk+:2=
+ x11-libs/libX11:0=
+ x11-libs/pango:0=
+ virtual/jpeg:0=
+ curl? ( net-misc/curl:0= )
+ ffmpeg? (
+ libav? ( media-video/libav:0= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ gles? ( media-libs/mesa:0=[gles2] )
+ !gles? (
+ >=media-libs/glew-1.5.3:0=
+ virtual/opengl:0=
+ )
+ rtmp? ( media-video/rtmpdump:0= )"
+DEPEND="${RDEPEND}
+ amd64? ( dev-lang/nasm )
+ x86? ( dev-lang/nasm )
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P/_rc*/}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.6.0"
+ die "You need at least sys-devel/gcc-4.6.0"
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_GLES2=$(usex gles)
+ -DENABLE_LIBAVCODEC=$(usex ffmpeg)
+ -DENABLE_RTMP=$(usex rtmp)
+
+ -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile)
+ -DENABLE_PROFILING=$(usex profile)
+ -DENABLE_SSE2=$(usex cpu_flags_x86_sse2)
+
+ -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin)
+ -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins
+ # TODO: install /etc/chromium file? block adobe-flash?
+ -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi)
+ -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
+}
+
+pkg_postinst() {
+ if use nsplugin && ! has_version www-plugins/gnash; then
+ elog "Lightspark now supports gnash fallback for its browser plugin."
+ elog "Install www-plugins/gnash to take advantage of it."
+ fi
+ if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then
+ elog "Having two plugins installed for the same MIME type may confuse"
+ elog "Mozilla based browsers. It is recommended to disable the nsplugin"
+ elog "USE flag for either gnash or lightspark. For details, see"
+ elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
+ fi
+}
diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml
new file mode 100644
index 000000000000..a6132373a429
--- /dev/null
+++ b/www-plugins/lightspark/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="gles">Replace default OpenGL renderer with GLESv2</flag>
+ <flag name="ppapi">Install the PPAPI plugin (for Chromium)</flag>
+ <flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">lightspark/lightspark</remote-id>
+ <remote-id type="launchpad">lightspark</remote-id>
+ <remote-id type="sourceforge">lightspark</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-plugins/metadata.xml b/www-plugins/metadata.xml
new file mode 100644
index 000000000000..b10aa1dfd1d1
--- /dev/null
+++ b/www-plugins/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+<longdescription lang="en">
+ The www-plugins category contains plug-ins for Web browsers.
+</longdescription>
+<longdescription lang="de">
+ Die Kategorie www-plugins enthält Plug-ins für Webbrowser.
+</longdescription>
+<longdescription lang="es">
+ La categoría www-plugins contiene plug-ins para navegadores Web.
+</longdescription>
+<longdescription lang="fr">
+ La catégorie www-plugins contient des plugins pour navigateurs Web.
+</longdescription>
+<longdescription lang="it">
+ La categoria www-plugins contiene plugins per i browser web.
+</longdescription>
+<longdescription lang="nl">
+ De www-plugins categorie bevat webbrowserplugins.
+</longdescription>
+<longdescription lang="pl">
+ Kategoria www-plugins zawiera wtyczki dla przeglądarek internetowych.
+</longdescription>
+<longdescription lang="pt">
+ A categoria www-plugins contém plugins para navegadores da Web.
+</longdescription>
+</catmetadata>
diff --git a/www-plugins/mozplugger/Manifest b/www-plugins/mozplugger/Manifest
new file mode 100644
index 000000000000..cbd6c5c16a21
--- /dev/null
+++ b/www-plugins/mozplugger/Manifest
@@ -0,0 +1,5 @@
+DIST mozplugger-2.1.6.tar.gz 153183 SHA256 294cf06ad37b8d89e57ee9c4dc9e7549fd1b0dcec9769171d65dad36099e5fef SHA512 4585986de5ee7eb66c168e784606ac273197d5d8f8ebfe683c9eb63de2c4457f2f5403dc140555a6a262ff3abfd194e58ac5fa77a58f199c44d23f851b57612e WHIRLPOOL 012928ce867dafb0fb01fd3ffbe916bd25b98689c44472699e1c68b7e5d1bae6e846576e70d266fd5e42233727b56f61d44afd86dd8ed9d722fed0a9c2f342f7
+EBUILD mozplugger-2.1.6.ebuild 612 SHA256 ca0ca8e3058395fb5c7ee5887a3e35c5a5ddf0784097f7c09684b7c331fcffac SHA512 bf1852d606426e0ba9161c85eca818ded67a17c1ea547df6ea49992b228cda99da293a3a34ed84e6c4839d3f6b99913bf08848154213f3251db79e351aa499b4 WHIRLPOOL 293d65f45627538b3a9b396cc9b47b2776095143ab6a411803903297cab64a52e026eb6bb9ec41dc73f9cc249da8f4018d87ea5293ec457302de07f847e60262
+MISC ChangeLog 2188 SHA256 0232a405cb4fb39e6c7650fc87f74342ca2f8af2fe9808cb09276d0a499c1377 SHA512 120f0ec684897cb304785e5ddf150a212b8e884d5c47cad9a78db4332af17335a19ecf74c10b3c390fe2c35d1dc94be844a0ea620f331828704bac84cc6fcba9 WHIRLPOOL 9087a1209aa8c74e27b67acdf610452927e80d04ea050a591019bbf39902aca3dff840ab12ea81e3347b77be0992e35d9f86ba30e6e1c685949412b4ff2c4f91
+MISC ChangeLog-2015 359 SHA256 04638187b31ac14218f80d4bce8f5b7d7c986e1fbdbc8ad16f3fd4a05faddf3d SHA512 d66356d0e16aa0dd92afcb6b6e51683e296dfb8d9585898fcb5e40efe24566791f749b802f6e60a2cd5f716d7929d22f984fab700b4a7bb62d1217b721b14779 WHIRLPOOL 5e98b9f4bcd0881c2e5ae2d6a9b985c0388de4ffe4f7dd39e86003b56da996bbecb5bdb7b890b0d936902f91634fa2252dbef6f1840862fff7e1f101b471de28
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/www-plugins/mozplugger/metadata.xml b/www-plugins/mozplugger/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/www-plugins/mozplugger/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-plugins/mozplugger/mozplugger-2.1.6.ebuild b/www-plugins/mozplugger/mozplugger-2.1.6.ebuild
new file mode 100644
index 000000000000..19b987ebaae3
--- /dev/null
+++ b/www-plugins/mozplugger/mozplugger-2.1.6.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Streaming media plugin for Mozilla, based on netscape-plugger"
+HOMEPAGE="http://mozplugger.mozdev.org/"
+SRC_URI="http://${PN}.mozdev.org/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dobin ${PN}-{helper,controller,linker,update}
+
+ insinto /etc
+ doins ${PN}rc
+
+ insinto /usr/$(get_libdir)/nsbrowser/plugins
+ doins ${PN}.so
+
+ doman ${PN}.7
+ dodoc ChangeLog README
+}
diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
new file mode 100644
index 000000000000..e806d3232bd4
--- /dev/null
+++ b/www-plugins/pdfjs/Manifest
@@ -0,0 +1,3 @@
+DIST pdfjs-1.9.426.zip 3510568 SHA256 00998c3b731382106e1f3a48ab15dce6714015573f76027c6b178fccf99f286c SHA512 4c6a7ac613755a73d694a80ccea0d0d3d100fb0c7039ae5d866059d39e58b650092a733c7bea6d302cfa196f439d28f59055443ab96443161d1770462d8976ef WHIRLPOOL 6b0b769e8cfff9c82a37e03ff06d5f9d6b5601c8ce25a5db2e10c7a34fc9fe23710d15b209346aea33221248eaa42bd6e554e8f290b0cc0b8157230800264ae2
+EBUILD pdfjs-1.9.426.ebuild 469 SHA256 6f43e577361ce04c5c7723242d35635aab9feb0680b965f339b1ed0b02eb16f5 SHA512 a98b00702b27b64796a533ccf08689848fa32694e3e1811b449b23c303c1f92591ebc2ceb06e0a0052c0d9e5dbe60f655e64c6db61c92eec7461489ee3868de8 WHIRLPOOL 4d6014e08b2a70a8073fa840ba9fe70d6ab5808af7634e98df3267623507ba1b5356ad8c1f857dc80da026973a3280ffa7b7aac16d74c3f8c79e8ca87dd51db0
+MISC metadata.xml 462 SHA256 886ea6848012a4a31526dbd8250d7adfc972e82fca8e6319a44c66643930a8ad SHA512 e82f3171eb5eadbcd71b2804a341a193afe69c8bbec9bf5399b5321a92bf543aa938bfa94e89e84a9d2514211608f02ff91a3461f647f623ca6430c7c427895f WHIRLPOOL 9c15014ddb49efeeef371dd9312a49b1648f2f9aeec3ae62937ec00585d832667e370018a2e77e1583074d3b3f42a3f656bfd5390dd03207083cb0af1892425e
diff --git a/www-plugins/pdfjs/metadata.xml b/www-plugins/pdfjs/metadata.xml
new file mode 100644
index 000000000000..1ce0d7605336
--- /dev/null
+++ b/www-plugins/pdfjs/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hilobakho@gmail.com</email>
+ <name>Mykyta Holubakha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mozilla/pdf.js</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-plugins/pdfjs/pdfjs-1.9.426.ebuild b/www-plugins/pdfjs/pdfjs-1.9.426.ebuild
new file mode 100644
index 000000000000..4c12535dad2d
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-1.9.426.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A PDF reader in JavaScript"
+HOMEPAGE="http://mozilla.github.io/pdf.js/"
+SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/pdf.js/
+
+ doins -r build
+ doins -r web
+}