mate-utils-1.12.0-r2.ebuild 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. RDEPEND="app-text/rarian:0
  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. DEPEND="${RDEPEND}
  35. >=app-text/scrollkeeper-dtd-1:1.0
  36. app-text/yelp-tools:0
  37. dev-util/gtk-doc
  38. dev-util/gtk-doc-am
  39. >=dev-util/intltool-0.50.1:*
  40. x11-proto/xextproto:0
  41. sys-devel/gettext:*
  42. virtual/pkgconfig:*"
  43. PATCHES=( "${FILESDIR}/${P}-dict-gtk3.patch" )
  44. src_prepare() {
  45. # Make apps visible in all DEs.
  46. LC_ALL=C find . -iname '*.desktop.in*' -exec \
  47. sed -e '/OnlyShowIn/d' -i {} + || die
  48. mate_src_prepare
  49. }
  50. src_configure() {
  51. mate_src_configure \
  52. --disable-maintainer-flags \
  53. --enable-zlib \
  54. --enable-debug=$(usex debug yes minimum) \
  55. --with-gtk=$(usex gtk3 3.0 2.0) \
  56. $(use_with X x) \
  57. $(use_enable applet gdict-applet) \
  58. $(use_enable ipv6)
  59. }