From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 518761581EE for ; Fri, 04 Apr 2025 11:29:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3C3B5343170 for ; Fri, 04 Apr 2025 11:29:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 41DFC1102CE; Fri, 04 Apr 2025 11:29:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 359EE1102CE for ; Fri, 04 Apr 2025 11:29:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C44A2343170 for ; Fri, 04 Apr 2025 11:29:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5956C2FE for ; Fri, 04 Apr 2025 11:29:38 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1743766165.9dbb6f04f093a32a0495effd010eece466b7cf0f.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/neomutt/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/neomutt/Manifest mail-client/neomutt/neomutt-20240425.ebuild mail-client/neomutt/neomutt-20241114.ebuild mail-client/neomutt/neomutt-20241212.ebuild X-VCS-Directories: mail-client/neomutt/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 9dbb6f04f093a32a0495effd010eece466b7cf0f X-VCS-Branch: master Date: Fri, 04 Apr 2025 11:29:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 746e1571-415e-44cf-bebc-c5a0545d0743 X-Archives-Hash: 6ad658744ccb99702fa39ca908ee762e commit: 9dbb6f04f093a32a0495effd010eece466b7cf0f Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Apr 4 11:29:25 2025 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Apr 4 11:29:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbb6f04 mail-client/neomutt: drop 20240425, 20241114, 20241212 Signed-off-by: Marc Schiffbauer gentoo.org> mail-client/neomutt/Manifest | 3 - mail-client/neomutt/neomutt-20240425.ebuild | 176 ---------------------------- mail-client/neomutt/neomutt-20241114.ebuild | 176 ---------------------------- mail-client/neomutt/neomutt-20241212.ebuild | 176 ---------------------------- 4 files changed, 531 deletions(-) diff --git a/mail-client/neomutt/Manifest b/mail-client/neomutt/Manifest index 2ffbab66d511..e8e1bda487a7 100644 --- a/mail-client/neomutt/Manifest +++ b/mail-client/neomutt/Manifest @@ -1,7 +1,4 @@ DIST neomutt-20240201.tar.gz 3831010 BLAKE2B 70654b8edb5b6e01585bb3551a7af3722aebc44a70804ec9e16511eec9b892a4bcf68e043699591b2610095558f3893d4d7f5c15e860c7b8c17458a872c3f170 SHA512 431270a093bfa5024f2565aa8921e3482262210ca03c410362b6fa504aa1f2e299d1f6eb63cb05dcaf7b1328051b5d32c4fd719b5cb7ddec83a176a85ff5dc53 -DIST neomutt-20240425.tar.gz 4092419 BLAKE2B 35728b226a3c6d59b95daf7f2af1d155ed15b9f82958f79fc4c012df1014c5995f8e542ca2df2cdb6d79bbc537c13e7e941355dab5e4879c999f23f107db1ace SHA512 bb47aba1aa8ecc824d9d0a8f6be23f2d39f0aac06739920ee349ff96bc27cbe39b6cfa797f648eb683fe49f01fa1873805a3ed2e7cbf4124dae12517591c02c9 -DIST neomutt-20241114.tar.gz 4072339 BLAKE2B 86ca9eefa9649bc7684415213041ae513a17a1a5a6107f7904fa4a7581557f7a9585f6d98f715adee0c93bbe43651055ffca3d7c051f3c8bcff5d633237b0d7d SHA512 3325b27fc09fdb0147abbd17ecc5059ab2460a7537b09fad846a9835c70cd7a1904488c76cb420a8db57b43905ebf81b8a2f0afa6a3c7f7a827c760d63353f00 -DIST neomutt-20241212.tar.gz 4098483 BLAKE2B 2a0d81e2e990864d7330e35dab555e898c0d992b2722fe5dbfc09324377b425c877f081c5944508b14907413891baf19e08936df03cb7dd926c624691805d563 SHA512 cbb82a2fb5943092019e6c538af15dbf83cbb4620310d8a7295a425ef10594a07b0ed64a3e4174f75e9483da08daa36d01c7405b5252a9e074076af7e2023079 DIST neomutt-20250113.tar.gz 4099632 BLAKE2B 7c36668a1c8608f5ea488966b59263745f0dac98df8061da0442d2dad4afe7d4ea005f7a2c11ff7c505f5830dad4e89ad4ec078b2be8c225b46059d468d8794f SHA512 714a9c8c712b327aa9dc98af776d66a2ba0f584bb09048b464526662e22183c739832bfbe72eb9762862ee209c36d4269cf5ecd528a6026d587c40d221b14178 DIST neomutt-20250404.tar.gz 4177395 BLAKE2B 76ffa3c22a8e1901a98bf02241fd979b79ddbcceea32ad87545f14ebd6b03150b097da72cfef79ec920180083154a16714d389ce8f9a4ae3512deeb92c85a0a4 SHA512 f1ed60071d2c70ce6065ff04a79d175ba9b9da54607388972b4074c837c943d47713aa4f6ecc21913a77fb373a98ce26edab16c012b4c238560e56984ef7dc69 DIST neomutt-test-files-8629adab700a75c54e8e28bf05ad092503a98f75.tar.gz 3673 BLAKE2B 50354f19aedc5fc07d59ecb5b38fa65de16119bc0929f47014bd35dab4d3a4e5953c8b35670f3440003cf0cbccc2d0d2b3a869dc929cdc3cd60b02790270fb54 SHA512 3d4962210bc558234d818801dcaa7851a0aef011c96d91c054af535186ffda42059fc61fb148c48e1b076999fe3159b31589a69a29ed1897f8928f52fcc157d3 diff --git a/mail-client/neomutt/neomutt-20240425.ebuild b/mail-client/neomutt/neomutt-20240425.ebuild deleted file mode 100644 index f0e77fe65e6e..000000000000 --- a/mail-client/neomutt/neomutt-20240425.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="A small but very powerful text-based mail client" -HOMEPAGE="https://neomutt.org/" - -if [[ ${PV} =~ 99999999$ ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -fi - -TEST_FILES_COMMIT=8629adab700a75c54e8e28bf05ad092503a98f75 -SRC_URI+=" test? ( https://github.com/${PN}/neomutt-test-files/archive/${TEST_FILES_COMMIT}.tar.gz -> neomutt-test-files-${TEST_FILES_COMMIT}.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet lmdb lz4 - nls notmuch pgp-classic qdbm sasl selinux smime-classic ssl tokyocabinet - test zlib zstd" -REQUIRED_USE=" - autocrypt? ( gpgme )" - -CDEPEND=" - app-misc/mime-types - berkdb? ( - || ( - sys-libs/db:6.0 - sys-libs/db:5.3 - sys-libs/db:4.8 - ) - =net-libs/gnutls-1.0.17:= ) - gpgme? ( >=app-crypt/gpgme-1.13.1:= ) - autocrypt? ( >=dev-db/sqlite-3 ) - idn? ( net-dns/libidn2:= ) - kerberos? ( virtual/krb5 ) - notmuch? ( net-mail/notmuch:= ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - 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:= - net-mail/mailbase - doc? ( - dev-libs/libxml2 - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - || ( - www-client/lynx - www-client/w3m - www-client/elinks - ) - ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-mutt ) -" - -RESTRICT="!test? ( test )" - -src_unpack() { - if [[ -n ${A} ]]; then - unpack ${A} - fi - if [[ ${PV} =~ 99999999$ ]]; then - git-r3_src_unpack - fi -} - -src_configure() { - local myconf=( - "$(usex doc --full-doc --disable-doc)" - "$(use_enable nls)" - "$(use_enable notmuch)" - - "$(use_enable autocrypt)" - "$(use_enable gpgme)" - "$(use_enable pgp-classic pgp)" - "$(use_enable smime-classic smime)" - - # Database backends. - "$(use_enable berkdb bdb)" - "$(use_enable gdbm)" - "$(use_enable kyotocabinet)" - "$(use_enable qdbm)" - "$(use_enable tokyocabinet)" - - # Header compression. - "$(use_enable lz4)" - "$(use_enable zlib)" - "$(use_enable zstd)" - - --disable-idn - "$(use_enable idn idn2)" - "$(use_enable kerberos gss)" - "$(use_enable lmdb)" - "$(use_enable sasl)" - "--sysconfdir=${EPREFIX}/etc/${PN}" - "$(use_enable ssl)" - "$(use_enable gnutls)" - - "$(usex test --testing --disable-testing)" - ) - - if is-flagq -fsanitize=address; then - myconf+=( --asan ) - fi - if is-flagq -fsanitize=undefined; then - myconf+=( --ubsan ) - fi - - econf CCACHE=none CC_FOR_BUILD="$(tc-getCC)" "${myconf[@]}" -} - -src_test() { - local test_dir="$(readlink --canonicalize "${S}"/../neomutt-test-files-${TEST_FILES_COMMIT})" - pushd ${test_dir} || die "Could not cd into test_dir" - NEOMUTT_TEST_DIR="${test_dir}" ./setup.sh \ - || die "Failed to run the setup.sh script" - popd || die "Could not cd back" - NEOMUTT_TEST_DIR="${test_dir}" emake test -} - -src_install() { - emake DESTDIR="${D}" install - - # A man-page is always handy, so fake one - here neomuttrc.5 (neomutt.1 - # already exists) - if use !doc; then - sed -n \ - -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ - Makefile > docs/Makefile.fakedoc || die - sed -n \ - -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ - -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ - docs/Makefile.autosetup >> docs/Makefile.fakedoc || die - emake -f docs/Makefile.fakedoc docs/neomutt.1 - emake -f docs/Makefile.fakedoc docs/neomuttrc.5 - doman docs/neomutt.1 docs/neomuttrc.5 - fi - - dodoc LICENSE* ChangeLog* README* -} - -pkg_postinst() { - if use gpgme && ( use pgp-classic || use smime-classic ); then - ewarn " Note that gpgme (old gpg) includes both pgp and smime" - ewarn " support. You can probably remove pgp-classic (old crypt)" - ewarn " and smime-classic (old smime) from your USE-flags and" - ewarn " only enable gpgme." - fi - - if use autocrypt && ! use idn; then - ewarn " It is highly recommended that NeoMutt be also configured" - ewarn " with idn when autocrypt is enabled." - fi -} diff --git a/mail-client/neomutt/neomutt-20241114.ebuild b/mail-client/neomutt/neomutt-20241114.ebuild deleted file mode 100644 index f0e77fe65e6e..000000000000 --- a/mail-client/neomutt/neomutt-20241114.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="A small but very powerful text-based mail client" -HOMEPAGE="https://neomutt.org/" - -if [[ ${PV} =~ 99999999$ ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -fi - -TEST_FILES_COMMIT=8629adab700a75c54e8e28bf05ad092503a98f75 -SRC_URI+=" test? ( https://github.com/${PN}/neomutt-test-files/archive/${TEST_FILES_COMMIT}.tar.gz -> neomutt-test-files-${TEST_FILES_COMMIT}.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet lmdb lz4 - nls notmuch pgp-classic qdbm sasl selinux smime-classic ssl tokyocabinet - test zlib zstd" -REQUIRED_USE=" - autocrypt? ( gpgme )" - -CDEPEND=" - app-misc/mime-types - berkdb? ( - || ( - sys-libs/db:6.0 - sys-libs/db:5.3 - sys-libs/db:4.8 - ) - =net-libs/gnutls-1.0.17:= ) - gpgme? ( >=app-crypt/gpgme-1.13.1:= ) - autocrypt? ( >=dev-db/sqlite-3 ) - idn? ( net-dns/libidn2:= ) - kerberos? ( virtual/krb5 ) - notmuch? ( net-mail/notmuch:= ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - 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:= - net-mail/mailbase - doc? ( - dev-libs/libxml2 - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - || ( - www-client/lynx - www-client/w3m - www-client/elinks - ) - ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-mutt ) -" - -RESTRICT="!test? ( test )" - -src_unpack() { - if [[ -n ${A} ]]; then - unpack ${A} - fi - if [[ ${PV} =~ 99999999$ ]]; then - git-r3_src_unpack - fi -} - -src_configure() { - local myconf=( - "$(usex doc --full-doc --disable-doc)" - "$(use_enable nls)" - "$(use_enable notmuch)" - - "$(use_enable autocrypt)" - "$(use_enable gpgme)" - "$(use_enable pgp-classic pgp)" - "$(use_enable smime-classic smime)" - - # Database backends. - "$(use_enable berkdb bdb)" - "$(use_enable gdbm)" - "$(use_enable kyotocabinet)" - "$(use_enable qdbm)" - "$(use_enable tokyocabinet)" - - # Header compression. - "$(use_enable lz4)" - "$(use_enable zlib)" - "$(use_enable zstd)" - - --disable-idn - "$(use_enable idn idn2)" - "$(use_enable kerberos gss)" - "$(use_enable lmdb)" - "$(use_enable sasl)" - "--sysconfdir=${EPREFIX}/etc/${PN}" - "$(use_enable ssl)" - "$(use_enable gnutls)" - - "$(usex test --testing --disable-testing)" - ) - - if is-flagq -fsanitize=address; then - myconf+=( --asan ) - fi - if is-flagq -fsanitize=undefined; then - myconf+=( --ubsan ) - fi - - econf CCACHE=none CC_FOR_BUILD="$(tc-getCC)" "${myconf[@]}" -} - -src_test() { - local test_dir="$(readlink --canonicalize "${S}"/../neomutt-test-files-${TEST_FILES_COMMIT})" - pushd ${test_dir} || die "Could not cd into test_dir" - NEOMUTT_TEST_DIR="${test_dir}" ./setup.sh \ - || die "Failed to run the setup.sh script" - popd || die "Could not cd back" - NEOMUTT_TEST_DIR="${test_dir}" emake test -} - -src_install() { - emake DESTDIR="${D}" install - - # A man-page is always handy, so fake one - here neomuttrc.5 (neomutt.1 - # already exists) - if use !doc; then - sed -n \ - -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ - Makefile > docs/Makefile.fakedoc || die - sed -n \ - -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ - -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ - docs/Makefile.autosetup >> docs/Makefile.fakedoc || die - emake -f docs/Makefile.fakedoc docs/neomutt.1 - emake -f docs/Makefile.fakedoc docs/neomuttrc.5 - doman docs/neomutt.1 docs/neomuttrc.5 - fi - - dodoc LICENSE* ChangeLog* README* -} - -pkg_postinst() { - if use gpgme && ( use pgp-classic || use smime-classic ); then - ewarn " Note that gpgme (old gpg) includes both pgp and smime" - ewarn " support. You can probably remove pgp-classic (old crypt)" - ewarn " and smime-classic (old smime) from your USE-flags and" - ewarn " only enable gpgme." - fi - - if use autocrypt && ! use idn; then - ewarn " It is highly recommended that NeoMutt be also configured" - ewarn " with idn when autocrypt is enabled." - fi -} diff --git a/mail-client/neomutt/neomutt-20241212.ebuild b/mail-client/neomutt/neomutt-20241212.ebuild deleted file mode 100644 index f0e77fe65e6e..000000000000 --- a/mail-client/neomutt/neomutt-20241212.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="A small but very powerful text-based mail client" -HOMEPAGE="https://neomutt.org/" - -if [[ ${PV} =~ 99999999$ ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -fi - -TEST_FILES_COMMIT=8629adab700a75c54e8e28bf05ad092503a98f75 -SRC_URI+=" test? ( https://github.com/${PN}/neomutt-test-files/archive/${TEST_FILES_COMMIT}.tar.gz -> neomutt-test-files-${TEST_FILES_COMMIT}.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet lmdb lz4 - nls notmuch pgp-classic qdbm sasl selinux smime-classic ssl tokyocabinet - test zlib zstd" -REQUIRED_USE=" - autocrypt? ( gpgme )" - -CDEPEND=" - app-misc/mime-types - berkdb? ( - || ( - sys-libs/db:6.0 - sys-libs/db:5.3 - sys-libs/db:4.8 - ) - =net-libs/gnutls-1.0.17:= ) - gpgme? ( >=app-crypt/gpgme-1.13.1:= ) - autocrypt? ( >=dev-db/sqlite-3 ) - idn? ( net-dns/libidn2:= ) - kerberos? ( virtual/krb5 ) - notmuch? ( net-mail/notmuch:= ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - 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:= - net-mail/mailbase - doc? ( - dev-libs/libxml2 - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - || ( - www-client/lynx - www-client/w3m - www-client/elinks - ) - ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-mutt ) -" - -RESTRICT="!test? ( test )" - -src_unpack() { - if [[ -n ${A} ]]; then - unpack ${A} - fi - if [[ ${PV} =~ 99999999$ ]]; then - git-r3_src_unpack - fi -} - -src_configure() { - local myconf=( - "$(usex doc --full-doc --disable-doc)" - "$(use_enable nls)" - "$(use_enable notmuch)" - - "$(use_enable autocrypt)" - "$(use_enable gpgme)" - "$(use_enable pgp-classic pgp)" - "$(use_enable smime-classic smime)" - - # Database backends. - "$(use_enable berkdb bdb)" - "$(use_enable gdbm)" - "$(use_enable kyotocabinet)" - "$(use_enable qdbm)" - "$(use_enable tokyocabinet)" - - # Header compression. - "$(use_enable lz4)" - "$(use_enable zlib)" - "$(use_enable zstd)" - - --disable-idn - "$(use_enable idn idn2)" - "$(use_enable kerberos gss)" - "$(use_enable lmdb)" - "$(use_enable sasl)" - "--sysconfdir=${EPREFIX}/etc/${PN}" - "$(use_enable ssl)" - "$(use_enable gnutls)" - - "$(usex test --testing --disable-testing)" - ) - - if is-flagq -fsanitize=address; then - myconf+=( --asan ) - fi - if is-flagq -fsanitize=undefined; then - myconf+=( --ubsan ) - fi - - econf CCACHE=none CC_FOR_BUILD="$(tc-getCC)" "${myconf[@]}" -} - -src_test() { - local test_dir="$(readlink --canonicalize "${S}"/../neomutt-test-files-${TEST_FILES_COMMIT})" - pushd ${test_dir} || die "Could not cd into test_dir" - NEOMUTT_TEST_DIR="${test_dir}" ./setup.sh \ - || die "Failed to run the setup.sh script" - popd || die "Could not cd back" - NEOMUTT_TEST_DIR="${test_dir}" emake test -} - -src_install() { - emake DESTDIR="${D}" install - - # A man-page is always handy, so fake one - here neomuttrc.5 (neomutt.1 - # already exists) - if use !doc; then - sed -n \ - -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \ - -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \ - Makefile > docs/Makefile.fakedoc || die - sed -n \ - -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \ - -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \ - docs/Makefile.autosetup >> docs/Makefile.fakedoc || die - emake -f docs/Makefile.fakedoc docs/neomutt.1 - emake -f docs/Makefile.fakedoc docs/neomuttrc.5 - doman docs/neomutt.1 docs/neomuttrc.5 - fi - - dodoc LICENSE* ChangeLog* README* -} - -pkg_postinst() { - if use gpgme && ( use pgp-classic || use smime-classic ); then - ewarn " Note that gpgme (old gpg) includes both pgp and smime" - ewarn " support. You can probably remove pgp-classic (old crypt)" - ewarn " and smime-classic (old smime) from your USE-flags and" - ewarn " only enable gpgme." - fi - - if use autocrypt && ! use idn; then - ewarn " It is highly recommended that NeoMutt be also configured" - ewarn " with idn when autocrypt is enabled." - fi -}