spacepaste

  1.  
  2. --- /usr/portage/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild 2018-04-13 01:26:39.050078735 -0300
  3. +++ lightdm/lightdm-1.24.0-r1.ebuild 2018-04-26 22:00:56.190011723 -0300
  4. @@ -3,7 +3,7 @@
  5. EAPI=6
  6. -inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
  7. +inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils vala
  8. TRUNK_VERSION="$(get_version_component_range 1-2)"
  9. DESCRIPTION="A lightweight display manager"
  10. @@ -14,7 +14,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.32.3:2
  18. @@ -37,7 +37,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. @@ -67,6 +68,8 @@
  28. else
  29. AT_M4DIR=${WORKDIR} eautoreconf
  30. fi
  31. +
  32. + use vala && vala_src_prepare
  33. }
  34. src_configure() {
  35. @@ -93,6 +96,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.