--- /usr/portage/x11-misc/lightdm/lightdm-1.26.0.ebuild 2018-04-13 01:26:39.050078735 -0300 +++ lightdm/lightdm-1.26.0.ebuild 2018-04-26 22:01:55.960011740 -0300 @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools flag-o-matic pam qmake-utils readme.gentoo-r1 systemd xdg-utils +inherit autotools flag-o-matic pam qmake-utils readme.gentoo-r1 systemd xdg-utils vala DESCRIPTION="A lightweight display manager" HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM" @@ -13,7 +13,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.44.0:2 @@ -36,7 +36,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 ) @@ -68,6 +69,8 @@ else AT_M4DIR=${WORKDIR} eautoreconf fi + + use vala && vala_src_prepare } src_configure() { @@ -94,6 +97,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}