dev-libs/xapian-bindings: wire up verify-sig

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-01-19 06:58:00 +00:00
parent 6c16eeb8d4
commit 2aba9b30e4
2 changed files with 11 additions and 3 deletions

View File

@@ -1,2 +1,3 @@
DIST xapian-bindings-1.4.29.tar.xz 1121212 BLAKE2B 8bcfefb3e2c933223dd681874999905324c910d47a3260814a2bd9e97b3685b51c9828496db1a8275bf3da6fedf4727b173c69bfbe36dc458a1aa17eb47eb551 SHA512 54735a30971a108d2e23c07229aab29d4f898368de5b04fc08331e82b1e9a52fa7425150aa7aef05428a2b3c65757e83148f4077423a9847eb04e1a7fb05fe34
DIST xapian-bindings-1.4.30.tar.xz 1121316 BLAKE2B 49c47eae230ff46cf169cc0fc301f3cf87f5cad7e0d47125332b8b4a3ca896a1fa7bb63c7a3bd046d645433a2c8efe8499ad4112e042d0ebef206f7e2197c681 SHA512 fb48e10c01a219b34da41c2a0475f607fb0b12b5c444c06c37f16b7405905c8c113362caee409382d0ff90945b975b7c77acb2385ec82395684bdea6ff9b3926
DIST xapian-bindings-1.4.30.tar.xz.asc 833 BLAKE2B 971313adcaeda938a61743d372771256e8ccc7838a336d127a26464eb1bb29b51c2eaf4f0f9a77015488653d3db3d9d45bf2ca8a98b360f85087fd8b3d7b94a9 SHA512 1dcb114015ff8294ca530fb29226c73c403a55f3f8166a1a001f2f8c818412755713f19652a99534da409561127ee241f3447fab467cdbf8def3a8f620b321a0

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,11 +19,16 @@ PHP_EXT_OPTIONAL_USE="php"
USE_RUBY="ruby31 ruby32"
RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 lua multibuild perl-module php-ext-source-r3 python-r1 ruby-ng
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ollybetts.asc
inherit autotools java-pkg-opt-2 lua multibuild perl-module php-ext-source-r3
inherit python-r1 ruby-ng verify-sig
DESCRIPTION="SWIG and JNI bindings for Xapian"
HOMEPAGE="https://xapian.org/"
SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
SRC_URI="
https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz
verify-sig? ( https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz.asc )
"
S="${WORKDIR}/${P}" # need this here, some inherited eclasses change it
LICENSE="GPL-2"
@@ -61,6 +66,7 @@ RDEPEND="
${COMMON_DEPEND}
java? ( >=virtual/jre-1.8:* )
"
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-ollybetts )"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.22-remove-precompiled-python.patch
@@ -98,6 +104,7 @@ pkg_setup() {
}
src_unpack() {
use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
default
if use php; then