1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 GNOME2_EAUTORECONF="yes"
9 DESCRIPTION="Compiler for the GObject type system"
10 HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux"
16 RESTRICT="!test? ( test )"
19 >=dev-libs/glib-2.40.0:2
20 >=dev-libs/vala-common-${PV}
21 valadoc? ( >=media-gfx/graphviz-2.16 )
31 >=dev-libs/glib-2.26:2
32 dev-libs/gobject-introspection )
37 "${FILESDIR}"/0.40-Allow-disabling-the-build-of-valadoc.patch
38 # Add missing bits to make valadoc parallel installable
39 "${FILESDIR}"/0.40-valadoc-doclets-data-parallel-installable.patch
43 # weasyprint enables generation of PDF from HTML
44 gnome2_src_configure \
45 --disable-unversioned \
46 $(use_enable valadoc) \
53 find "${D}" -name "*.la" -delete || die