Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/enigmail/
Date: Thu, 09 Mar 2017 01:16:53
Message-Id: 1489021382.4fb9b596f42e1eff4b04bc1e1d35d228f6289e48.axs@gentoo
1 commit: 4fb9b596f42e1eff4b04bc1e1d35d228f6289e48
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 9 01:03:02 2017 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 9 01:03:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fb9b596
7
8 x11-plugins/enigmail: reintroducing the standalone package.
9
10 Enigmail is now installed to a central location to allow thunderbird, seamonkey
11 and any future package that may be able to use it, to symlink it into their
12 extensions subdirectory.
13
14 Package-Manager: portage-2.3.3
15
16 x11-plugins/enigmail/Manifest | 1 +
17 x11-plugins/enigmail/enigmail-1.9.6.1.ebuild | 57 ++++++++++++++++++++++++++++
18 x11-plugins/enigmail/metadata.xml | 8 ++++
19 3 files changed, 66 insertions(+)
20
21 diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
22 new file mode 100644
23 index 00000000000..b59cef1fdff
24 --- /dev/null
25 +++ b/x11-plugins/enigmail/Manifest
26 @@ -0,0 +1 @@
27 +DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84 WHIRLPOOL e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48
28
29 diff --git a/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild b/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild
30 new file mode 100644
31 index 00000000000..a1e99ccd097
32 --- /dev/null
33 +++ b/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild
34 @@ -0,0 +1,57 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +PYTHON_COMPAT=( python2_7 )
41 +
42 +inherit python-any-r1
43 +
44 +DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
45 +HOMEPAGE="http://www.enigmail.net/"
46 +
47 +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
48 +SLOT="0"
49 +LICENSE="MPL-2.0 GPL-3"
50 +IUSE=""
51 +SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
52 +
53 +RDEPEND="|| (
54 + ( >=app-crypt/gnupg-2.0
55 + || (
56 + app-crypt/pinentry[gtk(-)]
57 + app-crypt/pinentry[qt4(-)]
58 + app-crypt/pinentry[qt5(-)]
59 + )
60 + )
61 + =app-crypt/gnupg-1.4*
62 + )"
63 +DEPEND="${RDEPEND}
64 + ${PYTHON_DEPS}
65 + app-arch/zip
66 + dev-lang/perl
67 + "
68 +
69 +S="${WORKDIR}/${PN}"
70 +
71 +src_compile() {
72 + emake ipc public ui package lang
73 + emake xpi
74 +
75 +}
76 +
77 +src_install() {
78 + insinto /usr/share/${PN}
79 + doins -r build/dist/{chrome,components,defaults,modules,wrappers,chrome.manifest,install.rdf}
80 +}
81 +
82 +pkg_postinst() {
83 + local peimpl=$(eselect --brief --colour=no pinentry show)
84 + case "${peimpl}" in
85 + *gtk*|*qt*) ;;
86 + *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
87 + ewarn "You may be prompted for your password in an inaccessible shell!!"
88 + ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
89 + ;;
90 + esac
91 +}
92
93 diff --git a/x11-plugins/enigmail/metadata.xml b/x11-plugins/enigmail/metadata.xml
94 new file mode 100644
95 index 00000000000..d9b367ed3b9
96 --- /dev/null
97 +++ b/x11-plugins/enigmail/metadata.xml
98 @@ -0,0 +1,8 @@
99 +<?xml version="1.0" encoding="UTF-8"?>
100 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 +<pkgmetadata>
102 +<maintainer type="project">
103 + <email>mozilla@g.o</email>
104 + <name>Gentoo Mozilla Team</name>
105 +</maintainer>
106 +</pkgmetadata>