mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
1
x11-plugins/enigmail/Manifest
Normal file
1
x11-plugins/enigmail/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84 WHIRLPOOL e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48
|
||||
57
x11-plugins/enigmail/enigmail-1.9.6.1.ebuild
Normal file
57
x11-plugins/enigmail/enigmail-1.9.6.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
8
x11-plugins/enigmail/metadata.xml
Normal file
8
x11-plugins/enigmail/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user