commit: b910afe4a07d367c14ffc6dd3839639d2a55db90
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 24 13:03:41 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 24 13:10:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b910afe4
dev-libs/xapian: add 1.4.30
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/xapian/Manifest | 1 +
dev-libs/xapian/xapian-1.4.30.ebuild | 67 ++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
index 07419cf96ad3..20940cb4952e 100644
--- a/dev-libs/xapian/Manifest
+++ b/dev-libs/xapian/Manifest
@@ -2,3 +2,4 @@ DIST xapian-core-1.4.25.tar.xz 3205904 BLAKE2B
7b03a8fabc3c688f58b3451541dedb664
DIST xapian-core-1.4.26.tar.xz 3246304 BLAKE2B
f68b25741de821ef6de2ae5127f09f69a68c435dd224b796d92fc18769db3e3307a0a3aadc98cf26adc966eb063fdbd3ee612ec725020cfc79bdfa041675794b
SHA512
ecd94d410dc94b6510c6729f276606987f9dd955cfb0520e62d46fa71645f5b140d474cda0d77078e64ee7cf9c0cd00f3aefe0e1b087739582e64bbcb9fabd4b
DIST xapian-core-1.4.27.tar.xz 3246624 BLAKE2B
4a61490ebb53738660ef7ff9ecd60e2b53474309d63fe9b9702323a6eba6c9d96d79048f67e8356a2a7c0436ab6ff38792bf9d9776b60f820eaddc77ca5b0f32
SHA512
5a9b75dfc61782012c4c2febd95532e6705f7fa45b0765b64dbc9ee3751c88fb3420f1d7d8fdadee21a59ff4143c5197870a4aa50993490a033fce6925e1e9f1
DIST xapian-core-1.4.29.tar.xz 3250704 BLAKE2B
5b033038b6d4083716efd8c02ad9a8ce18d8cabd37e719a235db4dd0487024ac49a3d65c0d7c9af0031421b837231ff2b0a88bd7928f9a3b366e94682fb9ed76
SHA512
fe368f0b9b840d73f1d550814a8954cf3e0ee1f89206db8b2b00b82ed8abe93b890193f9bf10b801125c87438497640fd10e742b2f616dd69cdcb694757ed38d
+DIST xapian-core-1.4.30.tar.xz 3252336 BLAKE2B
75f4893cfccdd47d90d67bfda3525bcda0cbfbd55e0bf579ac8472a3ddf9855097073300d47f91ba2d44c768a6c0e6cc53e3392b39a867a113496f520d629330
SHA512
42d3f0b5998da363cd03ca38a974862a8d37b24a2177cd6eeaf6d2bf8f688a568f264243c3c694bd345283bbce476cf334c6444e568c215b276ad42e55862cca
diff --git a/dev-libs/xapian/xapian-1.4.30.ebuild
b/dev-libs/xapian/xapian-1.4.30.ebuild
new file mode 100644
index 000000000000..c08ff6037f3f
--- /dev/null
+++ b/dev-libs/xapian/xapian-1.4.30.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+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"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0/30" # 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"
+
+DEPEND="
+ virtual/zlib:=
+ !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux ) )
+ elibc_SunOS? ( sys-libs/libuuid )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS HACKING PLATFORMS 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-chert
+ --enable-backend-glass
+ --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() {
+ emake -Onone check
+}
+
+src_install() {
+ default
+ find "${ED}" -name "*.la" -type f -delete || die
+}