1 |
commit: 7a0c074d337968786865ec20a8f1f067765e2618 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 3 02:30:09 2013 +0000 |
4 |
Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 3 02:36:38 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=7a0c074d |
7 |
|
8 |
gnome-extra/gnome-contacts: use git submodules (#471762) and sync ebuild with gx86 |
9 |
|
10 |
Thanks to Robin Kauffman for noticing that libgd submodule is needed. |
11 |
|
12 |
--- |
13 |
.../gnome-contacts/gnome-contacts-9999.ebuild | 38 ++++++++++------------ |
14 |
1 file changed, 17 insertions(+), 21 deletions(-) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
17 |
index 4230881..76a7d7c 100644 |
18 |
--- a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
19 |
+++ b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Copyright 1999-2013 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Header: $ |
25 |
|
26 |
@@ -19,21 +19,23 @@ SLOT="0" |
27 |
IUSE="v4l" |
28 |
if [[ ${PV} = 9999 ]]; then |
29 |
KEYWORDS="" |
30 |
+ EGIT_HAS_SUBMODULES=true |
31 |
else |
32 |
- KEYWORDS="~amd64 ~x86" |
33 |
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
34 |
fi |
35 |
-VALA_DEPEND="$(vala_depend) |
36 |
+VALA_DEPEND=" |
37 |
+ $(vala_depend) |
38 |
dev-libs/folks[vala] |
39 |
gnome-base/gnome-desktop[introspection] |
40 |
gnome-extra/evolution-data-server[vala] |
41 |
net-libs/telepathy-glib[vala] |
42 |
- x11-libs/libnotify[introspection]" |
43 |
- |
44 |
+ x11-libs/libnotify[introspection] |
45 |
+" |
46 |
# Configure is wrong; it needs cheese-3.5.91, not 3.3.91 |
47 |
RDEPEND=" |
48 |
>=dev-libs/folks-0.7.3:=[eds,telepathy] |
49 |
>=dev-libs/glib-2.31.10:2 |
50 |
- dev-libs/libgee:0 |
51 |
+ >=dev-libs/libgee-0.10:0.8 |
52 |
>=gnome-extra/evolution-data-server-3.5.3:=[gnome-online-accounts] |
53 |
>=gnome-base/gnome-desktop-3.0:3= |
54 |
net-libs/gnome-online-accounts |
55 |
@@ -46,28 +48,22 @@ RDEPEND=" |
56 |
v4l? ( >=media-video/cheese-3.5.91:= ) |
57 |
" |
58 |
DEPEND="${RDEPEND} |
59 |
+ ${VALA_DEPEND} |
60 |
>=dev-util/intltool-0.40 |
61 |
>=sys-devel/gettext-0.17 |
62 |
virtual/pkgconfig |
63 |
- !v4l? ( ${VALA_DEPEND} )" |
64 |
-# When !v4l, we regenerate the .c sources |
65 |
- |
66 |
-if [[ ${PV} = 9999 ]]; then |
67 |
- DEPEND+=" |
68 |
- ${VALA_DEPEND}" |
69 |
-fi |
70 |
+" |
71 |
|
72 |
src_prepare() { |
73 |
- G2CONF="${G2CONF} |
74 |
- $(use_with v4l cheese)" |
75 |
- # FIXME: Fails to compile with USE=-v4l |
76 |
- |
77 |
- # Regenerate the pre-generated C sources |
78 |
+ # Regenerate the pre-generated C sources, bug #471628 |
79 |
if ! use v4l; then |
80 |
touch src/*.vala |
81 |
fi |
82 |
- if [[ ${PV} = 9999 ]] || ! use v4l; then |
83 |
- vala_src_prepare |
84 |
- fi |
85 |
+ |
86 |
gnome2_src_prepare |
87 |
+ vala_src_prepare |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ gnome2_src_configure $(use_with v4l cheese) |
92 |
} |