From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1112408-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E4D79138334
	for <garchives@archives.gentoo.org>; Sat, 21 Sep 2019 14:24:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 18702E0839;
	Sat, 21 Sep 2019 14:24:26 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F3765E0839
	for <gentoo-commits@lists.gentoo.org>; Sat, 21 Sep 2019 14:24:25 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A51EB34B465
	for <gentoo-commits@lists.gentoo.org>; Sat, 21 Sep 2019 14:24:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F071C615
	for <gentoo-commits@lists.gentoo.org>; Sat, 21 Sep 2019 14:24:21 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@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, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1569075848.6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libical/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libical/libical-3.0.6.ebuild
X-VCS-Directories: dev-libs/libical/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7
X-VCS-Branch: master
Date: Sat, 21 Sep 2019 14:24:21 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2509d42d-bba2-4489-88e3-22251dff77d7
X-Archives-Hash: 35683e508f10eae3a9d1a47e5599f7c1

commit:     6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 21 14:19:32 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep 21 14:24:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fed4d7e

dev-libs/libical: Fix USE vala

Reported-by: Marek Bartosiewicz <marek.bartosiewicz <AT> gmail.com>
Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail.com>
Closes: https://bugs.gentoo.org/694922
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/libical/libical-3.0.6.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libical/libical-3.0.6.ebuild b/dev-libs/libical/libical-3.0.6.ebuild
index 04ea480f906..91bc8ab7825 100644
--- a/dev-libs/libical/libical-3.0.6.ebuild
+++ b/dev-libs/libical/libical-3.0.6.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
+VALA_USE_DEPEND="vapigen"
 inherit cmake-utils python-any-r1 vala
 
 DESCRIPTION="An implementation of basic iCAL protocols"
@@ -21,6 +22,7 @@ BDEPEND="
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )
 	test? ( ${PYTHON_DEPS} )
+	vala? ( $(vala_depend) )
 "
 DEPEND="
 	dev-libs/icu:=
@@ -30,7 +32,6 @@ DEPEND="
 		dev-libs/gobject-introspection:=
 		dev-libs/libxml2:2
 	)
-	vala? ( $(vala_depend) )
 "
 RDEPEND="${DEPEND}
 	sys-libs/timezone-data
@@ -66,6 +67,12 @@ src_configure() {
 		-DLIBICAL_BUILD_TESTING=$(usex test)
 		-DICAL_GLIB_VAPI=$(usex vala)
 	)
+	if use vala; then
+		mycmakeargs+=(
+			-DVALAC="${VALAC}"
+			-DVAPIGEN="${VAPIGEN}"
+		)
+	fi
 	cmake-utils_src_configure
 }