diff options
Diffstat (limited to 'net-mail/mu')
-rw-r--r-- | net-mail/mu/Manifest | 4 | ||||
-rw-r--r-- | net-mail/mu/mu-1.12.8.ebuild | 99 | ||||
-rw-r--r-- | net-mail/mu/mu-1.12.9.ebuild | 99 |
3 files changed, 202 insertions, 0 deletions
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index bb0ba6fa0190..1cc47615b799 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -5,8 +5,12 @@ DIST mu-1.10.8.tar.xz 570792 BLAKE2B 6e65e77544011d0f6b8fb1a5ac4dfe074fe6af3504e DIST mu-1.12.4.tar.xz 715232 BLAKE2B 5886f07ad6fb12d8a538de80c4681cd2ba416da82839519a70676eabd2d2eef1fa1a53d004ab1524966682a4d6c2eef7e67cc4efc6f5e7c380e732b7614de854 SHA512 ddc0430fe41db3639433f60105a67bb184e611d8438a49e51fb9ea4b5b404c270bb78c9165cb3136a3b402a91a65735d917c0868ca4d134f13b4971b028da5b5 DIST mu-1.12.6.tar.xz 719392 BLAKE2B 75afdfa95f6711fb94e40757c23dd404e888610d36c7d6cbf29727770dbe8fcd1a207b7eae7e1cd06dcab2f088eb38cf7d045a59efbfa3e700d85a0e5f95164b SHA512 c3ba7b4c90d2749364f8c414d2eadcc4e6021237416d92cefd4542688b2fdafb1215a7b75b22fcafa68d349a22b69556d707e2c1e2752941e469a9231bb64ced DIST mu-1.12.7.tar.xz 722004 BLAKE2B 8a3beccd75b84833d011930044191664e1e153b07dc9e90b03548a45928b89fee52982a1b53f994ba9c7e344cf7d132a20325e26888436a09a2120cd8f30b8ea SHA512 5638cc0a9abc84a502773a6d020f96f4e588f0d39922f22c2a4814e591ad1cf9a9ef7a789afb37ac0c49d302f0503be0db16f00e949dc17a1b79be7e836b811f +DIST mu-1.12.8.tar.xz 727280 BLAKE2B cb3297f56e2fbd15dfbb7a66de39a82461f27f2773963325485831020370fb03558a6eb7c47784b08c7e1e0f433ee36cc7bc1e58061ed7847c9a4618afca1f81 SHA512 e9206c45e52f0c48b5acd6728f811c4bec5fe253174764be657c1c4d32bd9d232eafcc253322eab50ae6018a56af7b1e13cd36a2e2485f7f18c79f0c858fcbcc +DIST mu-1.12.9.tar.xz 734240 BLAKE2B e536e832872406d865565ec1ae3775042b4fc9d2f50e2581f3d247007b8aeb68507e59d08168cbd16870dc907314c522bedead73a99ca2d5e8a42b8a67898e7b SHA512 27cd28a44dc6c8146891337be2c478aa7bf9e1dc458c30f3895b7bbcbafabd6b290e01e3f8c5db97f09b6cd68aebb3a0a0d3e7d53e25b4cba30613e7b8123d19 EBUILD mu-1.10.8-r1.ebuild 2196 BLAKE2B 94f794bd3be0a72cb038225aa78644258a85558aba0db46d9f0b3604b34f20111dd3f76e87a2925d619068d48bf5e07c26861ea1674f23e74aeedeb89ef36248 SHA512 b6a997cf017581293c6b0a28f1b74938edff5f50571a49b56a00cd5877b0d738b6f3f12b185668640fa4862950ce42ff8994b54a607eb6f8ee2a3142d31fe686 EBUILD mu-1.12.4-r1.ebuild 2363 BLAKE2B a0309ca89430c5cbb30128abeeab4450708558aef5ddb97a2b2f2e5f9fb815c30b4663d4ff527abe3a49c65ca24fe2e10952e51245b2b47b60c49f7a54d2652d SHA512 1462eb58d24d8614baf66b7029166d3dea7136dcd80b38c40b08704255f7e0943731bd24e3b2747c2b425c2a1ed2461321da6421629f3c6a8758d091dfbab193 EBUILD mu-1.12.6-r1.ebuild 2361 BLAKE2B ac7a3812a5606b6f29da6419854dcb631197ff772fbfc755cc43fa0fb899bedf352c9534e919a1a219c5824d230ea83b307cd89b05905263499ab1f2447308d7 SHA512 8e84361011ba1694e580c28b6433d0d86cdbd9f4c97ca2090ce4860870fc1379ebd8cb389462733ba74ee495adaf26ad5559d77fe88e03d7cbba7054d1e6894a EBUILD mu-1.12.7.ebuild 2352 BLAKE2B e4acffecdb7edbcc4f31473d615803e21311a81a92d85d12ed249783847102128a72eeafb1eded81017eea065d8c74223dd5c4da41325817c65199f668173d5b SHA512 67746c5f9e522b8a59cc0c0b3b3dc8370ceb57c318c14aad4925871c6ba289e394c64deb8ab9f4c7be5ae937093a70cfa8bca777b5f623d4c0637254381824a7 +EBUILD mu-1.12.8.ebuild 2352 BLAKE2B 774960265093a1976c2c46d8ab10e6e0b0c81f927942c30b672686110aad9401f88e6f867b3767466aeb951163393724451a2dc16f19b273f9b99e1fe28aa6bc SHA512 39a805930b1e15d053992ccb0a026a79d77a6d2637a273f14dac3351bed7ee641a2ed993974525265015351f651e51511c58ff007c7b00b9a549ce0e37a298c1 +EBUILD mu-1.12.9.ebuild 2352 BLAKE2B 774960265093a1976c2c46d8ab10e6e0b0c81f927942c30b672686110aad9401f88e6f867b3767466aeb951163393724451a2dc16f19b273f9b99e1fe28aa6bc SHA512 39a805930b1e15d053992ccb0a026a79d77a6d2637a273f14dac3351bed7ee641a2ed993974525265015351f651e51511c58ff007c7b00b9a549ce0e37a298c1 MISC metadata.xml 893 BLAKE2B 4d21c0794fc184957939ebaab628b9a1abe0bbdb63915157e266ce0a773fe3acc52722d010d3b4e096f86257e945c0f9dd51cd0dbe54c37f717408ffe942bc06 SHA512 7f499e039820d12c9acd0affe2a402fc53ee6367684a3c2ba25669987f02b0fabb3db0de978e197876bd9e3af315734af398ba7c8305119c511d59c709b6e225 diff --git a/net-mail/mu/mu-1.12.8.ebuild b/net-mail/mu/mu-1.12.8.ebuild new file mode 100644 index 000000000000..72946b39aa4e --- /dev/null +++ b/net-mail/mu/mu-1.12.8.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 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 test" +RESTRICT="!test? ( test )" + +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) + $(meson_feature test tests) + -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 +} diff --git a/net-mail/mu/mu-1.12.9.ebuild b/net-mail/mu/mu-1.12.9.ebuild new file mode 100644 index 000000000000..72946b39aa4e --- /dev/null +++ b/net-mail/mu/mu-1.12.9.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 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 test" +RESTRICT="!test? ( test )" + +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) + $(meson_feature test tests) + -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 +} |