commit: 945c4ddacaed8b04c78bcf975da49caedc547706
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 29 07:35:15 2015 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Sep 29 07:35:58 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945c4dda
mail-client/claws-mail: sieve plugin requires gnutls (bug #560798)
Make compilation of sieve plugin optional. Minor ebuild corrections.
Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
mail-client/claws-mail/claws-mail-3.12.0.ebuild | 22 ++++++++++++----------
mail-client/claws-mail/metadata.xml | 1 +
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/mail-client/claws-mail/claws-mail-3.12.0.ebuild
b/mail-client/claws-mail/claws-mail-3.12.0.ebuild
index 5a90bc3..0abc916 100644
--- a/mail-client/claws-mail/claws-mail-3.12.0.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.12.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=5
PYTHON_COMPAT=( python2_7 )
AUTOTOOLS_AUTORECONF=yes
@@ -18,12 +18,13 @@ SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="archive bogofilter calendar clamav dbus debug doc gdata gtk3 +imap ipv6
ldap +libcanberra +libindicate +libnotify networkmanager nntp +notification pda
pdf perl +pgp python rss session smime spamassassin spam-report spell +gnutls
startup-notification valgrind webkit xface"
-REQUIRED_USE="networkmanager? ( dbus )
- smime? ( pgp )
- libcanberra? ( notification )
+IUSE="archive bogofilter calendar clamav dbus debug doc gdata gtk3 +imap ipv6
ldap +libcanberra +libindicate +libnotify networkmanager nntp +notification pda
pdf perl +pgp python rss session sieve smime spamassassin spam-report spell
+gnutls startup-notification valgrind webkit xface"
+REQUIRED_USE="libcanberra? ( notification )
libindicate? ( notification )
- libnotify? ( notification )"
+ libnotify? ( notification )
+ networkmanager? ( dbus )
+ sieve? ( gnutls )
+ smime? ( pgp )"
# Plugins are all integrated or dropped since 3.9.1
PLUGINBLOCK="!!mail-client/claws-mail-acpi-notifier
@@ -129,6 +130,7 @@ src_configure() {
$(use_enable python python-plugin)
$(use_enable rss rssyl-plugin)
$(use_enable spamassassin spamassassin-plugin)
+ $(use_enable sieve managesieve-plugin)
$(use_enable smime smime-plugin)
$(use_enable spam-report spam_report-plugin)
$(use_enable webkit fancy-plugin)
@@ -165,12 +167,12 @@ src_install() {
# => also install it in /usr/share/pixmaps for other desktop envs
# => also install higher resolution icons in
/usr/share/icons/hicolor/...
insinto /usr/share/pixmaps
- doins ${PN}.png || die
+ doins ${PN}.png
local res resdir
for res in 64x64 128x128 ; do
resdir="/usr/share/icons/hicolor/${res}/apps"
insinto ${resdir}
- newins ${PN}-${res}.png ${PN}.png || die
+ newins ${PN}-${res}.png ${PN}.png
done
docinto tools
@@ -181,8 +183,8 @@ src_install() {
einfo "Installing extra tools"
cd "${S}"/tools
exeinto /usr/$(get_libdir)/${PN}/tools
- doexe *.pl *.py *.conf *.sh || die
- doexe tb2claws-mail update-po uudec uuooffice || die
+ doexe *.pl *.py *.conf *.sh
+ doexe tb2claws-mail update-po uudec uuooffice
# kill useless files
rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la}
diff --git a/mail-client/claws-mail/metadata.xml
b/mail-client/claws-mail/metadata.xml
index 7719354..798d327 100644
--- a/mail-client/claws-mail/metadata.xml
+++ b/mail-client/claws-mail/metadata.xml
@@ -28,6 +28,7 @@
<flag name="notification">Notification for new mail in
different way, see also USE flags libcanberra,
libindicate and libnotify</flag>
+ <flag name="sieve">Build plugin for sieve filter support</flag>
<flag name="smime">Build plugin for S/MIME support</flag>
<flag name="spamassassin">Build
<pkg>mail-filter/spamassassin</pkg>
plugin</flag>