summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/pkg_desc_index1
-rw-r--r--www-plugins/google-translation/Manifest1
-rw-r--r--www-plugins/google-translation/google-translation-2.6.ebuild19
-rw-r--r--www-plugins/google-translation/metadata.xml8
4 files changed, 29 insertions, 0 deletions
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 737a568c..68535bf4 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -116,6 +116,7 @@ www-plugins/classic-theme-restorer 1.7.0: Firefox plugin: restore partially the
www-plugins/duckduckgo 1.1.22: Firefox plugin: enable duckduckgo search engine
www-plugins/epubreader 1.5.0.12 2.0.5: Firefox plugin for ebook (.epub) files
www-plugins/form-history-control 1.4.0.6: Edit the saved history of forms in mozilla
+www-plugins/google-translation 2.6: Firefox webextension: translate the selected text with www.linguee.com
www-plugins/locale-switcher 3-r1: Firefox plugin: button to switch GUI locale
www-plugins/noscript 2.9.0.14 5.0.10: Mozilla plugin: Restrict active contents like java/javascript/flash
www-plugins/requestpolicy 0.5.28-r1: Mozilla plugin: controll cross-site requests (increases privacy/security)
diff --git a/www-plugins/google-translation/Manifest b/www-plugins/google-translation/Manifest
new file mode 100644
index 00000000..6c6df6f6
--- /dev/null
+++ b/www-plugins/google-translation/Manifest
@@ -0,0 +1 @@
+DIST google_translation-2.6-an+fx.xpi 15349 SHA256 1cadd4d685ae884bb6fe01893a0b139910e853ba45d11b08eae6d3e04c7604cb SHA512 b781a1ef0446b24c7aad36cb025ee7a28994c89862f1cd0479d6a051c5f53dc37c2887dbdbacedeb8d114dafa8db004c6cbb6dc25dbbc69377df57b9a7ab605f
diff --git a/www-plugins/google-translation/google-translation-2.6.ebuild b/www-plugins/google-translation/google-translation-2.6.ebuild
new file mode 100644
index 00000000..d951a5d6
--- /dev/null
+++ b/www-plugins/google-translation/google-translation-2.6.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit mv_mozextension-r1
+RESTRICT="mirror"
+
+DESCRIPTION="Firefox webextension: translate to your native language a selected text"
+HOMEPAGE="https://addons.mozilla.org/en-US/firefox/addon/google-translation/"
+SRC_URI="https://addons.cdn.mozilla.net/user-media/addons/727175/${PN//-/_}-${PV}-an+fx.xpi"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+INSTALL_ID='gtranslation2@slam.com'
+
+moz_defaults -i"${INSTALL_ID}" firefox seamonkey
diff --git a/www-plugins/google-translation/metadata.xml b/www-plugins/google-translation/metadata.xml
new file mode 100644
index 00000000..b919c846
--- /dev/null
+++ b/www-plugins/google-translation/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>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+</pkgmetadata>