Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-crypt/seahorse/
Date: Wed, 20 Nov 2013 23:08:28
Message-Id: 1384988821.1e574210cd4669f93f49ce9f7cb8b2f21464002a.eva@gentoo
1 commit: 1e574210cd4669f93f49ce9f7cb8b2f21464002a
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 13 10:18:51 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 20 23:07:01 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1e574210
7
8 app-crypt/seahorse: 3.8.2 → 3.10.1
9
10 ---
11 app-crypt/seahorse/seahorse-3.10.1.ebuild | 66 +++++++++++++++++++++++++++++++
12 app-crypt/seahorse/seahorse-9999.ebuild | 55 ++++++++++++++------------
13 2 files changed, 95 insertions(+), 26 deletions(-)
14
15 diff --git a/app-crypt/seahorse/seahorse-3.10.1.ebuild b/app-crypt/seahorse/seahorse-3.10.1.ebuild
16 new file mode 100644
17 index 0000000..cf17971
18 --- /dev/null
19 +++ b/app-crypt/seahorse/seahorse-3.10.1.ebuild
20 @@ -0,0 +1,66 @@
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="yes"
27 +
28 +inherit gnome2
29 +
30 +DESCRIPTION="A GNOME application for managing encryption keys"
31 +HOMEPAGE="http://projects.gnome.org/seahorse/index.html"
32 +
33 +LICENSE="GPL-2+ FDL-1.1+"
34 +SLOT="0"
35 +IUSE="avahi debug ldap"
36 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
37 +
38 +COMMON_DEPEND="
39 + >=app-crypt/gcr-3.9.1:=
40 + >=dev-libs/glib-2.10:2
41 + >=x11-libs/gtk+-3.4:3
42 + >=app-crypt/libsecret-0.16
43 + >=net-libs/libsoup-2.33.92:2.4
44 + x11-misc/shared-mime-info
45 +
46 + net-misc/openssh
47 + >=app-crypt/gpgme-1
48 + || (
49 + =app-crypt/gnupg-2.0*
50 + =app-crypt/gnupg-1.4* )
51 +
52 + avahi? ( >=net-dns/avahi-0.6:= )
53 + ldap? ( net-nds/openldap:= )
54 +"
55 +DEPEND="${COMMON_DEPEND}
56 + >=dev-util/intltool-0.35
57 + sys-devel/gettext
58 + virtual/pkgconfig
59 +"
60 +# Need seahorse-plugins git snapshot
61 +RDEPEND="${COMMON_DEPEND}
62 + !<app-crypt/seahorse-plugins-2.91.0_pre20110114
63 +"
64 +
65 +src_prepare() {
66 + # FIXME: Do not mess with CFLAGS with USE="debug"
67 + sed -e '/CFLAGS="$CFLAGS -g/d' \
68 + -e '/CFLAGS="$CFLAGS -O0/d' \
69 + -i configure.ac configure || die "sed 1 failed"
70 +
71 + gnome2_src_prepare
72 +}
73 +
74 +src_configure() {
75 + gnome2_src_configure \
76 + --enable-pgp \
77 + --enable-ssh \
78 + --enable-pkcs11 \
79 + --disable-static \
80 + --enable-hkp \
81 + $(use_enable avahi sharing) \
82 + $(use_enable debug) \
83 + $(use_enable ldap) \
84 + ITSTOOL=$(type -P true) \
85 + VALAC=$(type -P true)
86 +}
87
88 diff --git a/app-crypt/seahorse/seahorse-9999.ebuild b/app-crypt/seahorse/seahorse-9999.ebuild
89 index 28028d1..358dae0 100644
90 --- a/app-crypt/seahorse/seahorse-9999.ebuild
91 +++ b/app-crypt/seahorse/seahorse-9999.ebuild
92 @@ -1,34 +1,34 @@
93 -# Copyright 1999-2012 Gentoo Foundation
94 +# Copyright 1999-2013 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: $
97
98 -EAPI="4"
99 +EAPI="5"
100 GCONF_DEBUG="yes"
101 -GNOME2_LA_PUNT="yes"
102 +VALA_MIN_API_DEPEND="0.18"
103
104 inherit gnome2
105 if [[ ${PV} = 9999 ]]; then
106 - inherit gnome2-live
107 + inherit gnome2-live vala
108 fi
109
110 DESCRIPTION="A GNOME application for managing encryption keys"
111 -HOMEPAGE="http://www.gnome.org/projects/seahorse/index.html"
112 +HOMEPAGE="http://projects.gnome.org/seahorse/index.html"
113
114 -LICENSE="GPL-2"
115 +LICENSE="GPL-2+ FDL-1.1+"
116 SLOT="0"
117 IUSE="avahi debug ldap"
118 if [[ ${PV} = 9999 ]]; then
119 KEYWORDS=""
120 else
121 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
122 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
123 fi
124
125 COMMON_DEPEND="
126 - >=app-crypt/gcr-3.3.4
127 + >=app-crypt/gcr-3.9.1:=
128 >=dev-libs/glib-2.10:2
129 >=x11-libs/gtk+-3.4:3
130 - >=app-crypt/libsecret-0.5
131 - net-libs/libsoup:2.4
132 + >=app-crypt/libsecret-0.16
133 + >=net-libs/libsoup-2.33.92:2.4
134 x11-misc/shared-mime-info
135
136 net-misc/openssh
137 @@ -37,11 +37,10 @@ COMMON_DEPEND="
138 =app-crypt/gnupg-2.0*
139 =app-crypt/gnupg-1.4* )
140
141 - avahi? ( >=net-dns/avahi-0.6 )
142 - ldap? ( net-nds/openldap )
143 + avahi? ( >=net-dns/avahi-0.6:= )
144 + ldap? ( net-nds/openldap:= )
145 "
146 DEPEND="${COMMON_DEPEND}
147 - app-text/yelp-tools
148 >=dev-util/intltool-0.35
149 sys-devel/gettext
150 virtual/pkgconfig
151 @@ -52,6 +51,7 @@ RDEPEND="${COMMON_DEPEND}
152 "
153 if [[ ${PV} = 9999 ]]; then
154 DEPEND="${DEPEND}
155 + $(vala_depend)
156 app-text/yelp-tools"
157 fi
158
159 @@ -65,17 +65,20 @@ src_prepare() {
160 }
161
162 src_configure() {
163 - DOCS="AUTHORS ChangeLog NEWS README TODO THANKS"
164 - G2CONF="${G2CONF}
165 - --enable-pgp
166 - --enable-ssh
167 - --enable-pkcs11
168 - --disable-static
169 - --enable-hkp
170 - $(use_enable avahi sharing)
171 - $(use_enable debug)
172 - $(use_enable ldap)"
173 - [[ ${PV} != 9999 ]] && G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
174 -
175 - gnome2_src_configure
176 + local myconf=""
177 + if [[ ${PV} != 9999 ]]; then
178 + myconf="${myconf}
179 + ITSTOOL=$(type -P true)
180 + VALAC=$(type -P true)"
181 + fi
182 + gnome2_src_configure \
183 + --enable-pgp \
184 + --enable-ssh \
185 + --enable-pkcs11 \
186 + --disable-static \
187 + --enable-hkp \
188 + $(use_enable avahi sharing) \
189 + $(use_enable debug) \
190 + $(use_enable ldap) \
191 + ${myconf}
192 }