Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-contacts/
Date: Mon, 01 Oct 2012 04:00:28
Message-Id: 1349063705.1ad82ff3c456135ae4b7ee0dc9e0f672a13a23ad.tetromino@gentoo
1 commit: 1ad82ff3c456135ae4b7ee0dc9e0f672a13a23ad
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 1 03:55:05 2012 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 03:55:05 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1ad82ff3
7
8 gnome-extra/gnome-contacts: 3.5.92 → 3.6.0 and fix build (#436732)
9
10 Add missing dependencies on vala bindings when USE=-v4l. Thanks to
11 Raphael Berlamont for reporting.
12
13 ---
14 ...s-3.5.92.ebuild => gnome-contacts-3.6.0.ebuild} | 13 ++++++++-----
15 .../gnome-contacts/gnome-contacts-9999.ebuild | 13 ++++++++-----
16 2 files changed, 16 insertions(+), 10 deletions(-)
17
18 diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
19 similarity index 85%
20 rename from gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild
21 rename to gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
22 index 7bfeb5a..fa4bc76 100644
23 --- a/gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild
24 +++ b/gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
25 @@ -23,7 +23,11 @@ else
26 KEYWORDS="~amd64 ~x86"
27 fi
28 VALA_DEPEND="$(vala_depend)
29 - net-libs/telepathy-glib[vala]"
30 + dev-libs/folks[vala]
31 + gnome-base/gnome-desktop[introspection]
32 + gnome-extra/evolution-data-server[vala]
33 + net-libs/telepathy-glib[vala]
34 + x11-libs/libnotify[introspection]"
35 # Configure is wrong; it needs cheese-3.5.91, not 3.3.91
36 RDEPEND="
37 >=dev-libs/glib-2.31.10:2
38 @@ -55,10 +59,7 @@ fi
39
40 pkg_setup() {
41 DOCS="AUTHORS ChangeLog NEWS" # README is empty
42 - # We do not need valac when building from pre-generated C sources,
43 - # but configure checks for it anyway
44 G2CONF="${G2CONF}
45 - VALAC=$(type -P valac-$(vala_best_api_version))
46 $(use_with v4l cheese)"
47 # FIXME: Fails to compile with USE=-v4l
48 }
49 @@ -68,6 +69,8 @@ src_prepare() {
50 if ! use v4l; then
51 touch src/*.vala
52 fi
53 - # We don't want vala_src_prepare
54 + if [[ ${PV} = 9999 ]] || ! use v4l; then
55 + vala_src_prepare
56 + fi
57 gnome2_src_prepare
58 }
59
60 diff --git a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
61 index 7bfeb5a..fa4bc76 100644
62 --- a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
63 +++ b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
64 @@ -23,7 +23,11 @@ else
65 KEYWORDS="~amd64 ~x86"
66 fi
67 VALA_DEPEND="$(vala_depend)
68 - net-libs/telepathy-glib[vala]"
69 + dev-libs/folks[vala]
70 + gnome-base/gnome-desktop[introspection]
71 + gnome-extra/evolution-data-server[vala]
72 + net-libs/telepathy-glib[vala]
73 + x11-libs/libnotify[introspection]"
74 # Configure is wrong; it needs cheese-3.5.91, not 3.3.91
75 RDEPEND="
76 >=dev-libs/glib-2.31.10:2
77 @@ -55,10 +59,7 @@ fi
78
79 pkg_setup() {
80 DOCS="AUTHORS ChangeLog NEWS" # README is empty
81 - # We do not need valac when building from pre-generated C sources,
82 - # but configure checks for it anyway
83 G2CONF="${G2CONF}
84 - VALAC=$(type -P valac-$(vala_best_api_version))
85 $(use_with v4l cheese)"
86 # FIXME: Fails to compile with USE=-v4l
87 }
88 @@ -68,6 +69,8 @@ src_prepare() {
89 if ! use v4l; then
90 touch src/*.vala
91 fi
92 - # We don't want vala_src_prepare
93 + if [[ ${PV} = 9999 ]] || ! use v4l; then
94 + vala_src_prepare
95 + fi
96 gnome2_src_prepare
97 }