--- /usr/portage/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild 2018-04-13 01:26:39.050078735 -0300 +++ lightdm/lightdm-1.24.0-r1.ebuild 2018-04-26 22:00:56.190011723 -0300 @@ -3,7 +3,7 @@ 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" @@ -14,7 +14,7 @@ LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="audit +gtk +introspection qt5 +gnome" +IUSE="audit +gtk +introspection qt5 +gnome +vala" COMMON_DEPEND=" >=dev-libs/glib-2.32.3:2 @@ -37,7 +37,8 @@ dev-util/intltool sys-devel/gettext virtual/pkgconfig - gnome? ( gnome-base/gnome-common )" + gnome? ( gnome-base/gnome-common ) + vala? ( $(vala_depend) )" PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )" DOCS=( NEWS ) @@ -67,6 +68,8 @@ else AT_M4DIR=${WORKDIR} eautoreconf fi + + use vala && vala_src_prepare } src_configure() { @@ -93,6 +96,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}