public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Rostovtsev" <tetromino@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-contacts/
Date: Mon,  1 Oct 2012 04:00:15 +0000 (UTC)	[thread overview]
Message-ID: <1349063705.1ad82ff3c456135ae4b7ee0dc9e0f672a13a23ad.tetromino@gentoo> (raw)

commit:     1ad82ff3c456135ae4b7ee0dc9e0f672a13a23ad
Author:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  1 03:55:05 2012 +0000
Commit:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 03:55:05 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1ad82ff3

gnome-extra/gnome-contacts: 3.5.92 → 3.6.0 and fix build (#436732)

Add missing dependencies on vala bindings when USE=-v4l. Thanks to
Raphael Berlamont for reporting.

---
 ...s-3.5.92.ebuild => gnome-contacts-3.6.0.ebuild} |   13 ++++++++-----
 .../gnome-contacts/gnome-contacts-9999.ebuild      |   13 ++++++++-----
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
similarity index 85%
rename from gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild
rename to gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
index 7bfeb5a..fa4bc76 100644
--- a/gnome-extra/gnome-contacts/gnome-contacts-3.5.92.ebuild
+++ b/gnome-extra/gnome-contacts/gnome-contacts-3.6.0.ebuild
@@ -23,7 +23,11 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 VALA_DEPEND="$(vala_depend)
-	net-libs/telepathy-glib[vala]"
+	dev-libs/folks[vala]
+	gnome-base/gnome-desktop[introspection]
+	gnome-extra/evolution-data-server[vala]
+	net-libs/telepathy-glib[vala]
+	x11-libs/libnotify[introspection]"
 # Configure is wrong; it needs cheese-3.5.91, not 3.3.91
 RDEPEND="
 	>=dev-libs/glib-2.31.10:2
@@ -55,10 +59,7 @@ fi
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS" # README is empty
-	# We do not need valac when building from pre-generated C sources,
-	# but configure checks for it anyway
 	G2CONF="${G2CONF}
-		VALAC=$(type -P valac-$(vala_best_api_version))
 		$(use_with v4l cheese)"
 	# FIXME: Fails to compile with USE=-v4l
 }
@@ -68,6 +69,8 @@ src_prepare() {
 	if ! use v4l; then
 		touch src/*.vala
 	fi
-	# We don't want vala_src_prepare
+	if [[ ${PV} = 9999 ]] || ! use v4l; then
+		vala_src_prepare
+	fi
 	gnome2_src_prepare
 }

diff --git a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
index 7bfeb5a..fa4bc76 100644
--- a/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
+++ b/gnome-extra/gnome-contacts/gnome-contacts-9999.ebuild
@@ -23,7 +23,11 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 VALA_DEPEND="$(vala_depend)
-	net-libs/telepathy-glib[vala]"
+	dev-libs/folks[vala]
+	gnome-base/gnome-desktop[introspection]
+	gnome-extra/evolution-data-server[vala]
+	net-libs/telepathy-glib[vala]
+	x11-libs/libnotify[introspection]"
 # Configure is wrong; it needs cheese-3.5.91, not 3.3.91
 RDEPEND="
 	>=dev-libs/glib-2.31.10:2
@@ -55,10 +59,7 @@ fi
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS" # README is empty
-	# We do not need valac when building from pre-generated C sources,
-	# but configure checks for it anyway
 	G2CONF="${G2CONF}
-		VALAC=$(type -P valac-$(vala_best_api_version))
 		$(use_with v4l cheese)"
 	# FIXME: Fails to compile with USE=-v4l
 }
@@ -68,6 +69,8 @@ src_prepare() {
 	if ! use v4l; then
 		touch src/*.vala
 	fi
-	# We don't want vala_src_prepare
+	if [[ ${PV} = 9999 ]] || ! use v4l; then
+		vala_src_prepare
+	fi
 	gnome2_src_prepare
 }


             reply	other threads:[~2012-10-01  4:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01  4:00 Alexandre Rostovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-02-23 20:37 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-contacts/ Mart Raudsepp
2018-05-27 21:50 Gilles Dartiguelongue
2018-05-27 21:50 Gilles Dartiguelongue
2018-03-09 16:10 Sobhan Mohammadpour
2015-05-09 22:25 Gilles Dartiguelongue
2014-12-22 23:11 Gilles Dartiguelongue
2014-11-23 23:24 Gilles Dartiguelongue
2014-04-20 23:44 Gilles Dartiguelongue
2014-04-20 18:17 Gilles Dartiguelongue
2014-02-12 20:58 Gilles Dartiguelongue
2013-12-08 21:46 Gilles Dartiguelongue
2013-11-14 22:52 Gilles Dartiguelongue
2013-06-03  2:41 Alexandre Rostovtsev
2012-12-19  0:55 Alexandre Rostovtsev
2012-12-18 23:32 Gilles Dartiguelongue
2012-11-25 18:03 Gilles Dartiguelongue
2012-10-27 20:58 Gilles Dartiguelongue
2012-09-21  0:27 Nirbheek Chauhan
2012-05-24  9:11 Alexandre Restovtsev
2012-03-29 10:44 Nirbheek Chauhan
2012-03-29  9:46 Nirbheek Chauhan
2012-03-26  8:20 Nirbheek Chauhan
2011-11-06 21:39 Alexandre Restovtsev
2011-10-23  8:41 Alexandre Restovtsev
2011-10-19  8:24 Alexandre Restovtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349063705.1ad82ff3c456135ae4b7ee0dc9e0f672a13a23ad.tetromino@gentoo \
    --to=tetromino@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox