diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2017-03-08 20:03:02 -0500 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2017-03-08 20:03:02 -0500 |
commit | 4fb9b596f42e1eff4b04bc1e1d35d228f6289e48 (patch) | |
tree | c0b2cc6607cefa5877a046a7294f472ee75672be /x11-plugins/enigmail | |
parent | www-client/firefox-bin: version bump (diff) | |
download | gentoo-4fb9b596f42e1eff4b04bc1e1d35d228f6289e48.tar.gz gentoo-4fb9b596f42e1eff4b04bc1e1d35d228f6289e48.tar.bz2 gentoo-4fb9b596f42e1eff4b04bc1e1d35d228f6289e48.zip |
x11-plugins/enigmail: reintroducing the standalone package.
Enigmail is now installed to a central location to allow thunderbird, seamonkey
and any future package that may be able to use it, to symlink it into their
extensions subdirectory.
Package-Manager: portage-2.3.3
Diffstat (limited to 'x11-plugins/enigmail')
-rw-r--r-- | x11-plugins/enigmail/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/enigmail/enigmail-1.9.6.1.ebuild | 57 | ||||
-rw-r--r-- | x11-plugins/enigmail/metadata.xml | 8 |
3 files changed, 66 insertions, 0 deletions
diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest new file mode 100644 index 000000000000..b59cef1fdff5 --- /dev/null +++ b/x11-plugins/enigmail/Manifest @@ -0,0 +1 @@ +DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84 WHIRLPOOL e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48 diff --git a/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild b/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild new file mode 100644 index 000000000000..a1e99ccd097d --- /dev/null +++ b/x11-plugins/enigmail/enigmail-1.9.6.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +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="" +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,wrappers,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 000000000000..d9b367ed3b93 --- /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>mozilla@gentoo.org</email> + <name>Gentoo Mozilla Team</name> +</maintainer> +</pkgmetadata> |