From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E42FD158086 for ; Wed, 20 Oct 2021 01:14:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81BC0E086E; Wed, 20 Oct 2021 01:14:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58584E086E for ; Wed, 20 Oct 2021 01:14:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DDB834397C for ; Wed, 20 Oct 2021 01:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57BC8168 for ; Wed, 20 Oct 2021 01:14:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634692269.1ff0e7da8b05d24d9074ae0fa3581206110e7ed3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mu/Manifest net-mail/mu/mu-1.6.7.ebuild X-VCS-Directories: net-mail/mu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ff0e7da8b05d24d9074ae0fa3581206110e7ed3 X-VCS-Branch: master Date: Wed, 20 Oct 2021 01:14:31 +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: 8fd758b6-2477-471b-b7ea-078a082352b8 X-Archives-Hash: 168de7c9b550a89e39b3d597ed8662a2 commit: 1ff0e7da8b05d24d9074ae0fa3581206110e7ed3 Author: Matt Smith offtopica uk> AuthorDate: Sun Oct 17 10:25:18 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 20 01:11:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff0e7da net-mail/mu: Bump to 1.6.7 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Matt Smith offtopica.uk> Closes: https://github.com/gentoo/gentoo/pull/22612 Signed-off-by: Sam James gentoo.org> net-mail/mu/Manifest | 1 + net-mail/mu/mu-1.6.7.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index db4d5436557..56fec1cd99a 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -1 +1,2 @@ DIST mu-1.6.6.tar.xz 866724 BLAKE2B 3417d4b3e5bfae943558fbc936ca0207be912f9548621b1599437484e94f3b49271aa1e97e7cc2b5b6027b8e0cf97d3b96d2052772f7783d897b4fa0dcf03184 SHA512 07daf9864bfd1ff4278aee98a0ae9c4fc3be94468e3b2022ae801f048f339b5becdb9ad8ebb2e12b9131e0e6dfcfb541bdca8288657dc19d47b0e510831f54eb +DIST mu-1.6.7.tar.xz 867136 BLAKE2B 12b19d15c01a7101e3a936b12ee87fa5519c0e047e354f2fd1d481939dd5dffa34a94a5e7f3fda20e27771377e78524065cf5f93f7a2f818e202cdc93090ebff SHA512 ceae7b4508fc607dcda0fc20e9fb92b3533b1ba7ef94823cba2cd3a6ad3f18ccd3d2ea7da20e4c190e53f2d00ccdd3e1d25e12b89a08bf5233f5656be90b3c14 diff --git a/net-mail/mu/mu-1.6.7.ebuild b/net-mail/mu/mu-1.6.7.ebuild new file mode 100644 index 00000000000..94eaeb52fa2 --- /dev/null +++ b/net-mail/mu/mu-1.6.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common + +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/${PV}/mu-${PV}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos" +IUSE="emacs guile readline" + +DEPEND=" + dev-libs/glib:2 + dev-libs/gmime:3.0 + >=dev-libs/xapian-1.4:= + emacs? ( >=app-editors/emacs-25.3:* ) + guile? ( >=dev-scheme/guile-2.2:* ) + readline? ( sys-libs/readline:= )" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +SITEFILE="70mu-gentoo-autoload.el" + +src_configure() { + local myeconfargs=( + $(use_enable emacs mu4e) + $(use_enable guile) + $(use_enable readline) + --disable-gtk + --disable-webkit + ) + + econf "${myeconfargs[@]}" +} + +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 +}