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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EF5815808D for ; Sat, 23 Apr 2022 17:23:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0106E08FC; Sat, 23 Apr 2022 17:22:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92D89E08FC for ; Sat, 23 Apr 2022 17:22:58 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20779341DB2 for ; Sat, 23 Apr 2022 17:22:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C7312E0 for ; Sat, 23 Apr 2022 17:22:51 +0000 (UTC) From: "Philippe Chaintreuil" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Philippe Chaintreuil" Message-ID: <1650734368.c64059b5d460b6cb4c5a813fa7789e9d4ed48738.gentoo_bugs_peep@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-mail/dovecot-fts-xapian/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild X-VCS-Directories: net-mail/dovecot-fts-xapian/ X-VCS-Committer: gentoo_bugs_peep X-VCS-Committer-Name: Philippe Chaintreuil X-VCS-Revision: c64059b5d460b6cb4c5a813fa7789e9d4ed48738 X-VCS-Branch: dev Date: Sat, 23 Apr 2022 17:22:51 +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: 05e9c3c4-653e-48c8-a920-a26b5e1d3d93 X-Archives-Hash: 8267df7c6222f7fc7eceb68f0910ac23 commit: c64059b5d460b6cb4c5a813fa7789e9d4ed48738 Author: Philippe Chaintreuil parallaxshift com> AuthorDate: Sat Apr 23 17:19:28 2022 +0000 Commit: Philippe Chaintreuil parallaxshift com> CommitDate: Sat Apr 23 17:19:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c64059b5 net-mail/dovecot-fts-xapian: add 9999 Signed-off-by: Philippe Chaintreuil parallaxshift.com> .../dovecot-fts-xapian-9999.ebuild | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild new file mode 100644 index 000000000..ac1085894 --- /dev/null +++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Dovecot FTS plugin backed by Xapian" +HOMEPAGE="https://github.com/grosjo/fts-xapian" + +if [ "$PV" = 9999 ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/grosjo/fts-xapian/" +else + SRC_URI="https://github.com/grosjo/fts-xapian/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/fts-xapian-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +IUSE="static-libs" + +RDEPEND=" + dev-libs/icu:= + >=dev-libs/xapian-1.4:= + net-mail/dovecot:= + " +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" +if [ "$PV" = 9999 ] ; then + BDPEND="${BDEPEND} + sys-devel/autoconf + sys-devel/autoconf-archive + " +fi + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot" \ + $( use_enable static-libs static ) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}