Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/balsa/
Date: Sat, 10 Oct 2015 23:40:22
Message-Id: 1444520728.a86f693ae384c925cc08a91122a631f41b3f960b.blueness@gentoo
1 commit: a86f693ae384c925cc08a91122a631f41b3f960b
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 23:45:28 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 23:45:28 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86f693a
7
8 mail-client/balsa: add libressl support
9
10 Package-Manager: portage-2.2.20.1
11
12 mail-client/balsa/balsa-2.5.2-r1.ebuild | 105 ++++++++++++++++++++++++++++++++
13 1 file changed, 105 insertions(+)
14
15 diff --git a/mail-client/balsa/balsa-2.5.2-r1.ebuild b/mail-client/balsa/balsa-2.5.2-r1.ebuild
16 new file mode 100644
17 index 0000000..97b19fd
18 --- /dev/null
19 +++ b/mail-client/balsa/balsa-2.5.2-r1.ebuild
20 @@ -0,0 +1,105 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +GCONF_DEBUG="no"
27 +
28 +inherit eutils gnome2
29 +
30 +DESCRIPTION="Email client for GNOME"
31 +HOMEPAGE="http://pawsa.fedorapeople.org/balsa/"
32 +SRC_URI="http://pawsa.fedorapeople.org/${PN}/${P}.tar.bz2"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
37 +
38 +IUSE="crypt gnome gtkhtml gnome-keyring +gtkspell kerberos ldap libnotify libressl rubrica sqlite ssl webkit xface"
39 +REQUIRED_USE="gtkhtml? ( !webkit )"
40 +
41 +# TODO: esmtp can be optional, do we want it?
42 +RDEPEND="
43 + >=dev-libs/glib-2.32:2
44 + >=x11-libs/gtk+-3.4.0:3
45 + dev-libs/gmime:2.6
46 + >=net-libs/libesmtp-1.0.3:=
47 + net-mail/mailbase
48 + media-libs/libcanberra:=[gtk3]
49 + x11-themes/hicolor-icon-theme
50 + x11-themes/gnome-icon-theme
51 + crypt? ( >=app-crypt/gpgme-1.0:= )
52 + gnome? ( >=x11-libs/gtksourceview-3.2.0:3.0 )
53 + gnome-keyring? ( app-crypt/libsecret )
54 + gtkhtml? ( gnome-extra/gtkhtml:4.0 )
55 + sqlite? ( >=dev-db/sqlite-2.8:= )
56 + libnotify? ( >=x11-libs/libnotify-0.7:= )
57 + gtkspell? ( >=app-text/gtkspell-3.0.3:3 )
58 + !gtkspell? ( app-text/enchant )
59 + kerberos? ( app-crypt/mit-krb5 )
60 + ldap? ( net-nds/openldap )
61 + rubrica? ( dev-libs/libxml2:2 )
62 + ssl? (
63 + !libressl? ( dev-libs/openssl:0 )
64 + libressl? ( dev-libs/libressl )
65 + )
66 + webkit? ( net-libs/webkit-gtk:4 )
67 + xface? ( >=media-libs/compface-1.5.1:= )
68 +"
69 +DEPEND="${RDEPEND}
70 + app-text/yelp-tools
71 + dev-util/intltool
72 + virtual/pkgconfig
73 + sys-devel/gettext
74 +"
75 +
76 +src_prepare() {
77 + DOCS="AUTHORS ChangeLog HACKING NEWS README TODO docs/*"
78 +
79 + # https://bugzilla.gnome.org/show_bug.cgi?id=750516
80 + sed -i -e 's/@TOOLKIT_CATEGORIES@//' balsa-mailto-handler.desktop.in.in || die
81 +
82 + # https://bugzilla.gnome.org/show_bug.cgi?id=750515
83 + echo "src/balsa-print-object.c" >> po/POTFILES.in || die
84 +
85 + gnome2_src_prepare
86 +}
87 +
88 +src_configure() {
89 + local myconf
90 +
91 + if use crypt ; then
92 + myconf+=" --with-gpgme=gpgme-config"
93 + else
94 + myconf+=" --without-gpgme"
95 + fi
96 +
97 + if use webkit || use gtkhtml; then
98 + if use gtkhtml ; then
99 + myconf+=" --with-html-widget=gtkhtml4"
100 + else
101 + myconf+=" --with-html-widget=webkit2"
102 + fi
103 + else
104 + myconf+=" --with-html-widget=no"
105 + fi
106 +
107 + gnome2_src_configure \
108 + --disable-pcre \
109 + --enable-gregex \
110 + --enable-threads \
111 + --with-gmime=2.6 \
112 + --with-canberra \
113 + $(use_with gnome) \
114 + $(use_with gnome gtksourceview) \
115 + $(use_with gnome-keyring libsecret) \
116 + $(use_with gtkspell) \
117 + $(use_with kerberos gss) \
118 + $(use_with ldap) \
119 + $(use_with libnotify) \
120 + $(use_with rubrica) \
121 + $(use_with sqlite) \
122 + $(use_with ssl) \
123 + $(use_with xface compface) \
124 + ${myconf}
125 +}