mate-user-share-1.16.0.ebuild 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. COMMON_DEPEND="
  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. virtual/libintl:0
  23. !gtk3? (
  24. >=dev-libs/libunique-1:1
  25. media-libs/libcanberra:0[gtk]
  26. >=x11-libs/gtk+-2.24:2
  27. )
  28. gtk3? (
  29. media-libs/libcanberra:0[gtk3]
  30. >=x11-libs/gtk+-3.0:3
  31. )"
  32. RDEPEND="${COMMON_DEPEND}
  33. >=www-apache/mod_dnssd-0.6:0
  34. >=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]"
  35. DEPEND="${COMMON_DEPEND}
  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. }