diff options
author | Jan Krieg <git@jankrieg.anonaddy.com> | 2021-09-27 23:24:54 +0200 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2021-09-28 10:37:58 -0600 |
commit | d1cd167ddc27dc858630490c9b3048d6f33de393 (patch) | |
tree | 0e22ed5f288acc71d79c08268d864e5fc94fddbb /mail-client/neomutt | |
parent | net-wireless/qdmr: bump (diff) | |
download | gentoo-d1cd167ddc27dc858630490c9b3048d6f33de393.tar.gz gentoo-d1cd167ddc27dc858630490c9b3048d6f33de393.tar.bz2 gentoo-d1cd167ddc27dc858630490c9b3048d6f33de393.zip |
mail-client/neomutt: Add use flags for header cache compression
Add the use flags lz4, zlib, and zstd to enable header cache
compression, which is supported by upstream since release 2020-03-13.
Closes: https://bugs.gentoo.org/815187
Closes: https://github.com/gentoo/gentoo/pull/22425
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jan Krieg <git@jankrieg.anonaddy.com>
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'mail-client/neomutt')
-rw-r--r-- | mail-client/neomutt/metadata.xml | 3 | ||||
-rw-r--r-- | mail-client/neomutt/neomutt-20210205-r1.ebuild | 12 | ||||
-rw-r--r-- | mail-client/neomutt/neomutt-99999999.ebuild | 12 |
3 files changed, 23 insertions, 4 deletions
diff --git a/mail-client/neomutt/metadata.xml b/mail-client/neomutt/metadata.xml index ba1eb61f14b3..f0351b470d80 100644 --- a/mail-client/neomutt/metadata.xml +++ b/mail-client/neomutt/metadata.xml @@ -27,6 +27,9 @@ traditional/inline PGP</flag> <flag name="smime-classic">Build classic-smime backend to support S/MIME</flag> + <flag name="lz4">Add lz4 support for header cache compression</flag> + <flag name="zlib">Add zlib support for header cache compression</flag> + <flag name="zstd">Add zstd support for header cache compression</flag> </use> <upstream> <remote-id type="github">neomutt/neomutt</remote-id> diff --git a/mail-client/neomutt/neomutt-20210205-r1.ebuild b/mail-client/neomutt/neomutt-20210205-r1.ebuild index ca913af6f3c4..cf9c213f4c7e 100644 --- a/mail-client/neomutt/neomutt-20210205-r1.ebuild +++ b/mail-client/neomutt/neomutt-20210205-r1.ebuild @@ -22,8 +22,8 @@ HOMEPAGE="https://neomutt.org/" LICENSE="GPL-2" SLOT="0" IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet - lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic - ssl tokyocabinet test" + lmdb lz4 nls notmuch pgp-classic qdbm sasl selinux slang smime-classic + ssl tokyocabinet test zlib zstd" REQUIRED_USE=" autocrypt? ( gpgme )" @@ -53,6 +53,9 @@ CDEPEND=" !slang? ( sys-libs/ncurses:0= ) slang? ( sys-libs/slang ) ssl? ( >=dev-libs/openssl-1.0.2u:0= ) + lz4? ( app-arch/lz4 ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd ) " DEPEND="${CDEPEND} dev-lang/tcl:= @@ -96,6 +99,11 @@ src_configure() { "$(use_enable qdbm)" "$(use_enable tokyocabinet)" + # Header compression. + "$(use_enable lz4)" + "$(use_enable zlib)" + "$(use_enable zstd)" + "$(use_enable idn)" "$(use_enable kerberos gss)" "$(use_enable lmdb)" diff --git a/mail-client/neomutt/neomutt-99999999.ebuild b/mail-client/neomutt/neomutt-99999999.ebuild index 2731fc6fe9ff..dd0fe7e9a572 100644 --- a/mail-client/neomutt/neomutt-99999999.ebuild +++ b/mail-client/neomutt/neomutt-99999999.ebuild @@ -22,8 +22,8 @@ HOMEPAGE="https://neomutt.org/" LICENSE="GPL-2" SLOT="0" IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet - lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic - ssl tokyocabinet test" + lmdb lz4 nls notmuch pgp-classic qdbm sasl selinux slang smime-classic + ssl tokyocabinet test zlib zstd" REQUIRED_USE=" autocrypt? ( gpgme )" @@ -53,6 +53,9 @@ CDEPEND=" !slang? ( sys-libs/ncurses:0= ) slang? ( sys-libs/slang ) ssl? ( >=dev-libs/openssl-1.0.2u:0= ) + lz4? ( app-arch/lz4 ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd ) " DEPEND="${CDEPEND} dev-lang/tcl:= @@ -92,6 +95,11 @@ src_configure() { "$(use_enable qdbm)" "$(use_enable tokyocabinet)" + # Header compression. + "$(use_enable lz4)" + "$(use_enable zlib)" + "$(use_enable zstd)" + "$(use_enable idn)" "$(use_enable kerberos gss)" "$(use_enable lmdb)" |