Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libical/
Date: Sat, 21 Sep 2019 14:24:26
Message-Id: 1569075848.6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7.asturm@gentoo
1 commit: 6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 21 14:19:32 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 21 14:24:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fed4d7e
7
8 dev-libs/libical: Fix USE vala
9
10 Reported-by: Marek Bartosiewicz <marek.bartosiewicz <AT> gmail.com>
11 Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail.com>
12 Closes: https://bugs.gentoo.org/694922
13 Package-Manager: Portage-2.3.76, Repoman-2.3.17
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 dev-libs/libical/libical-3.0.6.ebuild | 9 ++++++++-
17 1 file changed, 8 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-libs/libical/libical-3.0.6.ebuild b/dev-libs/libical/libical-3.0.6.ebuild
20 index 04ea480f906..91bc8ab7825 100644
21 --- a/dev-libs/libical/libical-3.0.6.ebuild
22 +++ b/dev-libs/libical/libical-3.0.6.ebuild
23 @@ -4,6 +4,7 @@
24 EAPI=7
25
26 PYTHON_COMPAT=( python3_{5,6,7} )
27 +VALA_USE_DEPEND="vapigen"
28 inherit cmake-utils python-any-r1 vala
29
30 DESCRIPTION="An implementation of basic iCAL protocols"
31 @@ -21,6 +22,7 @@ BDEPEND="
32 virtual/pkgconfig
33 doc? ( app-doc/doxygen )
34 test? ( ${PYTHON_DEPS} )
35 + vala? ( $(vala_depend) )
36 "
37 DEPEND="
38 dev-libs/icu:=
39 @@ -30,7 +32,6 @@ DEPEND="
40 dev-libs/gobject-introspection:=
41 dev-libs/libxml2:2
42 )
43 - vala? ( $(vala_depend) )
44 "
45 RDEPEND="${DEPEND}
46 sys-libs/timezone-data
47 @@ -66,6 +67,12 @@ src_configure() {
48 -DLIBICAL_BUILD_TESTING=$(usex test)
49 -DICAL_GLIB_VAPI=$(usex vala)
50 )
51 + if use vala; then
52 + mycmakeargs+=(
53 + -DVALAC="${VALAC}"
54 + -DVAPIGEN="${VAPIGEN}"
55 + )
56 + fi
57 cmake-utils_src_configure
58 }