From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-599094-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 4FD361381F3
	for <garchives@archives.gentoo.org>; Wed, 12 Jun 2013 22:20:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3244AE0856;
	Wed, 12 Jun 2013 22:20:44 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C8F2CE0856
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Jun 2013 22:20:43 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DDD8633E3D5
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Jun 2013 22:20:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 693C3E468F
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Jun 2013 22:20:41 +0000 (UTC)
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" <nirbheek@gentoo.org>
Message-ID: <1371075612.f406bdccc02e6a59091ae824d0bde3f6ccbed8e0.nirbheek@gentoo>
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/
X-VCS-Repository: proj/gnome
X-VCS-Files: gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild
X-VCS-Directories: gnome-extra/gnome-boxes/
X-VCS-Committer: nirbheek
X-VCS-Committer-Name: Nirbheek Chauhan
X-VCS-Revision: f406bdccc02e6a59091ae824d0bde3f6ccbed8e0
X-VCS-Branch: master
Date: Wed, 12 Jun 2013 22:20:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 40354519-1e52-43d6-9eac-41b1fa4697d2
X-Archives-Hash: e2233f222facb057de5b8e420118b88a

commit:     f406bdccc02e6a59091ae824d0bde3f6ccbed8e0
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 20:57:40 2013 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 22:20:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f406bdcc

gnome-extra/gnome-boxes: Use vala.eclass

---
 gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild
index bb442d3..3a51ebd 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild
@@ -4,8 +4,10 @@
 
 EAPI="5"
 GCONF_DEBUG="no"
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.18"
 
-inherit linux-info gnome2
+inherit linux-info gnome2 vala
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -55,7 +57,7 @@ DEPEND="${RDEPEND}
 
 if [[ ${PV} = 9999 ]]; then
 	DEPEND="${DEPEND}
-		>=dev-lang/vala-0.17.2:0.18[vapigen]
+		$(vala_depend)
 		sys-libs/libosinfo[introspection,vala]
 		app-emulation/libvirt-glib[introspection,vala]
 		net-libs/gtk-vnc[introspection,vala]
@@ -77,14 +79,13 @@ src_prepare() {
 		-i configure.ac configure || die
 
 	gnome2_src_prepare
+	vala_src_prepare
 }
 
 src_configure() {
 	DOCS="AUTHORS README NEWS THANKS TODO"
 	gnome2_src_configure \
-		--disable-strict-cc \
-		VALAC=$(type -P valac-0.18) \
-		VAPIGEN=$(type -P vapigen-0.18)
+		--disable-strict-cc
 }
 
 pkg_postinst() {