spacepaste

  1.  
  2. --- /usr/portage/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild 2018-04-13 01:26:39.050078735 -0300
  3. +++ lightdm/lightdm-1.18.3-r1.ebuild 2018-04-26 21:58:10.920011676 -0300
  4. @@ -2,7 +2,7 @@
  5. # Distributed under the terms of the GNU General Public License v2
  6. EAPI=6
  7. -inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
  8. +inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils vala
  9. TRUNK_VERSION="$(get_version_component_range 1-2)"
  10. DESCRIPTION="A lightweight display manager"
  11. @@ -13,7 +13,7 @@
  12. LICENSE="GPL-3 LGPL-3"
  13. SLOT="0"
  14. KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
  15. -IUSE="audit +introspection qt5 +gnome"
  16. +IUSE="audit +introspection qt5 +gnome +vala"
  17. COMMON_DEPEND="audit? ( sys-process/audit )
  18. >=dev-libs/glib-2.32.3:2
  19. @@ -34,6 +34,7 @@
  20. dev-util/gtk-doc-am
  21. dev-util/intltool
  22. gnome? ( gnome-base/gnome-common )
  23. + vala? ( $(vala_depend) )
  24. sys-devel/gettext
  25. virtual/pkgconfig"
  26. PDEPEND="x11-misc/lightdm-gtk-greeter"
  27. @@ -65,6 +66,8 @@
  28. else
  29. AT_M4DIR=${WORKDIR} eautoreconf
  30. fi
  31. +
  32. + use vala && vala_src_prepare
  33. }
  34. src_configure() {
  35. @@ -91,6 +94,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.