1 |
commit: 2bedd92e93580c6fd313d9556ce95e99ddddd54e |
2 |
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 13:24:28 2020 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 13:24:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bedd92e |
7 |
|
8 |
mail-client/neomutt: Remove old versions |
9 |
|
10 |
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org> |
11 |
|
12 |
mail-client/neomutt/neomutt-20200313.ebuild | 128 ---------------------------- |
13 |
mail-client/neomutt/neomutt-20200320.ebuild | 128 ---------------------------- |
14 |
mail-client/neomutt/neomutt-20200417.ebuild | 128 ---------------------------- |
15 |
mail-client/neomutt/neomutt-20200424.ebuild | 128 ---------------------------- |
16 |
4 files changed, 512 deletions(-) |
17 |
|
18 |
diff --git a/mail-client/neomutt/neomutt-20200313.ebuild b/mail-client/neomutt/neomutt-20200313.ebuild |
19 |
deleted file mode 100644 |
20 |
index d195e95a243..00000000000 |
21 |
--- a/mail-client/neomutt/neomutt-20200313.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,128 +0,0 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
- |
29 |
-inherit eutils flag-o-matic |
30 |
- |
31 |
-if [[ ${PV} =~ 99999999$ ]]; then |
32 |
- inherit git-r3 |
33 |
- EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
34 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}" |
35 |
-else |
36 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
- KEYWORDS="~amd64 ~x86" |
38 |
-fi |
39 |
- |
40 |
-DESCRIPTION="A small but very powerful text-based mail client" |
41 |
-HOMEPAGE="https://neomutt.org/" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl |
46 |
- lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic |
47 |
- ssl tokyocabinet" |
48 |
- |
49 |
-CDEPEND=" |
50 |
- app-misc/mime-types |
51 |
- berkdb? ( |
52 |
- || ( |
53 |
- sys-libs/db:6.2 |
54 |
- sys-libs/db:5.3 |
55 |
- sys-libs/db:4.8 |
56 |
- ) |
57 |
- <sys-libs/db-6.3:= |
58 |
- ) |
59 |
- gdbm? ( sys-libs/gdbm ) |
60 |
- kyotocabinet? ( dev-db/kyotocabinet ) |
61 |
- lmdb? ( dev-db/lmdb ) |
62 |
- nls? ( virtual/libintl ) |
63 |
- qdbm? ( dev-db/qdbm ) |
64 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
65 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
66 |
- gpgme? ( >=app-crypt/gpgme-0.9.0 ) |
67 |
- idn? ( net-dns/libidn:= ) |
68 |
- kerberos? ( virtual/krb5 ) |
69 |
- notmuch? ( net-mail/notmuch ) |
70 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
71 |
- !slang? ( sys-libs/ncurses:0 ) |
72 |
- slang? ( sys-libs/slang ) |
73 |
- ssl? ( |
74 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
75 |
- libressl? ( dev-libs/libressl ) |
76 |
- ) |
77 |
-" |
78 |
-DEPEND="${CDEPEND} |
79 |
- dev-lang/tcl |
80 |
- net-mail/mailbase |
81 |
- doc? ( |
82 |
- dev-libs/libxml2 |
83 |
- dev-libs/libxslt |
84 |
- app-text/docbook-xsl-stylesheets |
85 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
86 |
- )" |
87 |
-RDEPEND="${CDEPEND} |
88 |
- selinux? ( sec-policy/selinux-mutt ) |
89 |
-" |
90 |
- |
91 |
-src_configure() { |
92 |
- local myconf=( |
93 |
- "$(usex doc --full-doc --disable-doc)" |
94 |
- "$(use_enable nls)" |
95 |
- "$(use_enable notmuch)" |
96 |
- |
97 |
- "$(use_enable gpgme)" |
98 |
- "$(use_enable pgp-classic pgp)" |
99 |
- "$(use_enable smime-classic smime)" |
100 |
- |
101 |
- # Database backends. |
102 |
- "$(use_enable berkdb bdb)" |
103 |
- "$(use_enable gdbm)" |
104 |
- "$(use_enable kyotocabinet)" |
105 |
- "$(use_enable qdbm)" |
106 |
- "$(use_enable tokyocabinet)" |
107 |
- |
108 |
- "$(use_enable idn)" |
109 |
- "$(use_enable kerberos gss)" |
110 |
- "$(use_enable lmdb)" |
111 |
- "$(use_enable sasl)" |
112 |
- "--with-ui=$(usex slang slang ncurses)" |
113 |
- "--sysconfdir=${EPREFIX}/etc/${PN}" |
114 |
- "$(use_enable ssl)" |
115 |
- "$(use_enable gnutls)" |
116 |
- ) |
117 |
- |
118 |
- econf CCACHE=none "${myconf[@]}" |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- emake DESTDIR="${D}" install |
123 |
- |
124 |
- # A man-page is always handy, so fake one – here neomuttrc.5 |
125 |
- # (neomutt.1 already exists) |
126 |
- if use !doc; then |
127 |
- sed -n \ |
128 |
- -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ |
129 |
- -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ |
130 |
- -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ |
131 |
- Makefile > doc/Makefile.fakedoc || die |
132 |
- sed -n \ |
133 |
- -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ |
134 |
- -e '/^doc\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ |
135 |
- doc/Makefile.autosetup >> doc/Makefile.fakedoc || die |
136 |
- emake -f doc/Makefile.fakedoc doc/neomutt.1 |
137 |
- emake -f doc/Makefile.fakedoc doc/neomuttrc.5 |
138 |
- doman doc/neomutt.1 doc/neomuttrc.5 |
139 |
- fi |
140 |
- |
141 |
- dodoc LICENSE* ChangeLog* README* |
142 |
-} |
143 |
- |
144 |
-pkg_postinst() { |
145 |
- if use gpgme && ( use pgp-classic || use smime-classic ); then |
146 |
- ewarn " Note that gpgme (old gpg) includes both pgp and smime" |
147 |
- ewarn " support. You can probably remove pgp-classic (old crypt)" |
148 |
- ewarn " and smime-classic (old smime) from your USE-flags and" |
149 |
- ewarn " only enable gpgme." |
150 |
- fi |
151 |
-} |
152 |
|
153 |
diff --git a/mail-client/neomutt/neomutt-20200320.ebuild b/mail-client/neomutt/neomutt-20200320.ebuild |
154 |
deleted file mode 100644 |
155 |
index d195e95a243..00000000000 |
156 |
--- a/mail-client/neomutt/neomutt-20200320.ebuild |
157 |
+++ /dev/null |
158 |
@@ -1,128 +0,0 @@ |
159 |
-# Copyright 1999-2020 Gentoo Authors |
160 |
-# Distributed under the terms of the GNU General Public License v2 |
161 |
- |
162 |
-EAPI=6 |
163 |
- |
164 |
-inherit eutils flag-o-matic |
165 |
- |
166 |
-if [[ ${PV} =~ 99999999$ ]]; then |
167 |
- inherit git-r3 |
168 |
- EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
169 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}" |
170 |
-else |
171 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
172 |
- KEYWORDS="~amd64 ~x86" |
173 |
-fi |
174 |
- |
175 |
-DESCRIPTION="A small but very powerful text-based mail client" |
176 |
-HOMEPAGE="https://neomutt.org/" |
177 |
- |
178 |
-LICENSE="GPL-2" |
179 |
-SLOT="0" |
180 |
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl |
181 |
- lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic |
182 |
- ssl tokyocabinet" |
183 |
- |
184 |
-CDEPEND=" |
185 |
- app-misc/mime-types |
186 |
- berkdb? ( |
187 |
- || ( |
188 |
- sys-libs/db:6.2 |
189 |
- sys-libs/db:5.3 |
190 |
- sys-libs/db:4.8 |
191 |
- ) |
192 |
- <sys-libs/db-6.3:= |
193 |
- ) |
194 |
- gdbm? ( sys-libs/gdbm ) |
195 |
- kyotocabinet? ( dev-db/kyotocabinet ) |
196 |
- lmdb? ( dev-db/lmdb ) |
197 |
- nls? ( virtual/libintl ) |
198 |
- qdbm? ( dev-db/qdbm ) |
199 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
200 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
201 |
- gpgme? ( >=app-crypt/gpgme-0.9.0 ) |
202 |
- idn? ( net-dns/libidn:= ) |
203 |
- kerberos? ( virtual/krb5 ) |
204 |
- notmuch? ( net-mail/notmuch ) |
205 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
206 |
- !slang? ( sys-libs/ncurses:0 ) |
207 |
- slang? ( sys-libs/slang ) |
208 |
- ssl? ( |
209 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
210 |
- libressl? ( dev-libs/libressl ) |
211 |
- ) |
212 |
-" |
213 |
-DEPEND="${CDEPEND} |
214 |
- dev-lang/tcl |
215 |
- net-mail/mailbase |
216 |
- doc? ( |
217 |
- dev-libs/libxml2 |
218 |
- dev-libs/libxslt |
219 |
- app-text/docbook-xsl-stylesheets |
220 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
221 |
- )" |
222 |
-RDEPEND="${CDEPEND} |
223 |
- selinux? ( sec-policy/selinux-mutt ) |
224 |
-" |
225 |
- |
226 |
-src_configure() { |
227 |
- local myconf=( |
228 |
- "$(usex doc --full-doc --disable-doc)" |
229 |
- "$(use_enable nls)" |
230 |
- "$(use_enable notmuch)" |
231 |
- |
232 |
- "$(use_enable gpgme)" |
233 |
- "$(use_enable pgp-classic pgp)" |
234 |
- "$(use_enable smime-classic smime)" |
235 |
- |
236 |
- # Database backends. |
237 |
- "$(use_enable berkdb bdb)" |
238 |
- "$(use_enable gdbm)" |
239 |
- "$(use_enable kyotocabinet)" |
240 |
- "$(use_enable qdbm)" |
241 |
- "$(use_enable tokyocabinet)" |
242 |
- |
243 |
- "$(use_enable idn)" |
244 |
- "$(use_enable kerberos gss)" |
245 |
- "$(use_enable lmdb)" |
246 |
- "$(use_enable sasl)" |
247 |
- "--with-ui=$(usex slang slang ncurses)" |
248 |
- "--sysconfdir=${EPREFIX}/etc/${PN}" |
249 |
- "$(use_enable ssl)" |
250 |
- "$(use_enable gnutls)" |
251 |
- ) |
252 |
- |
253 |
- econf CCACHE=none "${myconf[@]}" |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- emake DESTDIR="${D}" install |
258 |
- |
259 |
- # A man-page is always handy, so fake one – here neomuttrc.5 |
260 |
- # (neomutt.1 already exists) |
261 |
- if use !doc; then |
262 |
- sed -n \ |
263 |
- -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ |
264 |
- -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ |
265 |
- -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ |
266 |
- Makefile > doc/Makefile.fakedoc || die |
267 |
- sed -n \ |
268 |
- -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ |
269 |
- -e '/^doc\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ |
270 |
- doc/Makefile.autosetup >> doc/Makefile.fakedoc || die |
271 |
- emake -f doc/Makefile.fakedoc doc/neomutt.1 |
272 |
- emake -f doc/Makefile.fakedoc doc/neomuttrc.5 |
273 |
- doman doc/neomutt.1 doc/neomuttrc.5 |
274 |
- fi |
275 |
- |
276 |
- dodoc LICENSE* ChangeLog* README* |
277 |
-} |
278 |
- |
279 |
-pkg_postinst() { |
280 |
- if use gpgme && ( use pgp-classic || use smime-classic ); then |
281 |
- ewarn " Note that gpgme (old gpg) includes both pgp and smime" |
282 |
- ewarn " support. You can probably remove pgp-classic (old crypt)" |
283 |
- ewarn " and smime-classic (old smime) from your USE-flags and" |
284 |
- ewarn " only enable gpgme." |
285 |
- fi |
286 |
-} |
287 |
|
288 |
diff --git a/mail-client/neomutt/neomutt-20200417.ebuild b/mail-client/neomutt/neomutt-20200417.ebuild |
289 |
deleted file mode 100644 |
290 |
index 169bb2a3aa6..00000000000 |
291 |
--- a/mail-client/neomutt/neomutt-20200417.ebuild |
292 |
+++ /dev/null |
293 |
@@ -1,128 +0,0 @@ |
294 |
-# Copyright 1999-2020 Gentoo Authors |
295 |
-# Distributed under the terms of the GNU General Public License v2 |
296 |
- |
297 |
-EAPI=6 |
298 |
- |
299 |
-inherit eutils flag-o-matic |
300 |
- |
301 |
-if [[ ${PV} =~ 99999999$ ]]; then |
302 |
- inherit git-r3 |
303 |
- EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
304 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}" |
305 |
-else |
306 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
307 |
- KEYWORDS="~amd64 ~x86" |
308 |
-fi |
309 |
- |
310 |
-DESCRIPTION="A small but very powerful text-based mail client" |
311 |
-HOMEPAGE="https://neomutt.org/" |
312 |
- |
313 |
-LICENSE="GPL-2" |
314 |
-SLOT="0" |
315 |
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl |
316 |
- lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic |
317 |
- ssl tokyocabinet" |
318 |
- |
319 |
-CDEPEND=" |
320 |
- app-misc/mime-types |
321 |
- berkdb? ( |
322 |
- || ( |
323 |
- sys-libs/db:6.2 |
324 |
- sys-libs/db:5.3 |
325 |
- sys-libs/db:4.8 |
326 |
- ) |
327 |
- <sys-libs/db-6.3:= |
328 |
- ) |
329 |
- gdbm? ( sys-libs/gdbm ) |
330 |
- kyotocabinet? ( dev-db/kyotocabinet ) |
331 |
- lmdb? ( dev-db/lmdb ) |
332 |
- nls? ( virtual/libintl ) |
333 |
- qdbm? ( dev-db/qdbm ) |
334 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
335 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
336 |
- gpgme? ( >=app-crypt/gpgme-0.9.0 ) |
337 |
- idn? ( net-dns/libidn:= ) |
338 |
- kerberos? ( virtual/krb5 ) |
339 |
- notmuch? ( net-mail/notmuch ) |
340 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
341 |
- !slang? ( sys-libs/ncurses:0 ) |
342 |
- slang? ( sys-libs/slang ) |
343 |
- ssl? ( |
344 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
345 |
- libressl? ( dev-libs/libressl ) |
346 |
- ) |
347 |
-" |
348 |
-DEPEND="${CDEPEND} |
349 |
- dev-lang/tcl |
350 |
- net-mail/mailbase |
351 |
- doc? ( |
352 |
- dev-libs/libxml2 |
353 |
- dev-libs/libxslt |
354 |
- app-text/docbook-xsl-stylesheets |
355 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
356 |
- )" |
357 |
-RDEPEND="${CDEPEND} |
358 |
- selinux? ( sec-policy/selinux-mutt ) |
359 |
-" |
360 |
- |
361 |
-src_configure() { |
362 |
- local myconf=( |
363 |
- "$(usex doc --full-doc --disable-doc)" |
364 |
- "$(use_enable nls)" |
365 |
- "$(use_enable notmuch)" |
366 |
- |
367 |
- "$(use_enable gpgme)" |
368 |
- "$(use_enable pgp-classic pgp)" |
369 |
- "$(use_enable smime-classic smime)" |
370 |
- |
371 |
- # Database backends. |
372 |
- "$(use_enable berkdb bdb)" |
373 |
- "$(use_enable gdbm)" |
374 |
- "$(use_enable kyotocabinet)" |
375 |
- "$(use_enable qdbm)" |
376 |
- "$(use_enable tokyocabinet)" |
377 |
- |
378 |
- "$(use_enable idn)" |
379 |
- "$(use_enable kerberos gss)" |
380 |
- "$(use_enable lmdb)" |
381 |
- "$(use_enable sasl)" |
382 |
- "--with-ui=$(usex slang slang ncurses)" |
383 |
- "--sysconfdir=${EPREFIX}/etc/${PN}" |
384 |
- "$(use_enable ssl)" |
385 |
- "$(use_enable gnutls)" |
386 |
- ) |
387 |
- |
388 |
- econf CCACHE=none "${myconf[@]}" |
389 |
-} |
390 |
- |
391 |
-src_install() { |
392 |
- emake DESTDIR="${D}" install |
393 |
- |
394 |
- # A man-page is always handy, so fake one – here neomuttrc.5 |
395 |
- # (neomutt.1 already exists) |
396 |
- if use !doc; then |
397 |
- sed -n \ |
398 |
- -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ |
399 |
- -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ |
400 |
- -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ |
401 |
- Makefile > docs/Makefile.fakedoc || die |
402 |
- sed -n \ |
403 |
- -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ |
404 |
- -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ |
405 |
- docs/Makefile.autosetup >> docs/Makefile.fakedoc || die |
406 |
- emake -f docs/Makefile.fakedoc docs/neomutt.1 |
407 |
- emake -f docs/Makefile.fakedoc docs/neomuttrc.5 |
408 |
- doman docs/neomutt.1 docs/neomuttrc.5 |
409 |
- fi |
410 |
- |
411 |
- dodoc LICENSE* ChangeLog* README* |
412 |
-} |
413 |
- |
414 |
-pkg_postinst() { |
415 |
- if use gpgme && ( use pgp-classic || use smime-classic ); then |
416 |
- ewarn " Note that gpgme (old gpg) includes both pgp and smime" |
417 |
- ewarn " support. You can probably remove pgp-classic (old crypt)" |
418 |
- ewarn " and smime-classic (old smime) from your USE-flags and" |
419 |
- ewarn " only enable gpgme." |
420 |
- fi |
421 |
-} |
422 |
|
423 |
diff --git a/mail-client/neomutt/neomutt-20200424.ebuild b/mail-client/neomutt/neomutt-20200424.ebuild |
424 |
deleted file mode 100644 |
425 |
index 169bb2a3aa6..00000000000 |
426 |
--- a/mail-client/neomutt/neomutt-20200424.ebuild |
427 |
+++ /dev/null |
428 |
@@ -1,128 +0,0 @@ |
429 |
-# Copyright 1999-2020 Gentoo Authors |
430 |
-# Distributed under the terms of the GNU General Public License v2 |
431 |
- |
432 |
-EAPI=6 |
433 |
- |
434 |
-inherit eutils flag-o-matic |
435 |
- |
436 |
-if [[ ${PV} =~ 99999999$ ]]; then |
437 |
- inherit git-r3 |
438 |
- EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
439 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}" |
440 |
-else |
441 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
442 |
- KEYWORDS="~amd64 ~x86" |
443 |
-fi |
444 |
- |
445 |
-DESCRIPTION="A small but very powerful text-based mail client" |
446 |
-HOMEPAGE="https://neomutt.org/" |
447 |
- |
448 |
-LICENSE="GPL-2" |
449 |
-SLOT="0" |
450 |
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl |
451 |
- lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic |
452 |
- ssl tokyocabinet" |
453 |
- |
454 |
-CDEPEND=" |
455 |
- app-misc/mime-types |
456 |
- berkdb? ( |
457 |
- || ( |
458 |
- sys-libs/db:6.2 |
459 |
- sys-libs/db:5.3 |
460 |
- sys-libs/db:4.8 |
461 |
- ) |
462 |
- <sys-libs/db-6.3:= |
463 |
- ) |
464 |
- gdbm? ( sys-libs/gdbm ) |
465 |
- kyotocabinet? ( dev-db/kyotocabinet ) |
466 |
- lmdb? ( dev-db/lmdb ) |
467 |
- nls? ( virtual/libintl ) |
468 |
- qdbm? ( dev-db/qdbm ) |
469 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
470 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
471 |
- gpgme? ( >=app-crypt/gpgme-0.9.0 ) |
472 |
- idn? ( net-dns/libidn:= ) |
473 |
- kerberos? ( virtual/krb5 ) |
474 |
- notmuch? ( net-mail/notmuch ) |
475 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
476 |
- !slang? ( sys-libs/ncurses:0 ) |
477 |
- slang? ( sys-libs/slang ) |
478 |
- ssl? ( |
479 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
480 |
- libressl? ( dev-libs/libressl ) |
481 |
- ) |
482 |
-" |
483 |
-DEPEND="${CDEPEND} |
484 |
- dev-lang/tcl |
485 |
- net-mail/mailbase |
486 |
- doc? ( |
487 |
- dev-libs/libxml2 |
488 |
- dev-libs/libxslt |
489 |
- app-text/docbook-xsl-stylesheets |
490 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
491 |
- )" |
492 |
-RDEPEND="${CDEPEND} |
493 |
- selinux? ( sec-policy/selinux-mutt ) |
494 |
-" |
495 |
- |
496 |
-src_configure() { |
497 |
- local myconf=( |
498 |
- "$(usex doc --full-doc --disable-doc)" |
499 |
- "$(use_enable nls)" |
500 |
- "$(use_enable notmuch)" |
501 |
- |
502 |
- "$(use_enable gpgme)" |
503 |
- "$(use_enable pgp-classic pgp)" |
504 |
- "$(use_enable smime-classic smime)" |
505 |
- |
506 |
- # Database backends. |
507 |
- "$(use_enable berkdb bdb)" |
508 |
- "$(use_enable gdbm)" |
509 |
- "$(use_enable kyotocabinet)" |
510 |
- "$(use_enable qdbm)" |
511 |
- "$(use_enable tokyocabinet)" |
512 |
- |
513 |
- "$(use_enable idn)" |
514 |
- "$(use_enable kerberos gss)" |
515 |
- "$(use_enable lmdb)" |
516 |
- "$(use_enable sasl)" |
517 |
- "--with-ui=$(usex slang slang ncurses)" |
518 |
- "--sysconfdir=${EPREFIX}/etc/${PN}" |
519 |
- "$(use_enable ssl)" |
520 |
- "$(use_enable gnutls)" |
521 |
- ) |
522 |
- |
523 |
- econf CCACHE=none "${myconf[@]}" |
524 |
-} |
525 |
- |
526 |
-src_install() { |
527 |
- emake DESTDIR="${D}" install |
528 |
- |
529 |
- # A man-page is always handy, so fake one – here neomuttrc.5 |
530 |
- # (neomutt.1 already exists) |
531 |
- if use !doc; then |
532 |
- sed -n \ |
533 |
- -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ |
534 |
- -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ |
535 |
- -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ |
536 |
- Makefile > docs/Makefile.fakedoc || die |
537 |
- sed -n \ |
538 |
- -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ |
539 |
- -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ |
540 |
- docs/Makefile.autosetup >> docs/Makefile.fakedoc || die |
541 |
- emake -f docs/Makefile.fakedoc docs/neomutt.1 |
542 |
- emake -f docs/Makefile.fakedoc docs/neomuttrc.5 |
543 |
- doman docs/neomutt.1 docs/neomuttrc.5 |
544 |
- fi |
545 |
- |
546 |
- dodoc LICENSE* ChangeLog* README* |
547 |
-} |
548 |
- |
549 |
-pkg_postinst() { |
550 |
- if use gpgme && ( use pgp-classic || use smime-classic ); then |
551 |
- ewarn " Note that gpgme (old gpg) includes both pgp and smime" |
552 |
- ewarn " support. You can probably remove pgp-classic (old crypt)" |
553 |
- ewarn " and smime-classic (old smime) from your USE-flags and" |
554 |
- ewarn " only enable gpgme." |
555 |
- fi |
556 |
-} |