1 |
commit: 57421fcae339529dbd3eb4b48667ae2b3a5be937 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 18:27:50 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 19:32:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57421fca |
7 |
|
8 |
app-crypt/libsecret: Version bump to 0.20.5 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-crypt/libsecret/Manifest | 1 + |
13 |
app-crypt/libsecret/libsecret-0.20.5.ebuild | 87 +++++++++++++++++++++++++++++ |
14 |
app-crypt/libsecret/metadata.xml | 3 + |
15 |
3 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/libsecret/Manifest b/app-crypt/libsecret/Manifest |
18 |
index ba58b7a46b39..3eda7428e115 100644 |
19 |
--- a/app-crypt/libsecret/Manifest |
20 |
+++ b/app-crypt/libsecret/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libsecret-0.20.4.tar.xz 529916 BLAKE2B d5922dcb1eb27e4cc6bc7770926fc3191c9f4634867ff9682fd33f9373d6fa2d334c9c1b995bd208bbf178af008ec7b224bd5388427617fbd7e48d05d2e35823 SHA512 599482796af001703c25d181a710c5a3207f44d4d0036ef2001cc541bde9ef453172b71df9bb214d27d1fbd2f28c1b5a5efdbd5faca3561188c07dccdc7d7c15 |
23 |
+DIST libsecret-0.20.5.tar.xz 187340 BLAKE2B cde5094eaaf54f251c19afb015c39cc88435dafe6ee682ca8f9d1917dd5b3dc8cc1609cdbf2a3a42d2592c2a149bec5fe28b2f4ec179b92c0d0f07d2f14c1792 SHA512 61ca248aafd265e1f31d56c9084c68d880ebf03660ace3d4a6c6622ab306b56e921ac24647b6a60633bfa99c8a0407d4ae1aa6148511f289bf5ce2025b72692a |
24 |
|
25 |
diff --git a/app-crypt/libsecret/libsecret-0.20.5.ebuild b/app-crypt/libsecret/libsecret-0.20.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..cf8592727d7b |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/libsecret/libsecret-0.20.5.ebuild |
30 |
@@ -0,0 +1,87 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+VALA_USE_DEPEND=vapigen |
37 |
+ |
38 |
+inherit bash-completion-r1 gnome2 meson-multilib python-any-r1 vala virtualx |
39 |
+ |
40 |
+DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only |
44 |
+SLOT="0" |
45 |
+ |
46 |
+IUSE="+crypt gtk-doc +introspection test tpm +vala" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+REQUIRED_USE=" |
49 |
+ vala? ( introspection ) |
50 |
+ gtk-doc? ( crypt ) |
51 |
+" |
52 |
+ |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] |
57 |
+ crypt? ( >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] ) |
58 |
+ tpm? ( >=app-crypt/tpm2-tss-3.0.3 ) |
59 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
60 |
+" |
61 |
+RDEPEND="${DEPEND} |
62 |
+ virtual/secret-service" |
63 |
+BDEPEND=" |
64 |
+ app-text/docbook-xml-dtd:4.2 |
65 |
+ dev-libs/libxslt |
66 |
+ dev-util/gdbus-codegen |
67 |
+ dev-util/glib-utils |
68 |
+ >=sys-devel/gettext-0.19.8 |
69 |
+ virtual/pkgconfig |
70 |
+ gtk-doc? ( |
71 |
+ app-text/docbook-xml-dtd:4.1.2 |
72 |
+ >=dev-util/gi-docgen-2021.7 |
73 |
+ ) |
74 |
+ test? ( |
75 |
+ $(python_gen_any_dep ' |
76 |
+ dev-python/mock[${PYTHON_USEDEP}] |
77 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
78 |
+ introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') |
79 |
+ introspection? ( >=dev-libs/gjs-1.32 ) |
80 |
+ ) |
81 |
+ vala? ( $(vala_depend) ) |
82 |
+" |
83 |
+ |
84 |
+python_check_deps() { |
85 |
+ if use introspection; then |
86 |
+ has_version -b "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return |
87 |
+ fi |
88 |
+ has_version -b "dev-python/mock[${PYTHON_USEDEP}]" && |
89 |
+ has_version -b "dev-python/dbus-python[${PYTHON_USEDEP}]" |
90 |
+} |
91 |
+ |
92 |
+pkg_setup() { |
93 |
+ use test && python-any-r1_pkg_setup |
94 |
+} |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ use vala && vala_src_prepare |
98 |
+ default |
99 |
+} |
100 |
+ |
101 |
+multilib_src_configure() { |
102 |
+ local emesonargs=( |
103 |
+ $(meson_native_true manpage) |
104 |
+ $(meson_use crypt gcrypt) |
105 |
+ $(meson_native_use_bool vala vapi) |
106 |
+ $(meson_native_use_bool gtk-doc gtk_doc) |
107 |
+ $(meson_native_use_bool introspection) |
108 |
+ -Dbashcompdir="$(get_bashcompdir)" |
109 |
+ $(meson_native_enabled bash_completion) |
110 |
+ $(meson_native_use_bool tpm tpm2) |
111 |
+ ) |
112 |
+ meson_src_configure |
113 |
+} |
114 |
+ |
115 |
+multilib_src_test() { |
116 |
+ virtx meson_src_test |
117 |
+} |
118 |
|
119 |
diff --git a/app-crypt/libsecret/metadata.xml b/app-crypt/libsecret/metadata.xml |
120 |
index f453528b934f..7318f81748ab 100644 |
121 |
--- a/app-crypt/libsecret/metadata.xml |
122 |
+++ b/app-crypt/libsecret/metadata.xml |
123 |
@@ -5,4 +5,7 @@ |
124 |
<email>gnome@g.o</email> |
125 |
<name>Gentoo GNOME Desktop</name> |
126 |
</maintainer> |
127 |
+ <use> |
128 |
+ <flag name="tpm">Enable Trusted Platform Module support via <pkg>app-crypt/tpm2-tss</pkg></flag> |
129 |
+ </use> |
130 |
</pkgmetadata> |