Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/libsecret: libsecret-0.13.ebuild ChangeLog
Date: Sat, 02 Mar 2013 08:51:26
Message-Id: 20130302085122.C228E2171E@flycatcher.gentoo.org
1 nirbheek 13/03/02 08:51:22
2
3 Modified: ChangeLog
4 Added: libsecret-0.13.ebuild
5 Log:
6 Bump to 0.13, add a patch from git to fix SecretValue annotations
7
8 (Portage version: 2.2.0_alpha162/cvs/Linux x86_64, signed Manifest commit with key 560FDD64)
9
10 Revision Changes Path
11 1.14 app-crypt/libsecret/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libsecret/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libsecret/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libsecret/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-crypt/libsecret/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 28 Jan 2013 14:56:10 -0000 1.13
24 +++ ChangeLog 2 Mar 2013 08:51:22 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-crypt/libsecret
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/libsecret/ChangeLog,v 1.13 2013/01/28 14:56:10 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/libsecret/ChangeLog,v 1.14 2013/03/02 08:51:22 nirbheek Exp $
30 +
31 +*libsecret-0.13 (02 Mar 2013)
32 +
33 + 02 Mar 2013; Nirbheek Chauhan <nirbheek@g.o>
34 + +files/libsecret-0.13-fix-secretvalue-get.patch, +libsecret-0.13.ebuild:
35 + Bump to 0.13, add a patch from git to fix SecretValue annotations
36
37 28 Jan 2013; Alexis Ballier <aballier@g.o> libsecret-0.12.ebuild:
38 keyword ~amd64-fbsd
39
40
41
42 1.1 app-crypt/libsecret/libsecret-0.13.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libsecret/libsecret-0.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/libsecret/libsecret-0.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libsecret-0.13.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-crypt/libsecret/libsecret-0.13.ebuild,v 1.1 2013/03/02 08:51:22 nirbheek Exp $
52
53 EAPI="5"
54 VALA_MIN_API_VERSION=0.18
55 VALA_USE_DEPEND=vapigen
56
57 inherit eutils gnome2 python vala virtualx
58
59 DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
60 HOMEPAGE="https://live.gnome.org/Libsecret"
61
62 LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
63 SLOT="0"
64 IUSE="+crypt debug +introspection test vala"
65 REQUIRED_USE="vala? ( introspection )"
66 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
67
68 COMMON_DEPEND="
69 >=dev-libs/glib-2.32.0:2
70 crypt? ( >=dev-libs/libgcrypt-1.2.2:= )
71 introspection? ( >=dev-libs/gobject-introspection-1.29 )"
72 RDEPEND="${COMMON_DEPEND}
73 >=gnome-base/gnome-keyring-3"
74 # Add ksecrets to RDEPEND when it's added to portage
75 DEPEND="${COMMON_DEPEND}
76 dev-libs/libxslt
77 dev-util/gdbus-codegen
78 dev-util/gtk-doc-am
79 >=dev-util/intltool-0.35.0
80 sys-devel/gettext
81 virtual/pkgconfig
82 test? (
83 dev-python/mock
84 introspection? (
85 =dev-lang/python-2*
86 >=dev-libs/gjs-1.32
87 dev-python/pygobject:3 )
88 )
89 vala? ( $(vala_depend) )"
90
91 pkg_setup() {
92 # python is only needed for tests
93 if use test && use introspection; then
94 python_set_active_version 2
95 python_pkg_setup
96 fi
97 }
98
99 src_prepare() {
100 DOCS="AUTHORS ChangeLog NEWS README"
101 G2CONF="${G2CONF}
102 --enable-manpages
103 --disable-strict
104 --disable-coverage
105 --disable-static
106 $(use_enable crypt gcrypt)
107 $(use_enable introspection)
108 $(use_enable vala)"
109
110 # FIXME: disable failing test
111 sed -e '/test_get_sync);/d' \
112 -e '/test_get_async);/d' \
113 -i libsecret/tests/test-service.c || die
114
115 # https://bugzilla.gnome.org/show_bug.cgi?id=694448
116 epatch "${FILESDIR}/${P}-fix-secretvalue-get.patch"
117
118 use vala && vala_src_prepare
119 gnome2_src_prepare
120 }
121
122 src_test() {
123 Xemake check
124 }