muffin-2.8.5.ebuild 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PYTHON_COMPAT=( python2_7 )
  5. inherit autotools eutils gnome2 python-any-r1
  6. DESCRIPTION="Compositing window manager forked from Mutter for use with Cinnamon"
  7. HOMEPAGE="http://cinnamon.linuxmint.com/"
  8. SRC_URI="https://github.com/linuxmint/muffin/archive/${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="GPL-2+"
  10. SLOT="0"
  11. IUSE="+introspection test xinerama"
  12. KEYWORDS="amd64 x86"
  13. COMMON_DEPEND="
  14. >=x11-libs/pango-1.2[X,introspection?]
  15. >=x11-libs/cairo-1.14:=[X]
  16. x11-libs/gdk-pixbuf:2[introspection?]
  17. >=x11-libs/gtk+-3.9.12:3[X,introspection?]
  18. >=dev-libs/glib-2.37.3:2[dbus]
  19. >=gnome-extra/cinnamon-desktop-2.4:0=[introspection?]
  20. >=gnome-base/gsettings-desktop-schemas-3.3.0[introspection?]
  21. >=media-libs/clutter-1.14.3:1.0=[introspection?]
  22. >=media-libs/cogl-1.13.3:1.0=[introspection?]
  23. >=media-libs/libcanberra-0.26[gtk3]
  24. >=x11-libs/libXcomposite-0.3
  25. >=x11-libs/startup-notification-0.7:=
  26. x11-libs/libICE
  27. x11-libs/libSM
  28. x11-libs/libX11
  29. x11-libs/libXcomposite
  30. x11-libs/libXcursor
  31. x11-libs/libXdamage
  32. x11-libs/libXext
  33. x11-libs/libXfixes
  34. x11-libs/libXrandr
  35. x11-libs/libXrender
  36. virtual/opengl
  37. gnome-extra/zenity
  38. introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
  39. xinerama? ( x11-libs/libXinerama )
  40. "
  41. # needs gtk-doc, not just -am, for gtk-doc.make
  42. DEPEND="${COMMON_DEPEND}
  43. ${PYTHON_DEPS}
  44. >=app-text/gnome-doc-utils-0.8
  45. sys-devel/gettext
  46. dev-util/gtk-doc
  47. dev-util/gtk-doc-am
  48. >=dev-util/intltool-0.35
  49. virtual/pkgconfig
  50. test? ( app-text/docbook-xml-dtd:4.5 )
  51. xinerama? ( x11-proto/xineramaproto )
  52. x11-proto/xextproto
  53. x11-proto/xproto
  54. "
  55. RDEPEND="${COMMON_DEPEND}
  56. !x11-misc/expocity
  57. "
  58. src_prepare() {
  59. eautoreconf
  60. gnome2_src_prepare
  61. }
  62. src_configure() {
  63. DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* *.txt doc/*.txt"
  64. gnome2_src_configure \
  65. --disable-static \
  66. --enable-shape \
  67. --enable-sm \
  68. --enable-startup-notification \
  69. --enable-xsync \
  70. --enable-verbose-mode \
  71. --with-libcanberra \
  72. $(use_enable introspection) \
  73. $(use_enable xinerama)
  74. }