Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314181 | Differences between
and this patch

Collapse All | Expand All

(-)claws-mail-3.7.5.ebuild (-12 / +24 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.5.ebuild,v 1.5 2010/03/11 20:39:27 maekke Exp $
3
# $Header: $
4
4
5
inherit eutils multilib
5
EAPI="2"
6
7
inherit eutils multilib autotools
6
8
7
DESCRIPTION="An email client (and news reader) based on GTK+"
9
DESCRIPTION="An email client (and news reader) based on GTK+"
8
HOMEPAGE="http://www.claws-mail.org/"
10
HOMEPAGE="http://www.claws-mail.org/"
Lines 12-18 Link Here
12
SLOT="0"
14
SLOT="0"
13
LICENSE="GPL-3"
15
LICENSE="GPL-3"
14
KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
16
KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
15
IUSE="bogofilter crypt dbus dillo doc gnome gnutls imap ipv6 ldap nntp pda session smime spamassassin spell ssl startup-notification xface"
17
IUSE="bogofilter crypt dbus dillo doc gnome +gnutls +imap ipv6 ldap nntp pda session smime spamassassin spell ssl startup-notification xface"
16
18
17
COMMONDEPEND=">=x11-libs/gtk+-2.6
19
COMMONDEPEND=">=x11-libs/gtk+-2.6
18
	pda? ( >=app-pda/jpilot-0.99 )
20
	pda? ( >=app-pda/jpilot-0.99 )
Lines 42-57 Link Here
42
44
43
PLUGIN_NAMES="acpi-notifier archive att-remover attachwarner bsfilter cachesaver fancy fetchinfo gtkhtml mailmbox newmail notification perl rssyl spam_report tnef_parse vcalendar"
45
PLUGIN_NAMES="acpi-notifier archive att-remover attachwarner bsfilter cachesaver fancy fetchinfo gtkhtml mailmbox newmail notification perl rssyl spam_report tnef_parse vcalendar"
44
46
45
src_compile() {
47
src_prepare() {
46
	local myconf="--disable-libetpan --disable-gnutls"
48
	# fix configure check for >libetpan-0.57 (bug #314181)
49
	epatch "${FILESDIR}"/${P}-fix-libetpan-check.patch
50
	eautoreconf
51
}
47
52
53
src_configure() {
54
	local myconf
48
	# libetpan is needed if user wants nntp or imap functionality
55
	# libetpan is needed if user wants nntp or imap functionality
49
	use imap && myconf="${myconf} --enable-libetpan"
56
	if use imap || use nntp; then
50
	use nntp && myconf="${myconf} --enable-libetpan"
57
		myconf="--enable-libetpan"
58
	else
59
		myconf="--disable-libetpan"
60
	fi
61
51
	# The usage of openssl was discarded once and USE=ssl is mapped to
62
	# The usage of openssl was discarded once and USE=ssl is mapped to
52
	# USE=gnutls now.  Maybe USE=ssl can fade out sometime
63
	# USE=gnutls now.  Maybe USE=ssl can fade out sometime
53
	use ssl && myconf="${myconf} --enable-gnutls"
64
	if use ssl || use gnutls; then
54
	use gnutls && myconf="${myconf} --enable-gnutls"
65
		myconf="${myconf} --enable-gnutls"
66
	else
67
		myconf="${myconf} --disable-gnutls"
68
	fi
55
69
56
	econf \
70
	econf \
57
		$(use_enable gnome gnomeprint) \
71
		$(use_enable gnome gnomeprint) \
Lines 73-81 Link Here
73
		$(use_enable smime smime-plugin) \
87
		$(use_enable smime smime-plugin) \
74
		--docdir=/usr/share/doc/${PF} \
88
		--docdir=/usr/share/doc/${PF} \
75
		--enable-trayicon-plugin \
89
		--enable-trayicon-plugin \
76
		--disable-maemo ${myconf} || die
90
		--disable-maemo ${myconf}
77
78
	emake || die
79
}
91
}
80
92
81
src_install() {
93
src_install() {

Return to bug 314181