Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: x11-plugins/enigmail/
Date: Mon, 24 Jul 2017 13:40:10
Message-Id: 1500903578.283f718dc0da4cf9a8a18b480da55905c45b7799.anarchy@gentoo
1 commit: 283f718dc0da4cf9a8a18b480da55905c45b7799
2 Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 24 13:39:38 2017 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 24 13:39:38 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=283f718d
7
8 x11-plugins/enigmail: version bump to 1.9.8.1
9
10 x11-plugins/enigmail/Manifest | 1 +
11 x11-plugins/enigmail/enigmail-1.9.8.1.ebuild | 56 ++++++++++++++++++++++++++++
12 2 files changed, 57 insertions(+)
13
14 diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
15 new file mode 100644
16 index 0000000..b50bc14
17 --- /dev/null
18 +++ b/x11-plugins/enigmail/Manifest
19 @@ -0,0 +1 @@
20 +DIST enigmail-1.9.8.1.tar.gz 1776673 SHA256 4bcf2da00d96a67921b24dbec9f43930cba41112a2cd241b0952eb573c648a4d SHA512 af280040e96eb69529e723e52e65621e42743c974b0ed42598e73458004f0a59688da7257d2b556e95a56c4cad3ac48f527d4d9a7a54c9c92eaff132257e0cfd WHIRLPOOL 077c61b996c2ec45ecc3a037b61d167acda2ebdbde6536e2f2f2e180a064c9e540e09b48417454aa48f02af5f4c58c88f4ba456e6c5f113cfe474f2b82798ac0
21
22 diff --git a/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild b/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild
23 new file mode 100644
24 index 0000000..6f84834
25 --- /dev/null
26 +++ b/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild
27 @@ -0,0 +1,56 @@
28 +# Copyright 1999-2017 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +PYTHON_COMPAT=( python2_7 )
33 +
34 +inherit python-any-r1
35 +
36 +DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
37 +HOMEPAGE="http://www.enigmail.net/"
38 +
39 +KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
40 +SLOT="0"
41 +LICENSE="MPL-2.0 GPL-3"
42 +IUSE=""
43 +SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
44 +
45 +RDEPEND="|| (
46 + ( >=app-crypt/gnupg-2.0
47 + || (
48 + app-crypt/pinentry[gtk(-)]
49 + app-crypt/pinentry[qt4(-)]
50 + app-crypt/pinentry[qt5(-)]
51 + )
52 + )
53 + =app-crypt/gnupg-1.4*
54 + )"
55 +DEPEND="${RDEPEND}
56 + ${PYTHON_DEPS}
57 + app-arch/zip
58 + dev-lang/perl
59 + "
60 +
61 +S="${WORKDIR}/${PN}"
62 +
63 +src_compile() {
64 + emake ipc public ui package lang
65 + emake xpi
66 +
67 +}
68 +
69 +src_install() {
70 + insinto /usr/share/${PN}
71 + doins -r build/dist/{chrome,components,defaults,modules,wrappers,chrome.manifest,install.rdf}
72 +}
73 +
74 +pkg_postinst() {
75 + local peimpl=$(eselect --brief --colour=no pinentry show)
76 + case "${peimpl}" in
77 + *gtk*|*qt*) ;;
78 + *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
79 + ewarn "You may be prompted for your password in an inaccessible shell!!"
80 + ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
81 + ;;
82 + esac
83 +}