-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-mail/dovecot-fts-xapian: add 1.8.6
Signed-off-by: Philippe Chaintreuil <[email protected]>
- Loading branch information
Philippe Chaintreuil
committed
Jan 15, 2025
1 parent
7e1c792
commit 5add9df
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.6.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |