Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gcr/
Date: Fri, 18 Jan 2019 16:30:44
Message-Id: 1547828575.fb64bfadf79439667829b3cb9cd3d037249ace23.leio@gentoo
1 commit: fb64bfadf79439667829b3cb9cd3d037249ace23
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 18 16:16:09 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 18 16:22:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb64bfad
7
8 app-crypt/gcr: bump to 3.28.1 for glib-2.59+ compatibility
9
10 .. and translation updates.
11
12 With newer glib (that we don't have in main tree), the old version
13 would crash gnome-shell after unlocking a SSH key. This bump fixes
14 that.
15
16 Package-Manager: Portage-2.3.52, Repoman-2.3.12
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 app-crypt/gcr/Manifest | 1 +
20 app-crypt/gcr/gcr-3.28.1.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++
21 2 files changed, 79 insertions(+)
22
23 diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest
24 index 2c362f4fad4..4694b9bf0ec 100644
25 --- a/app-crypt/gcr/Manifest
26 +++ b/app-crypt/gcr/Manifest
27 @@ -1,2 +1,3 @@
28 DIST gcr-3.20.0.tar.xz 1324216 BLAKE2B dca283d1bde4994ee60666b2d5fdc4f0861df453355dcf20cea22a87808da0b9284506460ecdfe779ab9ecdf4ce17e231bd1d9426d677511684c35e43da19550 SHA512 0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7
29 DIST gcr-3.28.0.tar.xz 1329044 BLAKE2B b35bca9b62605c4e0c3d71604ea5e6b7cdd97bb3257aabb26b8834622abdeec29798429b84f88254a1f8b04894f5cac2ef63c2a0bfd47ad32761d8d73cd0b189 SHA512 8d5e650cb369fa889b0adfdc1dc1cb5f8b184881256e6c0a2ed456074a54ceb61d64c0929c093bec66c0d5a15c1718f6e3736a1b25b6d7076081df93b49419e0
30 +DIST gcr-3.28.1.tar.xz 1334896 BLAKE2B e7035dd0ac5ef9e9b0898e3e4512768ec7cb548cf0ec4ace5a4f0f9a63d3015f8a041bc6f0a0c990c1666eb92c047eab4c19338a8ccf2d8aa9b11830dbd9d5c5 SHA512 ae36c39584d6bc2ba9d86de8bc71eac21fb3251b966ab1eddf467d01ed5789ba6e6597c83ea2ed9403e632893e7c7cb6c17e04878d726b72528af9199bebb3da
31
32 diff --git a/app-crypt/gcr/gcr-3.28.1.ebuild b/app-crypt/gcr/gcr-3.28.1.ebuild
33 new file mode 100644
34 index 00000000000..58b6d1814b0
35 --- /dev/null
36 +++ b/app-crypt/gcr/gcr-3.28.1.ebuild
37 @@ -0,0 +1,78 @@
38 +# Copyright 1999-2019 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +VALA_USE_DEPEND="vapigen"
43 +PYTHON_COMPAT=( python2_7 )
44 +
45 +inherit gnome2 python-any-r1 vala virtualx
46 +
47 +DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
48 +HOMEPAGE="https://git.gnome.org/browse/gcr"
49 +
50 +LICENSE="GPL-2+ LGPL-2+"
51 +SLOT="0/1" # subslot = suffix of libgcr-3
52 +
53 +IUSE="debug gtk +introspection vala"
54 +REQUIRED_USE="vala? ( introspection )"
55 +
56 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
57 +
58 +COMMON_DEPEND="
59 + >=app-crypt/p11-kit-0.19
60 + >=dev-libs/glib-2.38:2
61 + >=dev-libs/libgcrypt-1.2.2:0=
62 + >=dev-libs/libtasn1-1:=
63 + >=sys-apps/dbus-1
64 + gtk? ( >=x11-libs/gtk+-3.12:3[X,introspection?] )
65 + introspection? ( >=dev-libs/gobject-introspection-1.34:= )
66 +"
67 +RDEPEND="${COMMON_DEPEND}
68 + !<gnome-base/gnome-keyring-3.3
69 +"
70 +# gcr was part of gnome-keyring until 3.3
71 +DEPEND="${COMMON_DEPEND}
72 + ${PYTHON_DEPS}
73 + dev-libs/gobject-introspection-common
74 + dev-libs/libxml2:2
75 + dev-libs/libxslt
76 + dev-libs/vala-common
77 + dev-util/gdbus-codegen
78 + dev-util/glib-utils
79 + >=dev-util/gtk-doc-am-1.9
80 + >=dev-util/intltool-0.35
81 + sys-devel/gettext
82 + virtual/pkgconfig
83 + vala? ( $(vala_depend) )
84 +"
85 +# eautoreconf needs:
86 +# dev-libs/gobject-introspection-common
87 +# dev-libs/vala-common
88 +
89 +pkg_setup() {
90 + python-any-r1_pkg_setup
91 +}
92 +
93 +src_prepare() {
94 + # Disable stupid flag changes
95 + sed -e 's/CFLAGS="$CFLAGS -g"//' \
96 + -e 's/CFLAGS="$CFLAGS -O0"//' \
97 + -i configure.ac configure || die
98 +
99 + use vala && vala_src_prepare
100 + gnome2_src_prepare
101 +}
102 +
103 +src_configure() {
104 + gnome2_src_configure \
105 + $(use_with gtk) \
106 + $(use_enable introspection) \
107 + $(use_enable vala) \
108 + $(usex debug --enable-debug=yes --enable-debug=default) \
109 + --disable-update-icon-cache \
110 + --disable-update-mime
111 +}
112 +
113 +src_test() {
114 + virtx emake check
115 +}