commit:     361ac7ac314b25de0d2529753758732373cae440
Author:     Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift <DOT> 
com>
AuthorDate: Sun Feb  2 11:24:12 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Feb  2 12:34:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=361ac7ac

net-mail/dovecot-fts-xapian: add 1.9

Signed-off-by: Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift.com>

 net-mail/dovecot-fts-xapian/Manifest               |  1 +
 .../dovecot-fts-xapian-1.9.ebuild                  | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/net-mail/dovecot-fts-xapian/Manifest 
b/net-mail/dovecot-fts-xapian/Manifest
index 7916cded2..a108dab3e 100644
--- a/net-mail/dovecot-fts-xapian/Manifest
+++ b/net-mail/dovecot-fts-xapian/Manifest
@@ -5,3 +5,4 @@ DIST dovecot-fts-xapian-1.8.3.tar.gz 35330 BLAKE2B 
8338708c364d883943539ae6e5d2e
 DIST dovecot-fts-xapian-1.8.4.tar.gz 35418 BLAKE2B 
202b6b6188685c679cad458c3c9703f27bc95397f27124b7c74b8ebbf1f251e5c9344456c4bf4fb58b9b27058b01f2d21d9df7814ac5fdfb8da32e617320885a
 SHA512 
f7e3040def3a7c7dcd45efd59f19c4faa5ff1ca4690dd34b90a7319352b174da7ce0b156719a3268259ccd80c7ec11257305c64450b81dfbd176fa11bfec7bff
 DIST dovecot-fts-xapian-1.8.6.tar.gz 35377 BLAKE2B 
71e5b3f33f2794c92d7bef240cfc9365d6950cf8d0a9c216ce681287e7b00795b81962798b463f6fa5be8f640c3d9bf9f23d811a9017a7aeaa6211ada871a74b
 SHA512 
8a558bda26a5208216f542518c99556bc04928967f8a5d56e50778d8f6acfb4308c4810b018a17a125942d4f5e2510597a1c0ea199226da05ee5ae99d97de0e7
 DIST dovecot-fts-xapian-1.8.tar.gz 35196 BLAKE2B 
c30f2579ae168c18ff88e0b2dc65aec110a586a828ed69d5ec2a5b674af99c1dcb7525ac227522703b0a61491db5579e570cb5b8d9733403c978db7b2a0df0d8
 SHA512 
178922589ae307afbb465bdac9ba352c1198d4a97a204d190461751d0c117dad22119d964d8dbda2fb5f44a05f069536788a02e816a5822da28c8c96720c4a93
+DIST dovecot-fts-xapian-1.9.tar.gz 35564 BLAKE2B 
61b85c1f891c8da0a5e44cbfc98f01e7713e18d7868a87178158fb3ada0bd06a938debb78f772866d37a0e5cf40e3479d47faa311743ad78a8a062b7284adc5d
 SHA512 
05a67fa32da43f64638b8685d9abe0526656577d84e2b655de35b9c0cf20d5581318dad06f63025a8146207f92f447f150893b1f1f752b90f55b7e0d008eff8e

diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.ebuild 
b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.ebuild
new file mode 100644
index 000000000..18a7328b4
--- /dev/null
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.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
+}

Reply via email to