1 |
commit: 55e57d3d2ebef33004b523a95c8d9c9891ac1c1e |
2 |
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 19:18:11 2021 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 19:19:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e57d3d |
7 |
|
8 |
mail-client/neomutt: Version bump to 20211029 |
9 |
|
10 |
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org> |
11 |
|
12 |
mail-client/neomutt/Manifest | 1 + |
13 |
mail-client/neomutt/neomutt-20211029.ebuild | 162 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 163 insertions(+) |
15 |
|
16 |
diff --git a/mail-client/neomutt/Manifest b/mail-client/neomutt/Manifest |
17 |
index 16c0661c665..77081a6f190 100644 |
18 |
--- a/mail-client/neomutt/Manifest |
19 |
+++ b/mail-client/neomutt/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST neomutt-20210205.tar.gz 3476980 BLAKE2B 2b8f07a957d668f0903ae3f48d72e0b00414b9ed0411723bc725cd2369ed16c31e461799a0161f3b6caecb8b3a182a0ad9ca7bbb5431ed9ff67cae5dc87b11e5 SHA512 4e9faaa989eb17d1f65e835d3ad37bbda3307f9a939f351776d4cb4677d856fa998ba0eff04bf0cf344485977077695e07c55e79e0800888f646c46fbfac8554 |
22 |
DIST neomutt-20211015.tar.gz 3727778 BLAKE2B 2a2c57014b089a86ee38a261251ef1ee8c07d25753358cde4f3be0897a04f1fa54828e7cbe7435d004adc49afa40bcfd80ad7e9a8f4c4e7b11ebd7d7f7f60a2a SHA512 b466fa73567b3f97c084133315dc8b35578ca369018a7beccb0e6f18324add262c591671c4fc60defd3c9623db7e95e2f631a6df10b0ef3869cf0e4a6b0eec03 |
23 |
DIST neomutt-20211022.tar.gz 3731092 BLAKE2B 764b82e1fffda57949b063b2c7b9a0c747c2769cc546ff04e56d8f9d91e689be72fd9a7e05a772162b9fae3683dd72631982056ca12c8d4a061efeb8013ac55e SHA512 8e574cd9bed19880eeb1605bb8fac1e5933571c2b499364465efce4212e2bcd7c6bc9909bf8241b5dd0fa461a55f71fdd04f4b35fc1d92ffea4647ac2b3672d0 |
24 |
+DIST neomutt-20211029.tar.gz 3702926 BLAKE2B 28868799da89d0acfe75b07b6716b25cd827a187711ed011a46b90135358521eccf4a6cd8938983342d4cdd04ffc951cdbf4531f9f48e2209e58e8133932df3a SHA512 7335a4451aa8657aa83988b42fb78c5ebdc82ce4395d93d1eb2fded36b02d3fac9b8fed3cf1353042ecebe11e6ccdd9d403b99f068555693901b1700791e3ae0 |
25 |
DIST neomutt-test-files-8629adab700a75c54e8e28bf05ad092503a98f75.tar.gz 3673 BLAKE2B 50354f19aedc5fc07d59ecb5b38fa65de16119bc0929f47014bd35dab4d3a4e5953c8b35670f3440003cf0cbccc2d0d2b3a869dc929cdc3cd60b02790270fb54 SHA512 3d4962210bc558234d818801dcaa7851a0aef011c96d91c054af535186ffda42059fc61fb148c48e1b076999fe3159b31589a69a29ed1897f8928f52fcc157d3 |
26 |
|
27 |
diff --git a/mail-client/neomutt/neomutt-20211029.ebuild b/mail-client/neomutt/neomutt-20211029.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..dd0fe7e9a57 |
30 |
--- /dev/null |
31 |
+++ b/mail-client/neomutt/neomutt-20211029.ebuild |
32 |
@@ -0,0 +1,162 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+if [[ ${PV} =~ 99999999$ ]]; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~ppc64 ~s390 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+TEST_FILES_COMMIT=8629adab700a75c54e8e28bf05ad092503a98f75 |
49 |
+SRC_URI+=" test? ( https://github.com/${PN}/neomutt-test-files/archive/${TEST_FILES_COMMIT}.tar.gz -> neomutt-test-files-${TEST_FILES_COMMIT}.tar.gz )" |
50 |
+ |
51 |
+DESCRIPTION="A small but very powerful text-based mail client" |
52 |
+HOMEPAGE="https://neomutt.org/" |
53 |
+ |
54 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet |
57 |
+ lmdb lz4 nls notmuch pgp-classic qdbm sasl selinux slang smime-classic |
58 |
+ ssl tokyocabinet test zlib zstd" |
59 |
+REQUIRED_USE=" |
60 |
+ autocrypt? ( gpgme )" |
61 |
+ |
62 |
+CDEPEND=" |
63 |
+ app-misc/mime-types |
64 |
+ berkdb? ( |
65 |
+ || ( |
66 |
+ sys-libs/db:6.2 |
67 |
+ sys-libs/db:5.3 |
68 |
+ sys-libs/db:4.8 |
69 |
+ ) |
70 |
+ <sys-libs/db-6.3:= |
71 |
+ ) |
72 |
+ gdbm? ( sys-libs/gdbm:= ) |
73 |
+ kyotocabinet? ( dev-db/kyotocabinet ) |
74 |
+ lmdb? ( dev-db/lmdb:= ) |
75 |
+ nls? ( virtual/libintl ) |
76 |
+ qdbm? ( dev-db/qdbm ) |
77 |
+ tokyocabinet? ( dev-db/tokyocabinet ) |
78 |
+ gnutls? ( >=net-libs/gnutls-1.0.17:= ) |
79 |
+ gpgme? ( >=app-crypt/gpgme-1.13.1:= ) |
80 |
+ autocrypt? ( >=dev-db/sqlite-3 ) |
81 |
+ idn? ( net-dns/libidn:= ) |
82 |
+ kerberos? ( virtual/krb5 ) |
83 |
+ notmuch? ( net-mail/notmuch:= ) |
84 |
+ sasl? ( >=dev-libs/cyrus-sasl-2 ) |
85 |
+ !slang? ( sys-libs/ncurses:0= ) |
86 |
+ slang? ( sys-libs/slang ) |
87 |
+ ssl? ( >=dev-libs/openssl-1.0.2u:0= ) |
88 |
+ lz4? ( app-arch/lz4 ) |
89 |
+ zlib? ( sys-libs/zlib ) |
90 |
+ zstd? ( app-arch/zstd ) |
91 |
+" |
92 |
+DEPEND="${CDEPEND} |
93 |
+ dev-lang/tcl:= |
94 |
+ net-mail/mailbase |
95 |
+ doc? ( |
96 |
+ dev-libs/libxml2 |
97 |
+ dev-libs/libxslt |
98 |
+ app-text/docbook-xsl-stylesheets |
99 |
+ || ( |
100 |
+ www-client/lynx |
101 |
+ www-client/w3m |
102 |
+ www-client/elinks |
103 |
+ ) |
104 |
+ ) |
105 |
+" |
106 |
+RDEPEND="${CDEPEND} |
107 |
+ selinux? ( sec-policy/selinux-mutt ) |
108 |
+" |
109 |
+ |
110 |
+RESTRICT="!test? ( test )" |
111 |
+ |
112 |
+src_configure() { |
113 |
+ local myconf=( |
114 |
+ "$(usex doc --full-doc --disable-doc)" |
115 |
+ "$(use_enable nls)" |
116 |
+ "$(use_enable notmuch)" |
117 |
+ |
118 |
+ "$(use_enable autocrypt)" |
119 |
+ "$(use_enable gpgme)" |
120 |
+ "$(use_enable pgp-classic pgp)" |
121 |
+ "$(use_enable smime-classic smime)" |
122 |
+ |
123 |
+ # Database backends. |
124 |
+ "$(use_enable berkdb bdb)" |
125 |
+ "$(use_enable gdbm)" |
126 |
+ "$(use_enable kyotocabinet)" |
127 |
+ "$(use_enable qdbm)" |
128 |
+ "$(use_enable tokyocabinet)" |
129 |
+ |
130 |
+ # Header compression. |
131 |
+ "$(use_enable lz4)" |
132 |
+ "$(use_enable zlib)" |
133 |
+ "$(use_enable zstd)" |
134 |
+ |
135 |
+ "$(use_enable idn)" |
136 |
+ "$(use_enable kerberos gss)" |
137 |
+ "$(use_enable lmdb)" |
138 |
+ "$(use_enable sasl)" |
139 |
+ "--with-ui=$(usex slang slang ncurses)" |
140 |
+ "--sysconfdir=${EPREFIX}/etc/${PN}" |
141 |
+ "$(use_enable ssl)" |
142 |
+ "$(use_enable gnutls)" |
143 |
+ |
144 |
+ "$(usex test --testing --disable-testing)" |
145 |
+ ) |
146 |
+ |
147 |
+ econf CCACHE=none CC_FOR_BUILD=$(tc-getCC) "${myconf[@]}" |
148 |
+} |
149 |
+ |
150 |
+src_test() { |
151 |
+ local test_dir="$(readlink --canonicalize ${S}/../neomutt-test-files-${TEST_FILES_COMMIT})" |
152 |
+ pushd ${test_dir} || die "Could not cd into test_dir" |
153 |
+ NEOMUTT_TEST_DIR="${test_dir}" ./setup.sh \ |
154 |
+ || die "Failed to run the setup.sh script" |
155 |
+ popd || die "Could not cd back" |
156 |
+ NEOMUTT_TEST_DIR="${test_dir}" emake test |
157 |
+} |
158 |
+ |
159 |
+src_install() { |
160 |
+ emake DESTDIR="${D}" install |
161 |
+ |
162 |
+ # A man-page is always handy, so fake one - here neomuttrc.5 (neomutt.1 |
163 |
+ # already exists) |
164 |
+ if use !doc; then |
165 |
+ sed -n \ |
166 |
+ -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ |
167 |
+ -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ |
168 |
+ -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ |
169 |
+ Makefile > docs/Makefile.fakedoc || die |
170 |
+ sed -n \ |
171 |
+ -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ |
172 |
+ -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ |
173 |
+ docs/Makefile.autosetup >> docs/Makefile.fakedoc || die |
174 |
+ emake -f docs/Makefile.fakedoc docs/neomutt.1 |
175 |
+ emake -f docs/Makefile.fakedoc docs/neomuttrc.5 |
176 |
+ doman docs/neomutt.1 docs/neomuttrc.5 |
177 |
+ fi |
178 |
+ |
179 |
+ dodoc LICENSE* ChangeLog* README* |
180 |
+} |
181 |
+ |
182 |
+pkg_postinst() { |
183 |
+ if use gpgme && ( use pgp-classic || use smime-classic ); then |
184 |
+ ewarn " Note that gpgme (old gpg) includes both pgp and smime" |
185 |
+ ewarn " support. You can probably remove pgp-classic (old crypt)" |
186 |
+ ewarn " and smime-classic (old smime) from your USE-flags and" |
187 |
+ ewarn " only enable gpgme." |
188 |
+ fi |
189 |
+ |
190 |
+ if use autocrypt && ! use idn; then |
191 |
+ ewarn " It is highly recommended that NeoMutt be also configured" |
192 |
+ ewarn " with idn when autocrypt is enabled." |
193 |
+ fi |
194 |
+} |