repo/gentoo:master commit in: dev-libs/xapian/

"Sam James" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786770009.03a508bf61fb50edc826c055435e85864319b454.sam@gentoo>
commit:     03a508bf61fb50edc826c055435e85864319b454
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 04:54:59 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 05:00:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a508bf

dev-libs/xapian: add 2.1.0

Bug: https://bugs.gentoo.org/980873
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/xapian/Manifest            |  2 +
 dev-libs/xapian/xapian-2.1.0.ebuild | 80 +++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
index d413f8bbd89c..a6a277a92b61 100644
--- a/dev-libs/xapian/Manifest
+++ b/dev-libs/xapian/Manifest
@@ -7,3 +7,5 @@ DIST xapian-core-1.4.32.tar.xz 3277416 BLAKE2B 1cefa1b044f3b95c9d3832890e74225b9
 DIST xapian-core-1.4.32.tar.xz.asc 833 BLAKE2B 397f56788d67810521e9463fea931f63da025d446da9926748c659c376b5bd767b248f8796fe2b20cbb3cc2c06ca5f50ea50a2c2a7637f3e625a18be92924eef SHA512 358594403b5dd65f9a853dfd63ad529d7a8eb8d07e5a65a76fffeb4573d8931e64cc786f4f7466be293b27dbb2279cb23a05ba5ed095fb14364d2f3567fa50df
 DIST xapian-core-2.0.0.tar.xz 3490804 BLAKE2B 2032ae047312bdc03b1002cbc2a4f01a2e5d37c0859fd5a6013758d456d7642c07ca0d28141daf0eeb2ba33db41206df088ba2666efcd83d545d123d51e8cb6c SHA512 b9205997ca05748b3dae1b669f428bc04c6a5bda41dcae1443869741e1bd6c245e0e433c8c4afef021299a699fc4e4ed6ae82aae8541db613aa570a003afea43
 DIST xapian-core-2.0.0.tar.xz.asc 833 BLAKE2B c7bffd3185c3d1d20b5bfad9b26ccea054db8abd81d3d9b1327ed8b17727fb6c8d6c50fede85a428f7167c959888891e53a756171dfbc534ec7e2c9d641e1619 SHA512 0b95554f0ce07b7383b1e70f6458df24518652a5ccbda5566ef0d9d27648064181b6d4a7a80dedb14cdbb1ac21ea7364341e553ca1c03fd49cf102ed224e216b
+DIST xapian-core-2.1.0.tar.xz 3521276 BLAKE2B 743e5ca19a0a646c51a06d2291a8339c891bbd05bb3c3061f8b30a822c72efedb8687a78b5559a9065a3b96016176be151f30695931b40592a5844417be405b0 SHA512 a3c650de333a0b6ba81f47df01d433a8fb86007a33e61509c7ceead822aa5104261fc539619054be8bed8721eff3cdd70a33bb06f6180a1fd7995642133d5ee9
+DIST xapian-core-2.1.0.tar.xz.asc 833 BLAKE2B 89cc0417865f3e4096fc65759ccf3a1031495b147baab440f75dc63e99a105dbd65f404ad4d23e1ff5fa9e799b669750f31425af67c2c3bfca151c39ce1e6a80 SHA512 26e39a9612cf296173d93ef54d298b948b0b93c862be4967a88d6623c8495df48c728cbc772f64a9f5208a209f4187608f1d9c1da9beac2106fe7d6370aecb9f

diff --git a/dev-libs/xapian/xapian-2.1.0.ebuild b/dev-libs/xapian/xapian-2.1.0.ebuild
new file mode 100644
index 000000000000..4c48a49adb58
--- /dev/null
+++ b/dev-libs/xapian/xapian-2.1.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ollybetts.asc
+inherit toolchain-funcs verify-sig
+
+MY_P="${PN}-core-${PV}"
+DESCRIPTION="Xapian Probabilistic Information Retrieval library"
+HOMEPAGE="https://xapian.org/"
+SRC_URI="
+	https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz
+	verify-sig? ( https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz.asc )
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0/45" # ABI version of libxapian.so
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
+IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 debug static-libs"
+
+# ICU is automagic, so force it on for now
+DEPEND="
+	>=dev-libs/icu-54.1:=
+	virtual/zlib:=
+	!elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux ) )
+	elibc_SunOS? ( sys-libs/libuuid )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	verify-sig? ( sec-keys/openpgp-keys-ollybetts )
+"
+
+DOCS=( AUTHORS HACKING README NEWS )
+
+src_configure() {
+	tc-export_build_env BUILD_CC
+	local -x CC_FOR_BUILD="${BUILD_CC}"
+
+	# skip certain autoconf checks
+	local -x VALGRIND=
+	local -x EATMYDATA=
+
+	local -a myconf=(
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+		--disable-werror
+		--enable-backend-glass
+		--enable-backend-honey
+		--enable-backend-inmemory
+		--enable-backend-remote
+		--program-suffix=
+		$(use_enable debug assertions)
+		$(use_enable debug log)
+		$(use_enable static-libs static)
+	)
+
+	if use cpu_flags_x86_sse2; then
+		myconf+=( --enable-sse=sse2 )
+	elif use cpu_flags_x86_sse; then
+		myconf+=( --enable-sse=sse )
+	else
+		myconf+=( --disable-sse )
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	local -x VERBOSE=1
+	# Avoid benchmarks/timing tests
+	local -x AUTOMATED_TESTING=1
+	emake -Onone check
+}
+
+src_install() {
+	default
+	find "${ED}" -name "*.la" -type f -delete || die
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.