--- /usr/portage/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild 2018-04-13 01:26:39.050078735 -0300 +++ lightdm/lightdm-1.18.3-r1.ebuild 2018-04-26 21:58:10.920011676 -0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils +inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils vala TRUNK_VERSION="$(get_version_component_range 1-2)" DESCRIPTION="A lightweight display manager" @@ -13,7 +13,7 @@ LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" -IUSE="audit +introspection qt5 +gnome" +IUSE="audit +introspection qt5 +gnome +vala" COMMON_DEPEND="audit? ( sys-process/audit ) >=dev-libs/glib-2.32.3:2 @@ -34,6 +34,7 @@ dev-util/gtk-doc-am dev-util/intltool gnome? ( gnome-base/gnome-common ) + vala? ( $(vala_depend) ) sys-devel/gettext virtual/pkgconfig" PDEPEND="x11-misc/lightdm-gtk-greeter" @@ -65,6 +66,8 @@ else AT_M4DIR=${WORKDIR} eautoreconf fi + + use vala && vala_src_prepare } src_configure() { @@ -91,6 +94,7 @@ $(use_enable introspection) \ --disable-liblightdm-qt \ $(use_enable qt5 liblightdm-qt5) \ + $(use_enable vala) \ --with-user-session=${_session} \ --with-greeter-session=${_greeter} \ --with-greeter-user=${_user} \