1 |
commit: ccb73d438df478f1edb17cd183b21da5c0a6180e |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 20 22:30:43 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 20 22:31:25 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ccb73d43 |
7 |
|
8 |
app-crypt/gcr: 3.8.2 → 3.10.1 |
9 |
|
10 |
--- |
11 |
app-crypt/gcr/gcr-3.10.1.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++ |
12 |
app-crypt/gcr/gcr-9999.ebuild | 51 ++++++++++++++++-------------- |
13 |
2 files changed, 97 insertions(+), 24 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/gcr/gcr-3.10.1.ebuild b/app-crypt/gcr/gcr-3.10.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..f6d7f96 |
18 |
--- /dev/null |
19 |
+++ b/app-crypt/gcr/gcr-3.10.1.ebuild |
20 |
@@ -0,0 +1,70 @@ |
21 |
+# Copyright 1999-2013 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+GCONF_DEBUG="no" |
27 |
+VALA_MIN_API_VERSION="0.18" |
28 |
+VALA_USE_DEPEND="vapigen" |
29 |
+ |
30 |
+inherit gnome2 vala virtualx |
31 |
+ |
32 |
+DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" |
33 |
+HOMEPAGE="https://developer.gnome.org/gcr/" |
34 |
+ |
35 |
+LICENSE="GPL-2+ LGPL-2+" |
36 |
+SLOT="0/1" # subslot = suffix of libgcr-3 |
37 |
+IUSE="debug gtk +introspection vala" |
38 |
+REQUIRED_USE="vala? ( introspection )" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=app-crypt/gnupg-2 |
43 |
+ >=app-crypt/p11-kit-0.19 |
44 |
+ >=dev-libs/glib-2.32:2 |
45 |
+ >=dev-libs/libgcrypt-1.2.2:= |
46 |
+ >=dev-libs/libtasn1-1:= |
47 |
+ >=sys-apps/dbus-1 |
48 |
+ gtk? ( >=x11-libs/gtk+-3:3 ) |
49 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34 ) |
50 |
+" |
51 |
+RDEPEND="${COMMON_DEPEND} |
52 |
+ !<gnome-base/gnome-keyring-3.3 |
53 |
+" |
54 |
+# gcr was part of gnome-keyring until 3.3 |
55 |
+DEPEND="${COMMON_DEPEND} |
56 |
+ dev-libs/gobject-introspection-common |
57 |
+ dev-util/gdbus-codegen |
58 |
+ >=dev-util/gtk-doc-am-1.9 |
59 |
+ >=dev-util/intltool-0.35 |
60 |
+ sys-devel/gettext |
61 |
+ virtual/pkgconfig |
62 |
+ vala? ( $(vala_depend) ) |
63 |
+" |
64 |
+# eautoreconf needs: |
65 |
+# dev-libs/gobject-introspection-common |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ # Disable stupid flag changes |
69 |
+ sed -e 's/CFLAGS="$CFLAGS -g"//' \ |
70 |
+ -e 's/CFLAGS="$CFLAGS -O0"//' \ |
71 |
+ -i configure.ac configure || die |
72 |
+ |
73 |
+ gnome2_src_prepare |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ DOCS="AUTHORS ChangeLog HACKING NEWS README" |
78 |
+ gnome2_src_configure \ |
79 |
+ $(use_with gtk) \ |
80 |
+ $(use_enable introspection) \ |
81 |
+ $(use_enable vala) \ |
82 |
+ $(usex debug --enable-debug=yes --enable-debug=default) \ |
83 |
+ --disable-update-icon-cache \ |
84 |
+ --disable-update-mime |
85 |
+} |
86 |
+ |
87 |
+src_test() { |
88 |
+ unset DBUS_SESSION_BUS_ADDRESS |
89 |
+ Xemake check |
90 |
+} |
91 |
|
92 |
diff --git a/app-crypt/gcr/gcr-9999.ebuild b/app-crypt/gcr/gcr-9999.ebuild |
93 |
index d1afa69..0067941 100644 |
94 |
--- a/app-crypt/gcr/gcr-9999.ebuild |
95 |
+++ b/app-crypt/gcr/gcr-9999.ebuild |
96 |
@@ -1,22 +1,24 @@ |
97 |
-# Copyright 1999-2012 Gentoo Foundation |
98 |
+# Copyright 1999-2013 Gentoo Foundation |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
# $Header: $ |
101 |
|
102 |
-EAPI="4" |
103 |
+EAPI="5" |
104 |
GCONF_DEBUG="no" |
105 |
-GNOME2_LA_PUNT="yes" |
106 |
+VALA_MIN_API_VERSION="0.18" |
107 |
+VALA_USE_DEPEND="vapigen" |
108 |
|
109 |
-inherit gnome2 virtualx |
110 |
+inherit gnome2 vala virtualx |
111 |
if [[ ${PV} = 9999 ]]; then |
112 |
inherit gnome2-live |
113 |
fi |
114 |
|
115 |
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" |
116 |
-HOMEPAGE="http://www.gnome.org/" |
117 |
+HOMEPAGE="https://developer.gnome.org/gcr/" |
118 |
|
119 |
LICENSE="GPL-2+ LGPL-2+" |
120 |
-SLOT="0" |
121 |
-IUSE="debug +introspection" |
122 |
+SLOT="0/1" # subslot = suffix of libgcr-3 |
123 |
+IUSE="debug gtk +introspection vala" |
124 |
+REQUIRED_USE="vala? ( introspection )" |
125 |
if [[ ${PV} = 9999 ]]; then |
126 |
IUSE="${IUSE} doc" |
127 |
KEYWORDS="" |
128 |
@@ -26,13 +28,13 @@ fi |
129 |
|
130 |
COMMON_DEPEND=" |
131 |
>=app-crypt/gnupg-2 |
132 |
- >=app-crypt/p11-kit-0.6 |
133 |
+ >=app-crypt/p11-kit-0.19 |
134 |
>=dev-libs/glib-2.32:2 |
135 |
- >=dev-libs/libgcrypt-1.2.2 |
136 |
- >=dev-libs/libtasn1-1 |
137 |
- >=sys-apps/dbus-1.0 |
138 |
- >=x11-libs/gtk+-3.0:3 |
139 |
- introspection? ( >=dev-libs/gobject-introspection-1.29 ) |
140 |
+ >=dev-libs/libgcrypt-1.2.2:= |
141 |
+ >=dev-libs/libtasn1-1:= |
142 |
+ >=sys-apps/dbus-1 |
143 |
+ gtk? ( >=x11-libs/gtk+-3:3 ) |
144 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34 ) |
145 |
" |
146 |
RDEPEND="${COMMON_DEPEND} |
147 |
!<gnome-base/gnome-keyring-3.3 |
148 |
@@ -45,6 +47,7 @@ DEPEND="${COMMON_DEPEND} |
149 |
>=dev-util/intltool-0.35 |
150 |
sys-devel/gettext |
151 |
virtual/pkgconfig |
152 |
+ vala? ( $(vala_depend) ) |
153 |
" |
154 |
# eautoreconf needs: |
155 |
# dev-libs/gobject-introspection-common |
156 |
@@ -55,17 +58,6 @@ if [[ ${PV} = 9999 ]]; then |
157 |
fi |
158 |
|
159 |
src_prepare() { |
160 |
- DOCS="AUTHORS ChangeLog HACKING NEWS README" |
161 |
- G2CONF="${G2CONF} |
162 |
- $(use_enable introspection) |
163 |
- --enable-debug=default |
164 |
- --disable-update-icon-cache |
165 |
- --disable-update-mime" |
166 |
- |
167 |
- if use debug; then |
168 |
- G2CONF="${G2CONF} --enable-debug=yes" |
169 |
- fi |
170 |
- |
171 |
# Disable stupid flag changes |
172 |
sed -e 's/CFLAGS="$CFLAGS -g"//' \ |
173 |
-e 's/CFLAGS="$CFLAGS -O0"//' \ |
174 |
@@ -74,6 +66,17 @@ src_prepare() { |
175 |
gnome2_src_prepare |
176 |
} |
177 |
|
178 |
+src_configure() { |
179 |
+ DOCS="AUTHORS ChangeLog HACKING NEWS README" |
180 |
+ gnome2_src_configure \ |
181 |
+ $(use_with gtk) \ |
182 |
+ $(use_enable introspection) \ |
183 |
+ $(use_enable vala) \ |
184 |
+ $(usex debug --enable-debug=yes --enable-debug=default) \ |
185 |
+ --disable-update-icon-cache \ |
186 |
+ --disable-update-mime |
187 |
+} |
188 |
+ |
189 |
src_test() { |
190 |
unset DBUS_SESSION_BUS_ADDRESS |
191 |
Xemake check |