mate-netbook-1.14.0.ebuild 864 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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-desktop-1.9[gtk3(-)=]
  15. >=mate-base/mate-panel-1.8[gtk3(-)=]
  16. x11-libs/libfakekey:0
  17. x11-libs/libXtst:0
  18. x11-libs/libX11:0
  19. x11-libs/cairo:0
  20. virtual/libintl:0
  21. !gtk3? (
  22. dev-libs/libunique:1
  23. x11-libs/gtk+:2
  24. x11-libs/libwnck:1
  25. )
  26. gtk3? (
  27. dev-libs/libunique:3
  28. x11-libs/gtk+:3
  29. x11-libs/libwnck:3
  30. )"
  31. RDEPEND="${COMMON_DEPEND}"
  32. DEPEND="${COMMON_DEPEND}
  33. x11-proto/xproto:0
  34. >=dev-util/intltool-0.50.1:*
  35. sys-devel/gettext:*
  36. virtual/pkgconfig:*"
  37. src_configure() {
  38. mate_src_configure \
  39. --with-gtk=$(usex gtk3 3.0 2.0)
  40. }