commit:     5527f47d6279a32a5ae974a6623f58b9f5f3e934
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 20:54:40 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 20:54:57 2016 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=5527f47d

x11-plugins/enigmail : add v1.9.5 to unbundle from mozilla products

 x11-plugins/enigmail/Manifest              |  1 +
 x11-plugins/enigmail/enigmail-1.9.5.ebuild | 63 ++++++++++++++++++++++++++++++
 x11-plugins/enigmail/metadata.xml          |  8 ++++
 3 files changed, 72 insertions(+)

diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
new file mode 100644
index 0000000..d5d2883
--- /dev/null
+++ b/x11-plugins/enigmail/Manifest
@@ -0,0 +1 @@
+DIST enigmail-1.9.5.tar.gz 1744278 SHA256 
831e53a4add0f465241f075be9475103367aa1452675adae054d8fb272e5d3ad SHA512 
4db7e52d3c9b192b1de72bffd62430a6b02c117b11847bd9cf196fd226ace6f587f20dd21c82f9ff109cd1bee69c50bfdf7e12b78dd2684d08ced86771096d0c
 WHIRLPOOL 
5ed576a86fa5c9fa718c1917c985619b5c3ec1e6ccfd003681c9314d4b9855c31d5075fd920f86d7365dc6146ec877d93dfbb52091417ae52c011cbe47815e9c

diff --git a/x11-plugins/enigmail/enigmail-1.9.5.ebuild 
b/x11-plugins/enigmail/enigmail-1.9.5.ebuild
new file mode 100644
index 0000000..4d30682
--- /dev/null
+++ b/x11-plugins/enigmail/enigmail-1.9.5.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+# This list is found in the package, in lang/current-languages.txt
+# The ones too regionalized for L10N are nb-NO and sv-SE
+#MY_LANGS=( ar bg ca cs de el es-ES fi fr gd gl hr hu it ja ko lt nl pl pt-BR
+#pt-PT ru sk sl sq tr vi zh-CN zh-TW )
+
+inherit python-any-r1
+
+DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
+HOMEPAGE="http://www.enigmail.net/";
+
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux"
+SLOT="0"
+LICENSE="MPL-2.0 GPL-3"
+#IUSE="${MY_LANGS[@]/#/l10n_}"
+
+SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz";
+
+RDEPEND="|| (
+               ( >=app-crypt/gnupg-2.0
+                       || (
+                               app-crypt/pinentry[gtk(-)]
+                               app-crypt/pinentry[qt4(-)]
+                               app-crypt/pinentry[qt5(-)]
+                       )
+               )
+               =app-crypt/gnupg-1.4*
+       )"
+DEPEND="${RDEPEND}
+       ${PYTHON_DEPS}
+       app-arch/zip
+       dev-lang/perl
+       "
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+       emake ipc public ui package lang
+       emake xpi
+
+}
+
+src_install() {
+       insinto /usr/share/${PN}
+       doins -r 
build/dist/{chrome,components,defaults,modules,chrome.manifest,install.rdf}
+}
+
+pkg_postinst() {
+       local peimpl=$(eselect --brief --colour=no pinentry show)
+       case "${peimpl}" in
+       *gtk*|*qt*) ;;
+       *)      ewarn "The pinentry front-end currently selected is not one 
supported by thunderbird."
+               ewarn "You may be prompted for your password in an inaccessible 
shell!!"
+               ewarn "Please use 'eselect pinentry' to select either the gtk 
or qt front-end"
+               ;;
+       esac
+}

diff --git a/x11-plugins/enigmail/metadata.xml 
b/x11-plugins/enigmail/metadata.xml
new file mode 100644
index 0000000..d9b367e
--- /dev/null
+++ b/x11-plugins/enigmail/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="project">
+       <email>[email protected]</email>
+       <name>Gentoo Mozilla Team</name>
+</maintainer>
+</pkgmetadata>

Reply via email to