mate-netbook-1.16.1.ebuild 778 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit mate
  5. if [[ ${PV} != 9999 ]]; then
  6. KEYWORDS="~amd64 ~arm ~x86"
  7. fi
  8. DESCRIPTION="MATE utilities for netbooks"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. IUSE="gtk3"
  12. COMMON_DEPEND="
  13. >=dev-libs/glib-2.36:2
  14. >=mate-base/mate-panel-1.8[gtk3(-)=]
  15. x11-libs/libfakekey:0
  16. x11-libs/libXtst:0
  17. x11-libs/libX11:0
  18. x11-libs/cairo:0
  19. virtual/libintl:0
  20. !gtk3? (
  21. x11-libs/gtk+:2
  22. x11-libs/libwnck:1
  23. )
  24. gtk3? (
  25. x11-libs/gtk+:3
  26. x11-libs/libwnck:3
  27. )"
  28. RDEPEND="${COMMON_DEPEND}"
  29. DEPEND="${COMMON_DEPEND}
  30. x11-proto/xproto:0
  31. >=dev-util/intltool-0.50.1:*
  32. sys-devel/gettext:*
  33. virtual/pkgconfig:*"
  34. src_configure() {
  35. mate_src_configure \
  36. --with-gtk=$(usex gtk3 3.0 2.0)
  37. }