mate-utils-1.14.1.ebuild 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. MATE_LA_PUNT="yes"
  5. inherit mate
  6. if [[ ${PV} != 9999 ]]; then
  7. KEYWORDS="~amd64 ~arm ~x86"
  8. fi
  9. DESCRIPTION="Utilities for the MATE desktop"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. IUSE="X applet debug gtk3 ipv6 test"
  13. COMMON_DEPEND="
  14. dev-libs/atk:0
  15. >=dev-libs/glib-2.36:2
  16. >=gnome-base/libgtop-2.12:2=
  17. sys-libs/zlib:0
  18. x11-libs/cairo:0
  19. x11-libs/gdk-pixbuf:2
  20. x11-libs/libICE:0
  21. x11-libs/libSM:0
  22. x11-libs/libX11:0
  23. x11-libs/libXext:0
  24. x11-libs/pango:0
  25. applet? ( >=mate-base/mate-panel-1.6[gtk3(-)=] )
  26. !gtk3? (
  27. >=x11-libs/gtk+-2.24:2
  28. >=media-libs/libcanberra-0.4:0[gtk]
  29. )
  30. gtk3? (
  31. >=x11-libs/gtk+-3.0:3
  32. >=media-libs/libcanberra-0.4:0[gtk3]
  33. )"
  34. RDEPEND="${COMMON_DEPEND}"
  35. DEPEND="${COMMON_DEPEND}
  36. app-text/rarian:0
  37. >=app-text/scrollkeeper-dtd-1:1.0
  38. app-text/yelp-tools:0
  39. dev-util/gtk-doc
  40. dev-util/gtk-doc-am
  41. >=dev-util/intltool-0.50.1:*
  42. x11-proto/xextproto:0
  43. sys-devel/gettext:*
  44. virtual/pkgconfig:*"
  45. src_prepare() {
  46. # Make apps visible in all DEs.
  47. LC_ALL=C find . -iname '*.desktop.in*' -exec \
  48. sed -e '/OnlyShowIn/d' -i {} + || die
  49. mate_src_prepare
  50. }
  51. src_configure() {
  52. mate_src_configure \
  53. --disable-maintainer-flags \
  54. --enable-zlib \
  55. --enable-debug=$(usex debug yes minimum) \
  56. --with-gtk=$(usex gtk3 3.0 2.0) \
  57. $(use_with X x) \
  58. $(use_enable applet gdict-applet) \
  59. $(use_enable ipv6)
  60. }