commit: f7679be72190304e5da6c8133d53fa46308b1774 Author: Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift <DOT> com> AuthorDate: Thu Jan 9 13:01:32 2025 +0000 Commit: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com> CommitDate: Sat Jan 11 21:28:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7679be7
net-mail/dovecot-fts-xapian: add 1.8.4 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift.com> net-mail/dovecot-fts-xapian/Manifest | 1 + .../dovecot-fts-xapian-1.8.4.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-mail/dovecot-fts-xapian/Manifest b/net-mail/dovecot-fts-xapian/Manifest index de47b5d94..476392622 100644 --- a/net-mail/dovecot-fts-xapian/Manifest +++ b/net-mail/dovecot-fts-xapian/Manifest @@ -2,4 +2,5 @@ DIST dovecot-fts-xapian-1.7.17.tar.gz 35008 BLAKE2B 4b90b4193e6e62ce1c371f4f3818 DIST dovecot-fts-xapian-1.7.18.tar.gz 35160 BLAKE2B 67f11719336366a8460e3b67b90b4909626b73cface42b845c9efa8dfc5a5a24212c6ed48b8e575786d870c7b8b416936841fd6cc5b1ea078b2d0498db7ae735 SHA512 fed0947c0c7870ef0519359863becea822a51b9c76bc59c7100a7c9961b05740845a3ea5755fbb30e6d79869cb0f5b5b35e60675284ffecee088dfb54f0d5dfc DIST dovecot-fts-xapian-1.8.1.tar.gz 35389 BLAKE2B 2e9d79930fa5bd9c49fa3b0f20a08e7f5684e41207f13ba09fd25e0d2a91de87d6ccd4b5e5c193a7d5b2d4a3cd0edb925e039b54ddbb8b940818a1ea641ce800 SHA512 e99f06c6b631506f9b61d9de1e5ec62d5bd7ef88a4e5220df597768c446f06e5aed70ef078fc3c9024cda14f37f8b9f7ce9f8007f86e1c6ec4e8c9914e874323 DIST dovecot-fts-xapian-1.8.3.tar.gz 35330 BLAKE2B 8338708c364d883943539ae6e5d2e1eac31d2dd6861b76a233aabf5f069c64a4d77fd865e59f124ec7fb42367c0e6348542f26f5441fac2392d3877be9ae5ea0 SHA512 9dbe62c9aa5571ee621e8d46ba356a0108780f54a143e667bd82b8befa55f2e64112cfd3c5413ab2b3612917f39a1a6a8d9bdcca00fb4437d6c3d3543391496d +DIST dovecot-fts-xapian-1.8.4.tar.gz 35418 BLAKE2B 202b6b6188685c679cad458c3c9703f27bc95397f27124b7c74b8ebbf1f251e5c9344456c4bf4fb58b9b27058b01f2d21d9df7814ac5fdfb8da32e617320885a SHA512 f7e3040def3a7c7dcd45efd59f19c4faa5ff1ca4690dd34b90a7319352b174da7ce0b156719a3268259ccd80c7ec11257305c64450b81dfbd176fa11bfec7bff DIST dovecot-fts-xapian-1.8.tar.gz 35196 BLAKE2B c30f2579ae168c18ff88e0b2dc65aec110a586a828ed69d5ec2a5b674af99c1dcb7525ac227522703b0a61491db5579e570cb5b8d9733403c978db7b2a0df0d8 SHA512 178922589ae307afbb465bdac9ba352c1198d4a97a204d190461751d0c117dad22119d964d8dbda2fb5f44a05f069536788a02e816a5822da28c8c96720c4a93 diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.4.ebuild b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.4.ebuild new file mode 100644 index 000000000..18a7328b4 --- /dev/null +++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.4.ebuild @@ -0,0 +1,49 @@ +# 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" +SRC_URI="https://github.com/grosjo/fts-xapian/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/fts-xapian-${PV}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="static-libs" + +RDEPEND=" + dev-libs/icu:= + >=dev-libs/xapian-1.4:= + net-mail/dovecot:= + dev-db/sqlite:* + " +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/bug-887887_allow-O2-override.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Disable hardening so CFLAGS are left up to the Gentoo user + # https://bugs.gentoo.org/888751 + econf \ + --enable-hardening=no \ + --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot" \ + $( use_enable static-libs static ) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
