Gentoo Archives: gentoo-commits

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