mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/xapian-omega: add 2.0.0
Lots of new dependencies, all automagic. Given what this package/application is for, I've left those as-is (all mandatory). Someone interested can get a patch upstream to make them optional. I'm not worried about keywords for the same reason. I'm not sure this is really needed on all arches. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,3 +3,5 @@ DIST xapian-omega-1.4.30.tar.xz 588760 BLAKE2B 5f5a87ae1a728fe96aedb052b6bd025be
|
||||
DIST xapian-omega-1.4.30.tar.xz.asc 833 BLAKE2B 708292d6bac8f854699e833ca5f0be21b2d0481c75a6aa5e880a5c207e0758702483347b5b70846b75922c52e4b26f49a7b0521bc4d17ccf5f989793c0c5311b SHA512 f5f293756310e8e8559abdd72bea2984f05547199e048e8f0cf43cb438d32c85444e8d8406a96488ddcc1997503513866f1dd888909c9cd61f8c9703f98a6f3b
|
||||
DIST xapian-omega-1.4.31.tar.xz 589208 BLAKE2B 92d20e42fc8e57c4ae826790eb1ee2024da0cb7e435be883d4a5cb27c99a3362c91298be79e93579e0174732b1f06897c5309b71264d2ffc77ac35d7d71d44ad SHA512 2c902371a1e78382f17ca5e1a1061f59ceffc3f6942786ebbabdfd11c68dcdb0952fa467fbcc1a0fece532f24af3ab5c2d2b7b807e27a7bf9ec87d0bd542640a
|
||||
DIST xapian-omega-1.4.31.tar.xz.asc 833 BLAKE2B 6a72bf7fb0d1b3ba5971a92673b763457ac866f19869e8737a1116a8ebbb87dec1ff873ab7f05aefbc5d2f393aaa12e07ee587302800aab21af698fac99e34ce SHA512 fda624f42310f8cc7ecbc806dcd6dd2fc887976af17a0c6e44ab1edce465fd3e1302763b5513caeb75fd9171744322d1edbe8a7045725cd05d95b2ed065b3b27
|
||||
DIST xapian-omega-2.0.0.tar.xz 5823212 BLAKE2B 9db72f54664e12bc3b841b64e8c8f179bb24abb718a6c2f932c0eec27859c040ede7caeb7752dddacc0f787f571d3a27f623469e8a737e4ef9bec3219e245e2e SHA512 6fe80503156e85828610d1cf1f0cd1252d32b4a707d1391cb349fafa87cc7b642718d8ab19587291ada4ef1d5a087b11f2b5167a84cce4319ebad40a76fc4a6e
|
||||
DIST xapian-omega-2.0.0.tar.xz.asc 833 BLAKE2B acb20a67f080a20b606774df87ed09b6a9f2e9c6c44e6be25a76026c68cdb34266bfad7e329c17f97a7647f031831f6d205096968715dc6abf67c4622052d0d4 SHA512 e31f694513d22eefcd28c1cacd1250376159cdf3a11242c14d56602dc841c9f797b0e3f8de5123b6166d2e4a31f6886cb20009da377c50e8a6ea7c9ef80a7e97
|
||||
|
||||
62
app-text/xapian-omega/xapian-omega-2.0.0.ebuild
Normal file
62
app-text/xapian-omega/xapian-omega-2.0.0.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# 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 verify-sig
|
||||
|
||||
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
|
||||
verify-sig? ( https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz.asc )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# poppler, libebook, libgepub, tesseract, gmime, libarchive, libabw,
|
||||
# libcdr, libextractor (unpackaged), libmwaw, libreoffice are all automagic
|
||||
DEPEND="
|
||||
app-arch/libarchive:=
|
||||
app-office/libreoffice
|
||||
>=app-text/libabw-0.1.2
|
||||
app-text/libebook
|
||||
>=app-text/libgepub-0.7
|
||||
app-text/libmwaw
|
||||
app-text/poppler[cairo]
|
||||
app-text/tesseract:=
|
||||
dev-lang/perl
|
||||
dev-libs/gmime:3.0
|
||||
dev-libs/libpcre2:=
|
||||
~dev-libs/xapian-${PV}
|
||||
media-libs/libcdr
|
||||
sys-apps/file
|
||||
virtual/zlib:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ollybetts )"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user