From b92911550490e2da121ec4b02d3cf60a2d31a17d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Apr 2024 12:04:26 +0100 Subject: gentoo auto-resync : 16:04:2024 - 12:04:26 --- net-mail/mu/Manifest | 2 + net-mail/mu/mu-1.12.4.ebuild | 97 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 net-mail/mu/mu-1.12.4.ebuild (limited to 'net-mail/mu') diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index 49bcf746f088..c21829fcf650 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -4,7 +4,9 @@ AUX mu-1.12.2-musl.patch 938 BLAKE2B 90e6e25033472c03730eec8076c055c92fc6d92a014 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 +DIST mu-1.12.4.tar.xz 715232 BLAKE2B 5886f07ad6fb12d8a538de80c4681cd2ba416da82839519a70676eabd2d2eef1fa1a53d004ab1524966682a4d6c2eef7e67cc4efc6f5e7c380e732b7614de854 SHA512 ddc0430fe41db3639433f60105a67bb184e611d8438a49e51fb9ea4b5b404c270bb78c9165cb3136a3b402a91a65735d917c0868ca4d134f13b4971b028da5b5 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 +EBUILD mu-1.12.4.ebuild 2290 BLAKE2B 2bce26b9d77d67712ccc8025945cb0e9ef7edf2bcc3d0ede07f3753d1ce54b4ed742235cb6c700dbdf0caf9d66b74ec6df3819b8785b22efdd24d1286e3df3bc SHA512 f09876f6f835564789b1eec59a874ffb6bd6e4737589e0b3ea79384cac3b14db24ff457efcc18c5d782b45b58ed3e012d9d38d6f2f135abef9f2d6ff995f9e80 MISC metadata.xml 893 BLAKE2B 4d21c0794fc184957939ebaab628b9a1abe0bbdb63915157e266ce0a773fe3acc52722d010d3b4e096f86257e945c0f9dd51cd0dbe54c37f717408ffe942bc06 SHA512 7f499e039820d12c9acd0affe2a402fc53ee6367684a3c2ba25669987f02b0fabb3db0de978e197876bd9e3af315734af398ba7c8305119c511d59c709b6e225 diff --git a/net-mail/mu/mu-1.12.4.ebuild b/net-mail/mu/mu-1.12.4.ebuild new file mode 100644 index 000000000000..974051ec7307 --- /dev/null +++ b/net-mail/mu/mu-1.12.4.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common meson readme.gentoo-r1 + +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 +) + +DOC_CONTENTS=" + To use mu4e you need to configure it in your .emacs file. + See the manual for more information: + https://www.djcbsoftware.nl/code/mu/mu4e/ +" +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} + + readme.gentoo_create_doc + fi +} + +pkg_postinst() { + use emacs && readme.gentoo_create_doc +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3