1 |
commit: b4e7233df205ebc226eb461f9ea58e102c29f9b2 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 8 10:43:42 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 8 10:44:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e7233d |
7 |
|
8 |
mail-client/claws-mail: Revbump to remove webkit support (bug #608612). |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
mail-client/claws-mail/claws-mail-3.14.1-r1.ebuild | 197 +++++++++++++++++++++ |
13 |
1 file changed, 197 insertions(+) |
14 |
|
15 |
diff --git a/mail-client/claws-mail/claws-mail-3.14.1-r1.ebuild b/mail-client/claws-mail/claws-mail-3.14.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..9e3e294cae |
18 |
--- /dev/null |
19 |
+++ b/mail-client/claws-mail/claws-mail-3.14.1-r1.ebuild |
20 |
@@ -0,0 +1,197 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python2_7 ) |
28 |
+inherit autotools gnome2-utils eutils python-single-r1 |
29 |
+ |
30 |
+DESCRIPTION="An email client (and news reader) based on GTK+" |
31 |
+HOMEPAGE="http://www.claws-mail.org/" |
32 |
+ |
33 |
+SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+LICENSE="GPL-3" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
38 |
+ |
39 |
+IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification valgrind xface" |
40 |
+REQUIRED_USE="libcanberra? ( notification ) |
41 |
+ libindicate? ( notification ) |
42 |
+ libnotify? ( notification ) |
43 |
+ networkmanager? ( dbus ) |
44 |
+ smime? ( pgp )" |
45 |
+ |
46 |
+COMMONDEPEND=" |
47 |
+ archive? ( |
48 |
+ app-arch/libarchive |
49 |
+ >=net-misc/curl-7.9.7 |
50 |
+ ) |
51 |
+ bogofilter? ( mail-filter/bogofilter ) |
52 |
+ calendar? ( >=net-misc/curl-7.9.7 ) |
53 |
+ dbus? ( >=dev-libs/dbus-glib-0.60 ) |
54 |
+ gdata? ( >=dev-libs/libgdata-0.17.1 ) |
55 |
+ gnutls? ( >=net-libs/gnutls-3.0 ) |
56 |
+ gtk3? ( x11-libs/gtk+:3 ) |
57 |
+ !gtk3? ( >=x11-libs/gtk+-2.20:2 ) |
58 |
+ imap? ( >=net-libs/libetpan-0.57 ) |
59 |
+ ldap? ( >=net-nds/openldap-2.0.7 ) |
60 |
+ nls? ( >=sys-devel/gettext-0.18 ) |
61 |
+ nntp? ( >=net-libs/libetpan-0.57 ) |
62 |
+ notification? ( |
63 |
+ dev-libs/glib:2 |
64 |
+ libcanberra? ( media-libs/libcanberra[gtk] ) |
65 |
+ libindicate? ( dev-libs/libindicate:3[gtk] ) |
66 |
+ libnotify? ( x11-libs/libnotify ) |
67 |
+ ) |
68 |
+ pda? ( >=app-pda/jpilot-0.99 ) |
69 |
+ pdf? ( app-text/poppler[cairo] ) |
70 |
+ pgp? ( >=app-crypt/gpgme-1.0.0 ) |
71 |
+ session? ( |
72 |
+ x11-libs/libICE |
73 |
+ x11-libs/libSM |
74 |
+ ) |
75 |
+ smime? ( >=app-crypt/gpgme-1.0.0 ) |
76 |
+ spam-report? ( >=net-misc/curl-7.9.7 ) |
77 |
+ spell? ( >=app-text/enchant-1.0.0 ) |
78 |
+ startup-notification? ( x11-libs/startup-notification ) |
79 |
+ valgrind? ( dev-util/valgrind ) |
80 |
+" |
81 |
+ |
82 |
+DEPEND="${COMMONDEPEND} |
83 |
+ app-arch/xz-utils |
84 |
+ virtual/pkgconfig |
85 |
+ xface? ( >=media-libs/compface-1.4 )" |
86 |
+ |
87 |
+RDEPEND="${COMMONDEPEND} |
88 |
+ app-misc/mime-types |
89 |
+ x11-misc/shared-mime-info |
90 |
+ clamav? ( app-antivirus/clamav ) |
91 |
+ networkmanager? ( net-misc/networkmanager ) |
92 |
+ pdf? ( app-text/ghostscript-gpl ) |
93 |
+ perl? ( dev-lang/perl:= ) |
94 |
+ python? ( |
95 |
+ ${PYTHON_DEPS} |
96 |
+ >=dev-python/pygtk-2.10.3 |
97 |
+ ) |
98 |
+ rss? ( |
99 |
+ dev-libs/libxml2 |
100 |
+ net-misc/curl |
101 |
+ )" |
102 |
+ |
103 |
+pkg_setup() { |
104 |
+ use python && python-single-r1_pkg_setup |
105 |
+} |
106 |
+ |
107 |
+src_prepare() { |
108 |
+ default |
109 |
+ eautoreconf |
110 |
+} |
111 |
+ |
112 |
+src_configure() { |
113 |
+ # Don't use libsoup-gnome (bug #565924) |
114 |
+ export HAVE_LIBSOUP_GNOME=no |
115 |
+ |
116 |
+ local myeconfargs=( |
117 |
+ --disable-bsfilter-plugin |
118 |
+ --disable-fancy-plugin |
119 |
+ --disable-generic-umpc |
120 |
+ --enable-acpi_notifier-plugin |
121 |
+ --enable-address_keeper-plugin |
122 |
+ --enable-alternate-addressbook |
123 |
+ --enable-att_remover-plugin |
124 |
+ --enable-attachwarner-plugin |
125 |
+ --enable-fetchinfo-plugin |
126 |
+ --enable-mailmbox-plugin |
127 |
+ --enable-newmail-plugin |
128 |
+ --enable-tnef_parse-plugin |
129 |
+ --with-password-encryption=$(usex gnutls gnutls old) |
130 |
+ $(use_enable archive archive-plugin) |
131 |
+ $(use_enable bogofilter bogofilter-plugin) |
132 |
+ $(use_enable calendar vcalendar-plugin) |
133 |
+ $(use_enable clamav clamd-plugin) |
134 |
+ $(use_enable dbus) |
135 |
+ $(use_enable debug crash-dialog) |
136 |
+ $(use_enable doc manual) |
137 |
+ $(use_enable gdata gdata-plugin) |
138 |
+ $(use_enable gnutls) |
139 |
+ $(use_enable gtk3) |
140 |
+ $(use_enable ipv6) |
141 |
+ $(use_enable ldap) |
142 |
+ $(use_enable networkmanager) |
143 |
+ $(use_enable nls) |
144 |
+ $(use_enable notification notification-plugin) |
145 |
+ $(use_enable pda jpilot) |
146 |
+ $(use_enable pdf pdf_viewer-plugin) |
147 |
+ $(use_enable perl perl-plugin) |
148 |
+ $(use_enable pgp pgpcore-plugin) |
149 |
+ $(use_enable pgp pgpinline-plugin) |
150 |
+ $(use_enable pgp pgpmime-plugin) |
151 |
+ $(use_enable python python-plugin) |
152 |
+ $(use_enable rss rssyl-plugin) |
153 |
+ $(use_enable session libsm) |
154 |
+ $(use_enable sieve managesieve-plugin) |
155 |
+ $(use_enable smime smime-plugin) |
156 |
+ $(use_enable spam-report spam_report-plugin) |
157 |
+ $(use_enable spamassassin spamassassin-plugin) |
158 |
+ $(use_enable spell enchant) |
159 |
+ $(use_enable startup-notification) |
160 |
+ $(use_enable valgrind valgrind) |
161 |
+ $(use_enable xface compface) |
162 |
+ ) |
163 |
+ |
164 |
+ # libetpan is needed if user wants nntp or imap functionality |
165 |
+ if use imap || use nntp; then |
166 |
+ myeconfargs+=( --enable-libetpan ) |
167 |
+ else |
168 |
+ myeconfargs+=( --disable-libetpan ) |
169 |
+ fi |
170 |
+ |
171 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
172 |
+} |
173 |
+ |
174 |
+src_install() { |
175 |
+ local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* ) |
176 |
+ default |
177 |
+ |
178 |
+ # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps |
179 |
+ # => also install it in /usr/share/pixmaps for other desktop envs |
180 |
+ # => also install higher resolution icons in /usr/share/icons/hicolor/... |
181 |
+ insinto /usr/share/pixmaps |
182 |
+ doins ${PN}.png |
183 |
+ local size |
184 |
+ for size in 64 128 ; do |
185 |
+ newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png |
186 |
+ done |
187 |
+ |
188 |
+ docinto tools |
189 |
+ dodoc tools/README* |
190 |
+ |
191 |
+ domenu ${PN}.desktop |
192 |
+ |
193 |
+ einfo "Installing extra tools" |
194 |
+ cd "${S}"/tools |
195 |
+ exeinto /usr/$(get_libdir)/${PN}/tools |
196 |
+ doexe *.pl *.py *.conf *.sh |
197 |
+ doexe tb2claws-mail update-po uudec uuooffice |
198 |
+ |
199 |
+ # kill useless files |
200 |
+ rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la} |
201 |
+} |
202 |
+ |
203 |
+pkg_preinst() { |
204 |
+ gnome2_icon_savelist |
205 |
+} |
206 |
+ |
207 |
+pkg_postinst() { |
208 |
+ ewarn "When upgrading from version 3.9.0 or below some changes have happened:" |
209 |
+ ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags" |
210 |
+ ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface" |
211 |
+ ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely" |
212 |
+ gnome2_icon_cache_update |
213 |
+} |
214 |
+ |
215 |
+pkg_postrm() { |
216 |
+ gnome2_icon_cache_update |
217 |
+} |