commit:     3549d7cb07cc7275ee50c7c958086aed4ccfe531
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 24 13:05:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 24 13:10:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3549d7cb

app-text/xapian-omega: add 1.4.30

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/xapian-omega/Manifest                   |  1 +
 app-text/xapian-omega/xapian-omega-1.4.30.ebuild | 43 ++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-text/xapian-omega/Manifest b/app-text/xapian-omega/Manifest
index 14b539fce512..060810bff04d 100644
--- a/app-text/xapian-omega/Manifest
+++ b/app-text/xapian-omega/Manifest
@@ -2,3 +2,4 @@ DIST xapian-omega-1.4.25.tar.xz 578904 BLAKE2B 
d0bb62741f7c58d1398a4dc8bca3de2b3
 DIST xapian-omega-1.4.26.tar.xz 583808 BLAKE2B 
b5a2779ed5fb4f729e8aa3bd309f09d9867ba8d646121f4f577a5208e1fae605f18c7ecfbcba2fdb8a7ddd54de7f0eb8b8299f0f7d26b272ccdf417fbbf5b2a6
 SHA512 
576eb82fa972bd0db46c8422695930235ab75677104ec32765421b0e1e813d0c40d3bdace3d88cc66fd28680fbcb75a3adcd808617ae4d7d48e35e0556f908c3
 DIST xapian-omega-1.4.27.tar.xz 583960 BLAKE2B 
4193f215defc4221f4990ba9f034c08271035b43ca91f76d3acbd108e6158228e0907a1d6d65eb8ade11581d555939ebfa6de270ef7cd1ccf71e55e17fa1ec10
 SHA512 
58114143c2ec7c6185160de884b611f72c8a060f8d7e1bad53cbd3fe11354c042087c835756c341322e2c29a35a84a11fc5bc0c385f3a772441b9c9b55a890c3
 DIST xapian-omega-1.4.29.tar.xz 589016 BLAKE2B 
51b0d8778dada358b4f1ba4f5b1d811201f810e45c6c2f9c02b3fa439437eb833990f52d60086e2b7e1382199e90c2f32e483f3dc49549a5b4f84fe6187a235c
 SHA512 
2a3e61764407afbea1b56567a66829fbb717a193111c5e754b65b0b5438f67dc7bd4fb09faba9b4e460f48abb33649576b377626af14d7bf73ed7cef475a0f38
+DIST xapian-omega-1.4.30.tar.xz 588760 BLAKE2B 
5f5a87ae1a728fe96aedb052b6bd025be77ebc66d22c73c2338dc0a62eded1257dc4208b86a231486b13ebacda2c85dcd99aa131ba5543109f761b3ff229a89f
 SHA512 
7da87fb35bc7b98aea0496b25af41e3e38ec9023ec578704a77b3c424b70a76342fddce6a92b4bef031ad6625ace7a0d62faf2d83b241248c7f04ef3c129da21

diff --git a/app-text/xapian-omega/xapian-omega-1.4.30.ebuild 
b/app-text/xapian-omega/xapian-omega-1.4.30.ebuild
new file mode 100644
index 000000000000..698e1cd7dd74
--- /dev/null
+++ b/app-text/xapian-omega/xapian-omega-1.4.30.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI 
search frontend"
+HOMEPAGE="https://xapian.org/";
+SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="
+       dev-lang/perl
+       dev-libs/libpcre2:=
+       ~dev-libs/xapian-${PV}:0/30
+       sys-apps/file
+       virtual/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}" install
+
+       # Protect /etc/omega.conf
+       echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega || die
+       doenvd "${T}"/20xapian-omega
+       dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
+       # Directory containing Xapian databases:
+       keepdir /var/lib/omega/data
+
+       # Directory containing OmegaScript templates:
+       keepdir /var/lib/omega/templates
+       mv "${S}"/templates/* "${ED}"/var/lib/omega/templates || die
+
+       # Directory to write Omega logs to:
+       keepdir /var/log/omega
+
+       # Directory containing any cdb files for the $lookup OmegaScript 
command:
+       keepdir /var/lib/omega/cdb
+}

Reply via email to