mate-user-share-1.12.0.ebuild 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 multilib
  6. if [[ ${PV} != 9999 ]]; then
  7. KEYWORDS="amd64 ~arm x86"
  8. fi
  9. DESCRIPTION="Personal file sharing for the MATE desktop"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. IUSE="X gtk3"
  13. RDEPEND="
  14. >=dev-libs/dbus-glib-0.70:0
  15. >=dev-libs/glib-2.15.2:2
  16. >=mate-base/caja-1.6[gtk3(-)=]
  17. >=sys-apps/dbus-1.1.1:0
  18. >=x11-libs/gdk-pixbuf-2:2
  19. x11-libs/libX11:0
  20. x11-libs/pango:0
  21. >=x11-libs/libnotify-0.7:0
  22. >=www-apache/mod_dnssd-0.6:0
  23. >=www-servers/apache-2.2:2[apache2_modules_dav,apache2_modules_dav_fs,apache2_modules_authn_file,apache2_modules_auth_digest,apache2_modules_authz_groupfile]
  24. virtual/libintl:0
  25. !gtk3? (
  26. >=dev-libs/libunique-1:1
  27. media-libs/libcanberra:0[gtk]
  28. >=x11-libs/gtk+-2.24:2
  29. )
  30. gtk3? (
  31. >=dev-libs/libunique-3:3
  32. media-libs/libcanberra:0[gtk3]
  33. >=x11-libs/gtk+-3.0:3
  34. )"
  35. DEPEND="${RDEPEND}
  36. app-text/docbook-xml-dtd:4.1.2
  37. app-text/yelp-tools:0
  38. >=dev-util/intltool-0.35:*
  39. sys-devel/gettext:*
  40. virtual/pkgconfig:*"
  41. src_configure() {
  42. mate_src_configure \
  43. --with-httpd=apache2 \
  44. --with-modules-path=/usr/$(get_libdir)/apache2/modules/ \
  45. --disable-bluetooth \
  46. --with-gtk=$(usex gtk3 3.0 2.0) \
  47. $(use_with X x)
  48. }