spacepaste

  1.  
  2. --- /usr/portage/x11-misc/lightdm/lightdm-1.26.0.ebuild 2018-04-13 01:26:39.050078735 -0300
  3. +++ lightdm/lightdm-1.26.0.ebuild 2018-04-26 22:01:55.960011740 -0300
  4. @@ -3,7 +3,7 @@
  5. EAPI=6
  6. -inherit autotools flag-o-matic pam qmake-utils readme.gentoo-r1 systemd xdg-utils
  7. +inherit autotools flag-o-matic pam qmake-utils readme.gentoo-r1 systemd xdg-utils vala
  8. DESCRIPTION="A lightweight display manager"
  9. HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM"
  10. @@ -13,7 +13,7 @@
  11. LICENSE="GPL-3 LGPL-3"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
  14. -IUSE="audit +gtk +introspection qt5 +gnome"
  15. +IUSE="audit +gtk +introspection qt5 +gnome +vala"
  16. COMMON_DEPEND="
  17. >=dev-libs/glib-2.44.0:2
  18. @@ -36,7 +36,8 @@
  19. dev-util/intltool
  20. sys-devel/gettext
  21. virtual/pkgconfig
  22. - gnome? ( gnome-base/gnome-common )"
  23. + gnome? ( gnome-base/gnome-common )
  24. + vala? ( $(vala_depend) )"
  25. PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )"
  26. DOCS=( NEWS )
  27. @@ -68,6 +69,8 @@
  28. else
  29. AT_M4DIR=${WORKDIR} eautoreconf
  30. fi
  31. +
  32. + use vala && vala_src_prepare
  33. }
  34. src_configure() {
  35. @@ -94,6 +97,7 @@
  36. $(use_enable introspection)
  37. --disable-liblightdm-qt
  38. $(use_enable qt5 liblightdm-qt5)
  39. + $(use_enable vala)
  40. --with-user-session=${_session}
  41. --with-greeter-session=${_greeter}
  42. --with-greeter-user=${_user}
  43.