commit:     bb10c3b13b3d8263c2ecab4c96e35587355d1bbf
Author:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
AuthorDate: Sat Dec 28 15:32:58 2024 +0000
Commit:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
CommitDate: Sat Dec 28 15:40:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb10c3b1

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

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

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

diff --git a/net-mail/dovecot-fts-xapian/Manifest 
b/net-mail/dovecot-fts-xapian/Manifest
index 421b61c85..0f1bdcefb 100644
--- a/net-mail/dovecot-fts-xapian/Manifest
+++ b/net-mail/dovecot-fts-xapian/Manifest
@@ -1,3 +1,4 @@
 DIST dovecot-fts-xapian-1.7.17.tar.gz 35008 BLAKE2B 
4b90b4193e6e62ce1c371f4f381829acdb1be141c4a9533cdda90f1a8a1fb6d7bcd888d3efe549d8e2e1e8baa5f9878e54cfa37e850d61472c40772f8f9611a1
 SHA512 
a5841d71a2aca0c10555e9a64d43c3b7b1ecd6785bac8178b392a3211ded9f2d40a76c1ba7297d65196e1b98cb549ed6284277762fafa87cd56381c9a2b43679
 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.tar.gz 35196 BLAKE2B 
c30f2579ae168c18ff88e0b2dc65aec110a586a828ed69d5ec2a5b674af99c1dcb7525ac227522703b0a61491db5579e570cb5b8d9733403c978db7b2a0df0d8
 SHA512 
178922589ae307afbb465bdac9ba352c1198d4a97a204d190461751d0c117dad22119d964d8dbda2fb5f44a05f069536788a02e816a5822da28c8c96720c4a93

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