1 |
commit: d15df13c250dc29e4a56af4d7b478e286737b753 |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Wed Aug 31 02:08:12 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 02:15:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15df13c |
7 |
|
8 |
app-crypt/scute: Remove outdated configure args |
9 |
|
10 |
Removes --with-libgpg-error-prefix and --with-libassuan-prefix which are |
11 |
for the deprecated libgpg-error-config and libassuan-config scripts. It |
12 |
should be using gpgrt-config instead. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/844226 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-crypt/scute/scute-1.7.0-r1.ebuild | 52 +++++++++++++++++++++++++++++++++++ |
18 |
1 file changed, 52 insertions(+) |
19 |
|
20 |
diff --git a/app-crypt/scute/scute-1.7.0-r1.ebuild b/app-crypt/scute/scute-1.7.0-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 000000000000..1a09b4e0e44a |
23 |
--- /dev/null |
24 |
+++ b/app-crypt/scute/scute-1.7.0-r1.ebuild |
25 |
@@ -0,0 +1,52 @@ |
26 |
+# Copyright 1999-2022 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=8 |
30 |
+ |
31 |
+DESCRIPTION="A PKCS #11 module for OpenPGP smartcards" |
32 |
+HOMEPAGE="http://www.scute.org/" |
33 |
+SRC_URI=" |
34 |
+ mirror://gnupg/scute/${P}.tar.bz2 |
35 |
+ https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64" |
40 |
+ |
41 |
+# configure script try to check the version of gpgsm and gpg-agent when |
42 |
+# non-crosscompiling so we need to have them as build-time dependency as |
43 |
+# well as runtime. Require a version of gnupg that is patched to have |
44 |
+# gpgsm-gencert.sh working (as that's what the documentation describe). |
45 |
+BDEPEND=" |
46 |
+ >=app-crypt/pinentry-0.7.0 |
47 |
+ >=app-crypt/gnupg-2.0.17-r1[smartcard]" |
48 |
+DEPEND=" |
49 |
+ >=dev-libs/libgpg-error-1.4 |
50 |
+ >=dev-libs/libassuan-2.0.0" |
51 |
+RDEPEND=" |
52 |
+ ${DEPEND} |
53 |
+ ${BDEPEND}" |
54 |
+BDEPEND+=" |
55 |
+ sys-apps/texinfo" |
56 |
+ |
57 |
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) |
58 |
+ |
59 |
+src_unpack() { |
60 |
+ default |
61 |
+ |
62 |
+ # have to use pregenerated EPS files required for the texinfo documentation, |
63 |
+ # due to bug 664236 preventing even converting *to* eps. |
64 |
+ mv scute-eps/*.eps "${S}"/doc/ || die |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ econf \ |
69 |
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/pkcs11 |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ |
75 |
+ # only building plugins |
76 |
+ find "${ED}" -name '*.la' -delete || die |
77 |
+} |