1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A widget toolkit using Clutter"
10 HOMEPAGE="http://clutter-project.org/"
11 SRC_URI="https://github.com/downloads/clutter-project/${PN}/${P}.tar.xz"
15 KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
16 IUSE="dbus +gtk +introspection startup-notification"
19 >=dev-libs/glib-2.28.0:2
20 >=media-libs/clutter-1.7.91:1.0
22 >=x11-apps/xrandr-1.2.0
24 x11-libs/gdk-pixbuf:2[introspection?]
26 dbus? ( >=dev-libs/dbus-glib-0.82 )
27 gtk? ( >=x11-libs/gtk+-2.20:2[introspection?] )
28 introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
29 startup-notification? ( >=x11-libs/startup-notification-0.9 )
33 >=dev-util/gtk-doc-am-1.14
34 >=dev-util/intltool-0.35.0
40 # Tests are interactive, no use for us
41 sed -e 's/^\(SUBDIRS .*\)tests\(.*\)/\1 \2/g' \
42 -i Makefile.am -i Makefile.in || die
44 epatch "${FILESDIR}/${P}-gl-types.patch"
50 gnome2_src_configure \
53 $(use_enable gtk gtk-widgets) \
54 $(use_enable introspection) \
56 $(use_with startup-notification)