muffin-3.0.5.ebuild 2.0 KB

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