diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-09 00:31:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-09 00:31:01 +0100 |
commit | 85e9aa4b6ca3ad1da1147e6d728e350e11266456 (patch) | |
tree | b637dd642620d99909f84bd226fbf6baadf27ffe /net-mail/mu | |
parent | c510d9ec7aca9b092e381a7a4ff213757c7a9709 (diff) |
gentoo auto-resync : 09:04:2024 - 00:31:01
Diffstat (limited to 'net-mail/mu')
-rw-r--r-- | net-mail/mu/Manifest | 2 | ||||
-rw-r--r-- | net-mail/mu/mu-1.12.3.ebuild | 103 |
2 files changed, 105 insertions, 0 deletions
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index 803e688e4ac1..3e641d990ff8 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -4,6 +4,8 @@ AUX mu-1.12.0-no-python.patch 1372 BLAKE2B 76a32d7a4a90139e3e3ebcc6fc83b1ddccd6b AUX mu-1.12.2-musl.patch 938 BLAKE2B 90e6e25033472c03730eec8076c055c92fc6d92a014c241a634f68cb099a6406d61ba49d0a78255a633c25b8e20b7143290ccd79e45d89556656a9cf9798875a SHA512 b76e1e4465e86b42005462d4b8cb225afef2d21050602be06fb1ec7e47bbb731dd3e2a572599527767638ce1f3ff30ceed259b670e2ec0d843163ccc653db77e DIST mu-1.10.8.tar.xz 570792 BLAKE2B 6e65e77544011d0f6b8fb1a5ac4dfe074fe6af3504e2ce2577185a280af43c8d40e7ec3ed6bde90c6b6c6b4cd678a6ae5bae9430f7c2a03451f3f08fffe1c963 SHA512 d77fe955c44c09272feb7cd903dfc6f2a3b5974b81fef82bdb553ed2079e68451bb1ed11ce338ee2dfe9be835f0d99cb4ce0c4b41f43ecfad76e978732243c71 DIST mu-1.12.2.tar.xz 708852 BLAKE2B 72b9a0f8acad114d37a6dc7c214df5c6b2f3691f0f35dfe8408b3420e6d06d7e6345cd3db7bc32047c970367ac9d0374551fbbdff3616bcf9c96ebb7f9efcec5 SHA512 8733bdc6bed6e76278f052db8f270178f4ac269d610cd6f2ad44577be9b6fc8daeb85cd650b7ef2a21d141262065ecacdc9177fabd4bbe971d917943a2669b07 +DIST mu-1.12.3.tar.xz 714488 BLAKE2B 2f5ded323d94a028c33c447e877ec3cea3677bf69076893dd6751f69c47764eee2d779c13e8b5c601d0bd04beca4b8cef705a7fd2587fe1f81d22c381debee7a SHA512 27998f65636b42f7933cc39878d8900552aa1c94c90ea54f81d789c01eec5ddfdb93eb508b78a6416497c7c109193e1457b1ff2bafe98aa82ec88a4b5fc03832 EBUILD mu-1.10.8-r1.ebuild 2196 BLAKE2B 94f794bd3be0a72cb038225aa78644258a85558aba0db46d9f0b3604b34f20111dd3f76e87a2925d619068d48bf5e07c26861ea1674f23e74aeedeb89ef36248 SHA512 b6a997cf017581293c6b0a28f1b74938edff5f50571a49b56a00cd5877b0d738b6f3f12b185668640fa4862950ce42ff8994b54a607eb6f8ee2a3142d31fe686 EBUILD mu-1.12.2.ebuild 2383 BLAKE2B 258e8bbe267a97db89f934dcd6135f9912c04620c15a50ba46b2f5328e4fadfa2b8ac1df1bc2e83f35f0e4f43404744670c1f1583243b82821fa45363af09235 SHA512 97654240ea9c1db7c695724442c4d83fbdf8207425333df5dcdaea4039d3e13e16dfc12d9d888f3cab4f404b9d1cac32e8c9fb33a7ca7be5525535d2d6b58f3e +EBUILD mu-1.12.3.ebuild 2420 BLAKE2B 3a6a5a57787475abf2a24a71e643054c81ff2514e3d3ba94498d0806f34232fb3266540bd5836e87daeaf6cc8941c5ea483b19f2aba8c6e628c30be66c24bc3c SHA512 4d429208cf30de5d7da13f75293a6234adf95d77bb77c8a44625a2f4d67c755343c7f9929cb6cc8a029cf4390cd994834c0d53748390a70169273f7748748022 MISC metadata.xml 893 BLAKE2B 4d21c0794fc184957939ebaab628b9a1abe0bbdb63915157e266ce0a773fe3acc52722d010d3b4e096f86257e945c0f9dd51cd0dbe54c37f717408ffe942bc06 SHA512 7f499e039820d12c9acd0affe2a402fc53ee6367684a3c2ba25669987f02b0fabb3db0de978e197876bd9e3af315734af398ba7c8305119c511d59c709b6e225 diff --git a/net-mail/mu/mu-1.12.3.ebuild b/net-mail/mu/mu-1.12.3.ebuild new file mode 100644 index 000000000000..7f369aaa2f8a --- /dev/null +++ b/net-mail/mu/mu-1.12.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common meson + +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" +HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu" +SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz" + +# mu: GPL-3+ +# + cli11: BSD +# + fmt: MIT +# + tl: CC0-1.0 +# + variant-lite: Boost-1.0 +LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" +IUSE="emacs readline" + +DEPEND=" + dev-libs/glib:2 + dev-libs/gmime:3.0 + >=dev-libs/xapian-1.4:= + emacs? ( >=app-editors/emacs-25.3:* ) + readline? ( sys-libs/readline:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-apps/texinfo + virtual/pkgconfig +" + +PATCHES=( + # https://bugs.gentoo.org/925503 + "${FILESDIR}"/${PN}-1.12.0-no-python.patch +) + +SITEFILE="70mu-gentoo-autoload.el" + +src_prepare() { + default + + # Don't install NEWS.org into /usr/share/doc. + sed -i '/NEWS.org/,+1 d' meson.build || die + sed -i '/mu4e-about.org/d' mu4e/meson.build || die + + # Don't compress the info file. + sed -i '/gzip/d' build-aux/meson-install-info.sh || die + + # Instead, put it in /usr/share/doc/${PF}. + sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_feature readline) + -Dcld2=disabled + -Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)" + # TODO: revisit this, it's not actually deprecated, just been reworked + -Dguile=disabled + ) + meson_src_configure +} + +src_install() { + meson_src_install + + # Since meson no longer installs NEWS.org, install it with dodoc. + # Also, it must be uncompressed so that it can be viewed with + # mu4e-info. + docompress -x /usr/share/doc/${PF}/NEWS.org + dodoc NEWS.org + + if use emacs; then + # Same as above. + docompress -x /usr/share/doc/${PF}/mu4e-about.org + dodoc mu4e/mu4e-about.org + + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi +} + +pkg_preinst() { + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog "After upgrading from an old major version, you should" + elog "rebuild your mail index." + fi +} + +pkg_postinst() { + if use emacs; then + einfo "To use mu4e you need to configure it in your .emacs file" + einfo "See the manual for more information:" + einfo "https://www.djcbsoftware.nl/code/mu/mu4e/" + + elisp-site-regen + fi +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |