Reported-by: Marek Bartosiewicz <marek.bartosiewicz@gmail.com>
Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
Closes: https://bugs.gentoo.org/694922
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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"
virtual/pkgconfig
doc? ( app-doc/doxygen )
test? ( ${PYTHON_DEPS} )
+ vala? ( $(vala_depend) )
"
DEPEND="
dev-libs/icu:=
dev-libs/gobject-introspection:=
dev-libs/libxml2:2
)
- vala? ( $(vala_depend) )
"
RDEPEND="${DEPEND}
sys-libs/timezone-data
-DLIBICAL_BUILD_TESTING=$(usex test)
-DICAL_GLIB_VAPI=$(usex vala)
)
+ if use vala; then
+ mycmakeargs+=(
+ -DVALAC="${VALAC}"
+ -DVAPIGEN="${VAPIGEN}"
+ )
+ fi
cmake-utils_src_configure
}