Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/
Date: Thu, 30 May 2019 14:31:07
Message-Id: 1559226642.d74fea75f42233e9d63fcbea51b9b4786fa054da.mgorny@gentoo
1 commit: d74fea75f42233e9d63fcbea51b9b4786fa054da
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sun Apr 21 09:48:29 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 30 14:30:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74fea75
7
8 www-plugins/passff: Bump to 1.8
9
10 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 www-plugins/passff/Manifest | 1 +
14 www-plugins/passff/passff-1.8.ebuild | 30 ++++++++++++++++++++++++++++++
15 2 files changed, 31 insertions(+)
16
17 diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
18 index e1dfb70e122..28b0246c1d9 100644
19 --- a/www-plugins/passff/Manifest
20 +++ b/www-plugins/passff/Manifest
21 @@ -1 +1,2 @@
22 DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a SHA512 83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5
23 +DIST passff-1.8-fx.xpi 72678 BLAKE2B d5ec67fff396d62960fbf813ab9d8f6086028a282bab78aa4dc6e63132e723ce4b1bb6d05015d3934fabbd37460d04f7626043b97fd29c5c72486754ef14e111 SHA512 5500e7439d5eda3481eaa405abaef5b846f4f29b5fee4dffc49084b2ce658f9e13e4ced747a28d368892034921a556e3a989c1f8682365cdab787e41913c8250
24
25 diff --git a/www-plugins/passff/passff-1.8.ebuild b/www-plugins/passff/passff-1.8.ebuild
26 new file mode 100644
27 index 00000000000..8a9894c396e
28 --- /dev/null
29 +++ b/www-plugins/passff/passff-1.8.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 2018-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +MY_XPINAME="${P}-fx"
37 +
38 +DESCRIPTION="zx2c4 pass manager extension for Firefox"
39 +HOMEPAGE="https://github.com/passff/passff"
40 +SRC_URI="https://addons.mozilla.org/firefox/downloads/file/2983533/${MY_XPINAME}.xpi"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +RDEPEND="www-plugins/passff-host[firefox]"
48 +
49 +S="${WORKDIR}"
50 +
51 +src_unpack() {
52 + cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
53 +}
54 +
55 +src_install() {
56 + # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
57 + insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
58 + # passff@×××××××.pro is the extension id found in the manifest.json
59 + newins "${MY_XPINAME}.xpi" "passff@×××××××××××.xpi"
60 +}