1 |
commit: bc196db45a88bb867f7ae898edc624a3a44a1fbd |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Sun Sep 18 18:22:01 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 14:54:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc196db4 |
7 |
|
8 |
app-crypt/gcr: Version bump to 3.92.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/27331 |
11 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
app-crypt/gcr/Manifest | 1 + |
15 |
app-crypt/gcr/gcr-3.41.1-r1.ebuild | 103 +++++++++++++++++++++++++++++++++++++ |
16 |
app-crypt/gcr/gcr-3.92.0.ebuild | 93 +++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 197 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest |
20 |
index 2f2637cad476..efe2493b734d 100644 |
21 |
--- a/app-crypt/gcr/Manifest |
22 |
+++ b/app-crypt/gcr/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST gcr-3.41.0.tar.xz 1039744 BLAKE2B c646a04168310051d5b582a9d2f7ab9da89eef095e856e56b8d730600debead051ad8bb40eddb7457b1be2be3e092227dd886f647258a9c6a81d4bab728245f7 SHA512 455acc40ed77feeb35f9845b00229f468b322b7eda0b1b5abb0153f0a6ba29f3d0364df22225143f4caf130254a1258b3c7f934370e5142f2f64e1c3084b6f6e |
25 |
DIST gcr-3.41.1.tar.xz 1030368 BLAKE2B 9d254b7f2ad864c45200e58b685db97c1ffbc83d29ba8cbda94d30ec565aa3dc5a2535305dc63b3264131b68ec9e48f37ac30d5ba08d0ce156f3b6091cd62dc1 SHA512 dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325 |
26 |
+DIST gcr-3.92.0.tar.xz 719608 BLAKE2B 770946582ada19d4282b0adfe77c4eabf08439430b89397a16829259162a940df44a5abf7e2dddd6e13c075449c7b4e5529dd95b781f67b4437246bca8989100 SHA512 bd566c8846e1ee99f82eefd9f7fbc5959c09bf383fef9c7bdc82b6c2c9c7634faaddcf6d91b0eca10b69a99e8f954272c3decf0594864351a48a5473e2bb5db3 |
27 |
|
28 |
diff --git a/app-crypt/gcr/gcr-3.41.1-r1.ebuild b/app-crypt/gcr/gcr-3.41.1-r1.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..ee7f1a92c62d |
31 |
--- /dev/null |
32 |
+++ b/app-crypt/gcr/gcr-3.41.1-r1.ebuild |
33 |
@@ -0,0 +1,103 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+ |
40 |
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg |
41 |
+ |
42 |
+DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" |
43 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr" |
44 |
+ |
45 |
+LICENSE="GPL-2+ LGPL-2+" |
46 |
+SLOT="0/1" # subslot = suffix of libgcr-base-3 and co |
47 |
+ |
48 |
+IUSE="gtk gtk-doc +introspection systemd test +vala" |
49 |
+REQUIRED_USE=" |
50 |
+ gtk-doc? ( introspection ) |
51 |
+ vala? ( introspection ) |
52 |
+" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
56 |
+ |
57 |
+DEPEND=" |
58 |
+ >=dev-libs/glib-2.44.0:2 |
59 |
+ >=dev-libs/libgcrypt-1.2.2:0= |
60 |
+ >=app-crypt/p11-kit-0.19.0 |
61 |
+ >=app-crypt/libsecret-0.20 |
62 |
+ systemd? ( sys-apps/systemd:= ) |
63 |
+ gtk? ( >=x11-libs/gtk+-3.22:3[introspection?] ) |
64 |
+ >=sys-apps/dbus-1 |
65 |
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= ) |
66 |
+" |
67 |
+RDEPEND="${DEPEND}" |
68 |
+PDEPEND="app-crypt/gnupg" |
69 |
+BDEPEND=" |
70 |
+ ${PYTHON_DEPS} |
71 |
+ gtk? ( dev-libs/libxml2:2 ) |
72 |
+ dev-util/gdbus-codegen |
73 |
+ dev-util/glib-utils |
74 |
+ gtk-doc? ( dev-util/gi-docgen ) |
75 |
+ >=sys-devel/gettext-0.19.8 |
76 |
+ test? ( app-crypt/gnupg ) |
77 |
+ virtual/pkgconfig |
78 |
+ vala? ( $(vala_depend) ) |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/3.38.0-optional-vapi.patch |
83 |
+) |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ python-any-r1_pkg_setup |
87 |
+} |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ use vala && vala_setup |
92 |
+ xdg_environment_reset |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ local emesonargs=( |
97 |
+ $(meson_use introspection) |
98 |
+ $(meson_use gtk) |
99 |
+ $(meson_use gtk-doc gtk_doc) |
100 |
+ -Dgpg_path="${EPREFIX}"/usr/bin/gpg |
101 |
+ -Dssh_agent=true |
102 |
+ $(meson_feature systemd) |
103 |
+ $(meson_use vala vapi) |
104 |
+ ) |
105 |
+ meson_src_configure |
106 |
+} |
107 |
+ |
108 |
+src_test() { |
109 |
+ dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' |
110 |
+} |
111 |
+ |
112 |
+src_install() { |
113 |
+ meson_src_install |
114 |
+ |
115 |
+ # These files are installed by gcr:4 |
116 |
+ rm \ |
117 |
+ "${ED}"/usr/libexec/gcr-ssh-agent \ |
118 |
+ "${ED}"/usr/lib/systemd/user/gcr-ssh-agent.service \ |
119 |
+ "${ED}"/usr/lib/systemd/user/gcr-ssh-agent.socket \ |
120 |
+ || die |
121 |
+ |
122 |
+ if use gtk-doc; then |
123 |
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die |
124 |
+ mv "${ED}"/usr/share/doc/{gck-1,gcr-3,gcr-ui-3} "${ED}"/usr/share/gtk-doc/html/ || die |
125 |
+ fi |
126 |
+} |
127 |
+ |
128 |
+pkg_postinst() { |
129 |
+ xdg_pkg_postinst |
130 |
+ gnome2_schemas_update |
131 |
+} |
132 |
+ |
133 |
+pkg_postrm() { |
134 |
+ xdg_pkg_postrm |
135 |
+ gnome2_schemas_update |
136 |
+} |
137 |
|
138 |
diff --git a/app-crypt/gcr/gcr-3.92.0.ebuild b/app-crypt/gcr/gcr-3.92.0.ebuild |
139 |
new file mode 100644 |
140 |
index 000000000000..fddcb8011df7 |
141 |
--- /dev/null |
142 |
+++ b/app-crypt/gcr/gcr-3.92.0.ebuild |
143 |
@@ -0,0 +1,93 @@ |
144 |
+# Copyright 1999-2022 Gentoo Authors |
145 |
+# Distributed under the terms of the GNU General Public License v2 |
146 |
+ |
147 |
+EAPI=8 |
148 |
+PYTHON_COMPAT=( python3_{8..11} ) |
149 |
+ |
150 |
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg |
151 |
+ |
152 |
+DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" |
153 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr" |
154 |
+ |
155 |
+LICENSE="GPL-2+ LGPL-2+" |
156 |
+SLOT="4/gcr4.3-gck2.1" # subslot = soname and soversion of libgcr and libgck |
157 |
+ |
158 |
+IUSE="gtk gtk-doc +introspection systemd test +vala" |
159 |
+REQUIRED_USE=" |
160 |
+ gtk-doc? ( introspection ) |
161 |
+ vala? ( introspection ) |
162 |
+" |
163 |
+RESTRICT="!test? ( test )" |
164 |
+ |
165 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
166 |
+ |
167 |
+DEPEND=" |
168 |
+ >=dev-libs/glib-2.68.0:2 |
169 |
+ >=dev-libs/libgcrypt-1.2.2:0= |
170 |
+ >=app-crypt/p11-kit-0.19.0 |
171 |
+ >=app-crypt/libsecret-0.20 |
172 |
+ systemd? ( sys-apps/systemd:= ) |
173 |
+ gtk? ( gui-libs/gtk:4[introspection?] ) |
174 |
+ >=sys-apps/dbus-1 |
175 |
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= ) |
176 |
+ !<app-crypt/gcr-3.41.1-r1 |
177 |
+" |
178 |
+RDEPEND="${DEPEND}" |
179 |
+PDEPEND="app-crypt/gnupg" |
180 |
+BDEPEND=" |
181 |
+ ${PYTHON_DEPS} |
182 |
+ gtk? ( dev-libs/libxml2:2 ) |
183 |
+ dev-util/gdbus-codegen |
184 |
+ dev-util/glib-utils |
185 |
+ gtk-doc? ( dev-util/gi-docgen ) |
186 |
+ >=sys-devel/gettext-0.19.8 |
187 |
+ test? ( app-crypt/gnupg ) |
188 |
+ virtual/pkgconfig |
189 |
+ vala? ( $(vala_depend) ) |
190 |
+" |
191 |
+ |
192 |
+pkg_setup() { |
193 |
+ python-any-r1_pkg_setup |
194 |
+} |
195 |
+ |
196 |
+src_prepare() { |
197 |
+ default |
198 |
+ use vala && vala_setup |
199 |
+ xdg_environment_reset |
200 |
+} |
201 |
+ |
202 |
+src_configure() { |
203 |
+ local emesonargs=( |
204 |
+ $(meson_use introspection) |
205 |
+ $(meson_use gtk gtk4) |
206 |
+ $(meson_use gtk-doc gtk_doc) |
207 |
+ -Dgpg_path="${EPREFIX}"/usr/bin/gpg |
208 |
+ -Dssh_agent=true |
209 |
+ $(meson_feature systemd) |
210 |
+ $(meson_use vala vapi) |
211 |
+ ) |
212 |
+ meson_src_configure |
213 |
+} |
214 |
+ |
215 |
+src_test() { |
216 |
+ dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' |
217 |
+} |
218 |
+ |
219 |
+src_install() { |
220 |
+ meson_src_install |
221 |
+ |
222 |
+ if use gtk-doc; then |
223 |
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die |
224 |
+ mv "${ED}"/usr/share/doc/{gck-2,gcr-4} "${ED}"/usr/share/gtk-doc/html/ || die |
225 |
+ fi |
226 |
+} |
227 |
+ |
228 |
+pkg_postinst() { |
229 |
+ xdg_pkg_postinst |
230 |
+ gnome2_schemas_update |
231 |
+} |
232 |
+ |
233 |
+pkg_postrm() { |
234 |
+ xdg_pkg_postrm |
235 |
+ gnome2_schemas_update |
236 |
+} |