Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/
Date: Tue, 04 Sep 2018 20:49:57
Message-Id: 1536094157.96ec942ff1cbe48d98bb7f9b92fe5cf061b165d9.asturm@gentoo
1 commit: 96ec942ff1cbe48d98bb7f9b92fe5cf061b165d9
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Thu Aug 30 23:07:31 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 4 20:49:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ec942f
7
8 www-plugins/passff: Bump to 1.5.1
9
10 Closes: https://github.com/gentoo/gentoo/pull/9740
11
12 www-plugins/passff/Manifest | 1 +
13 www-plugins/passff/passff-1.5.1.ebuild | 39 ++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
17 index 020445e5515..eb836493b17 100644
18 --- a/www-plugins/passff/Manifest
19 +++ b/www-plugins/passff/Manifest
20 @@ -1 +1,2 @@
21 DIST passff-1.3-an+fx-linux.xpi 59512 BLAKE2B 48eb41e8be2e090aa32137fe93eb6cb7a22218f865f1ade4e6f4516ea3fedc34333f43438fd7c96817ec695ca1d0ced9cff0dd53157e06442e000c12a4bff33c SHA512 d5e5c29fda852c08908ce27e55bb2cd3daaacedf4f1375eb626cf4228d9b8c5113d2210578d80420c1df3846cbb948c184702274ece851c9e8279000e38989a6
22 +DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e SHA512 23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7
23
24 diff --git a/www-plugins/passff/passff-1.5.1.ebuild b/www-plugins/passff/passff-1.5.1.ebuild
25 new file mode 100644
26 index 00000000000..8e1bdf3fe70
27 --- /dev/null
28 +++ b/www-plugins/passff/passff-1.5.1.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit mozextension
36 +
37 +DESCRIPTION="zx2c4 pass manager extension for Firefox"
38 +HOMEPAGE="https://github.com/passff/passff"
39 +SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1056515/passff-1.5.1-an+fx-linux.xpi"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="firefox firefox-bin"
45 +
46 +RDEPEND="www-plugins/passff-host[firefox]"
47 +REQUIRED_USE="|| ( firefox firefox-bin )"
48 +
49 +S="${WORKDIR}"
50 +
51 +MY_XPINAME="passff-1.5.1-an+fx-linux"
52 +
53 +src_unpack() {
54 + xpi_unpack "${MY_XPINAME}.xpi"
55 +}
56 +
57 +src_install() {
58 + local MOZILLA_FIVE_HOME
59 + if use firefox; then
60 + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
61 + xpi_install "${MY_XPINAME}"
62 + fi
63 +
64 + if use firefox-bin; then
65 + MOZILLA_FIVE_HOME="/opt/firefox"
66 + xpi_install "${MY_XPINAME}"
67 + fi
68 +}