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: Sat, 22 Sep 2018 19:54:30
Message-Id: 1537645527.efcbd4017c4047428b2813509cded359158f4156.leio@gentoo
1 commit: efcbd4017c4047428b2813509cded359158f4156
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 22 19:42:51 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 22 19:45:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcbd401
7
8 app-crypt/gcr: bump to 3.28.0
9
10 Bug: https://bugs.gentoo.org/658646
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 app-crypt/gcr/Manifest | 1 +
14 app-crypt/gcr/gcr-3.28.0.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest
18 index 2032451afa6..2c362f4fad4 100644
19 --- a/app-crypt/gcr/Manifest
20 +++ b/app-crypt/gcr/Manifest
21 @@ -1 +1,2 @@
22 DIST gcr-3.20.0.tar.xz 1324216 BLAKE2B dca283d1bde4994ee60666b2d5fdc4f0861df453355dcf20cea22a87808da0b9284506460ecdfe779ab9ecdf4ce17e231bd1d9426d677511684c35e43da19550 SHA512 0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7
23 +DIST gcr-3.28.0.tar.xz 1329044 BLAKE2B b35bca9b62605c4e0c3d71604ea5e6b7cdd97bb3257aabb26b8834622abdeec29798429b84f88254a1f8b04894f5cac2ef63c2a0bfd47ad32761d8d73cd0b189 SHA512 8d5e650cb369fa889b0adfdc1dc1cb5f8b184881256e6c0a2ed456074a54ceb61d64c0929c093bec66c0d5a15c1718f6e3736a1b25b6d7076081df93b49419e0
24
25 diff --git a/app-crypt/gcr/gcr-3.28.0.ebuild b/app-crypt/gcr/gcr-3.28.0.ebuild
26 new file mode 100644
27 index 00000000000..9bcd03c5810
28 --- /dev/null
29 +++ b/app-crypt/gcr/gcr-3.28.0.ebuild
30 @@ -0,0 +1,78 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +VALA_USE_DEPEND="vapigen"
36 +PYTHON_COMPAT=( python2_7 )
37 +
38 +inherit gnome2 python-any-r1 vala virtualx
39 +
40 +DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
41 +HOMEPAGE="https://git.gnome.org/browse/gcr"
42 +
43 +LICENSE="GPL-2+ LGPL-2+"
44 +SLOT="0/1" # subslot = suffix of libgcr-3
45 +
46 +IUSE="debug gtk +introspection vala"
47 +REQUIRED_USE="vala? ( introspection )"
48 +
49 +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"
50 +
51 +COMMON_DEPEND="
52 + >=app-crypt/p11-kit-0.19
53 + >=dev-libs/glib-2.38:2
54 + >=dev-libs/libgcrypt-1.2.2:0=
55 + >=dev-libs/libtasn1-1:=
56 + >=sys-apps/dbus-1
57 + gtk? ( >=x11-libs/gtk+-3.12:3[X,introspection?] )
58 + introspection? ( >=dev-libs/gobject-introspection-1.34:= )
59 +"
60 +RDEPEND="${COMMON_DEPEND}
61 + !<gnome-base/gnome-keyring-3.3
62 +"
63 +# gcr was part of gnome-keyring until 3.3
64 +DEPEND="${COMMON_DEPEND}
65 + ${PYTHON_DEPS}
66 + dev-libs/gobject-introspection-common
67 + dev-libs/libxml2:2
68 + dev-libs/libxslt
69 + dev-libs/vala-common
70 + dev-util/gdbus-codegen
71 + dev-util/glib-utils
72 + >=dev-util/gtk-doc-am-1.9
73 + >=dev-util/intltool-0.35
74 + sys-devel/gettext
75 + virtual/pkgconfig
76 + vala? ( $(vala_depend) )
77 +"
78 +# eautoreconf needs:
79 +# dev-libs/gobject-introspection-common
80 +# dev-libs/vala-common
81 +
82 +pkg_setup() {
83 + python-any-r1_pkg_setup
84 +}
85 +
86 +src_prepare() {
87 + # Disable stupid flag changes
88 + sed -e 's/CFLAGS="$CFLAGS -g"//' \
89 + -e 's/CFLAGS="$CFLAGS -O0"//' \
90 + -i configure.ac configure || die
91 +
92 + use vala && vala_src_prepare
93 + gnome2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + gnome2_src_configure \
98 + $(use_with gtk) \
99 + $(use_enable introspection) \
100 + $(use_enable vala) \
101 + $(usex debug --enable-debug=yes --enable-debug=default) \
102 + --disable-update-icon-cache \
103 + --disable-update-mime
104 +}
105 +
106 +src_test() {
107 + virtx emake check
108 +}