Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/d0_blind_id/
Date: Mon, 04 Jul 2022 15:56:49
Message-Id: 1656950162.0ea2f7e3d57bb8d671f1992223aa3642366107a3.ionen@gentoo
1 commit: 0ea2f7e3d57bb8d671f1992223aa3642366107a3
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 15:34:06 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 15:56:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea2f7e3
7
8 dev-libs/d0_blind_id: add 1.0_p20201124
9
10 Matches what's used for xonotic-0.8.5.
11
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 dev-libs/d0_blind_id/Manifest | 1 +
15 .../d0_blind_id/d0_blind_id-1.0_p20201124.ebuild | 46 ++++++++++++++++++++++
16 2 files changed, 47 insertions(+)
17
18 diff --git a/dev-libs/d0_blind_id/Manifest b/dev-libs/d0_blind_id/Manifest
19 index 503768c68dea..0ced04afd21a 100644
20 --- a/dev-libs/d0_blind_id/Manifest
21 +++ b/dev-libs/d0_blind_id/Manifest
22 @@ -1 +1,2 @@
23 DIST d0_blind_id-1.0.tar.gz 49110 BLAKE2B 1977bb9c71d6655e8a84aab9daf5aee470ac3f3e140e7beff3555a41a81baebab5e4e5019b0550594b8c6e8b936706bb9790e5e3171c1348abf3212349d07109 SHA512 dbee0bec44a008a6843ec367211e4cdfa25f6c4577b48d942d19301d5ff885d4fde8d40ea304a114d349d8e90283a50854afb2fb322bf19640842ded025849f2
24 +DIST d0_blind_id-1.0_p20201124.tar.gz 49380 BLAKE2B 7ab544c512a720165d26b637e63825c09e5a8628f84eaf43663cef0f9b0a8655437438560da288179141bb7314e89f53c7e4725957b2b4b5973174340527b33a SHA512 72cec41e88302cb8ea8bc5b2e115e4b2939475ca2c6e1e3cf8e90d2fde99c8ab1c1ae7c18e804b9c19549e4d331fda8c46a1e6ca4d0057742c6d71298dca96f8
25
26 diff --git a/dev-libs/d0_blind_id/d0_blind_id-1.0_p20201124.ebuild b/dev-libs/d0_blind_id/d0_blind_id-1.0_p20201124.ebuild
27 new file mode 100644
28 index 000000000000..b619ed49cf9e
29 --- /dev/null
30 +++ b/dev-libs/d0_blind_id/d0_blind_id-1.0_p20201124.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit autotools
38 +
39 +D0BLIND_HASH="c32ee93edd10288ca40e1eb81263f0a37309b32c" # xonotic-0.8.5
40 +
41 +DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
42 +HOMEPAGE="https://gitlab.com/xonotic/d0_blind_id/"
43 +SRC_URI="https://gitlab.com/xonotic/d0_blind_id/-/archive/${D0BLIND_HASH}/${P}.tar.gz"
44 +S="${WORKDIR}/${PN}-${D0BLIND_HASH}"
45 +
46 +LICENSE="BSD public-domain"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86"
49 +
50 +RDEPEND="dev-libs/gmp:="
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="virtual/pkgconfig"
53 +
54 +src_prepare() {
55 + default
56 +
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + local econfargs=(
62 + --enable-rijndael
63 + --without-openssl
64 + --without-tfm
65 + --without-tommath
66 + )
67 +
68 + econf "${econfargs[@]}"
69 +}
70 +
71 +src_install() {
72 + default
73 +
74 + dodoc d0_blind_id.txt
75 +
76 + find "${ED}" -type f -name "*.la" -delete || die
77 +}