--- /dev/null
+# ChangeLog for media-libs/clutter
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v 1.1 2010/02/26 21:41:15 nirbheek Exp $
+
+*clutter-1.0.10 (26 Feb 2010)
+
+ 26 Feb 2010; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +files/clutter-1.0.0-disable-tests.patch, +clutter-1.0.10.ebuild,
+ +metadata.xml:
+ Initial ebuild for clutter, an opengl-based toolkit for user interfaces
+
--- /dev/null
+AUX clutter-1.0.0-disable-tests.patch 1445 RMD160 95018f8fce1d4c2d47ebd16402a02f2c86e0fdbc SHA1 f355cb8f13cb8fd4e192c925ea23efb8ac64f40b SHA256 5e168f0854c0883fc96ae489947b5b4e3b3f5ca36b6b0b461b5acfcd36e0c815
+DIST clutter-1.0.10.tar.bz2 2052074 RMD160 7738b2603298a687bfa056f458e84080bc880d1e SHA1 189684f0346bb895a2b47da64c02260c67e2810e SHA256 6fb98dc4d16a3a98be734cf0a6cc4f8d8179800603c3e41011c414eeaf1f456b
+EBUILD clutter-1.0.10.ebuild 2205 RMD160 305946c583e078e63a060ba715f8b4c0de524a06 SHA1 6b6b31bbf67451b8513d4cd4662a8fb9552e4914 SHA256 9b102b7a540d49fa9bffd0c56149cf6334d8d946573beca775fac77ea5d0c56f
+MISC ChangeLog 456 RMD160 c60133761dcc501cd6df4644d120ca91f8ac5fb8 SHA1 104132ca184112674d2e1a08270356a79d556402 SHA256 c27b541389eefb3f02bf222f20c59006c9bbfe70b02cb34e36debb2e3c3e3a7b
+MISC metadata.xml 520 RMD160 c0f6ddaffda6e5e12509cd861547dcacdcccf60b SHA1 f39089709d1b316288bf92aef43aafed23687dfc SHA256 713ccd6e3437e50e71c23aa71d88fccd02b32d739681d12d65a84eeded3f9aad
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/clutter-1.0.10.ebuild,v 1.1 2010/02/26 21:41:15 nirbheek Exp $
+
+EAPI="2"
+
+inherit autotools clutter
+
+DESCRIPTION="Clutter is a library for creating graphical user interfaces"
+
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc +gtk introspection +opengl"
+
+RDEPEND=">=dev-libs/glib-2.16
+ >=x11-libs/cairo-1.4
+ >=x11-libs/pango-1.20
+
+ gtk? ( >=x11-libs/gtk+-2.0 )
+ opengl? (
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXdamage
+ x11-libs/libXi
+ x11-proto/inputproto
+
+ >=x11-libs/libXfixes-3
+ >=x11-libs/libXcomposite-0.4 )
+ !opengl? ( media-libs/libsdl )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/gtk-doc-am
+ doc? (
+ >=dev-util/gtk-doc-1.11
+ >=app-text/docbook-sgml-utils-0.6.14[jadetex]
+ app-text/xmlto )
+ introspection? (
+ >=dev-libs/gobject-introspection-0.6.4
+ >=dev-libs/gir-repository-0.6.3[pango] )"
+
+src_configure() {
+ local myconf=""
+
+ if use opengl; then
+ elog "Using GLX for OpenGL backend"
+ myconf="${myconf} --with-flavour=glx"
+ else
+ elog "Using SDL for OpenGL backend"
+ myconf="${myconf} --with-flavour=sdl"
+ ewarn "You have disabled OpenGL, do not report bugs about breakage"
+ fi
+
+ if use gtk; then
+ myconf="${myconf} --with-imagebackend=gdk-pixbuf"
+ else
+ myconf="${myconf} --with-imagebackend=internal"
+ # Internal image backend is experimental
+ ewarn "You have selected the experimental internal image backend"
+ fi
+
+ if ! use debug; then
+ myconf="${myconf}
+ --enable-debug=minimum
+ --enable-cogl-debug=minimum"
+ fi
+
+ # FIXME: Tests are interactive, not of use for us
+ # FIXME: Using external json-glib breaks introspection
+ myconf="${myconf}
+ --disable-tests
+ --enable-maintainer-flags=no
+ --enable-xinput
+ --with-json=internal
+ $(use_enable introspection)
+ $(use_enable doc manual)"
+ econf ${myconf}
+}
+
+src_prepare() {
+ # Make it libtool-1 compatible
+ rm -v build/autotools/lt* build/autotools/libtool.m4 || die "removing libtool macros failed"
+
+ # FIXME: Tests are interactive, not of use for us
+ epatch "${FILESDIR}/${PN}-1.0.0-disable-tests.patch"
+
+ eautoreconf
+}
--- /dev/null
+Interactive Tests.
+
+http://bugzilla.o-hand.com/show_bug.cgi?id=1618
+
+--
+--- configure.ac
++++ configure.ac
+@@ -718,6 +718,18 @@
+
+ AM_CONDITIONAL(ENABLE_MANUAL, [test "x$enable_manual" = "xyes"])
+
++dnl = tests ================================================================
++AC_ARG_ENABLE(tests,
++ AS_HELP_STRING([--enable-tests],[Enable building of tests and examples]),
++ [case "${enableval}" in
++ yes) ENABLE_TESTS=yes ;;
++ no) ENABLE_TESTS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;;
++ esac],
++ [ENABLE_TESTS=no])
++
++AM_CONDITIONAL([ENABLE_TESTS], [test "x$ENABLE_TESTS" = "xyes"])
++
+ dnl === I18N ==================================================================
+
+ GETTEXT_PACKAGE="clutter-$CLUTTER_API_VERSION"
+@@ -803,6 +815,7 @@
+ echo " Compiler flags: ${CPPFLAGS} ${MAINTAINER_CFLAGS}"
+ echo " Build API documentation: ${enable_gtk_doc}"
+ echo " Build manual documentation: ${enable_manual}"
++echo " Enable tests: ${enable_tests}"
+ echo " Build introspection data: ${enable_introspection}"
+ echo ""
+
+--- Makefile.am
++++ Makefile.am
+@@ -1,11 +1,15 @@
+ NULL =
+
+-SUBDIRS = build clutter tests po
++SUBDIRS = build clutter po
+
+ if BUILD_GTK_DOC
+ SUBDIRS += doc
+ endif
+
++if ENABLE_TESTS
++SUBDIRS += tests
++endif
++
+ DIST_SUBDIRS = build clutter tests doc po
+
+ ACLOCAL_AMFLAGS = -I build/autotools
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<use>
+ <flag name="gtk">Use gdk-pixbuf from <pkg>x11-libs/gtk+</pkg> as image rendering backend</flag>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for
+ introspection</flag>
+ <flag name="opengl">Use <pkg>virtual/opengl</pkg> as the backend for
+ rendering (default). If disabled, <pkg>media-libs/libsdl</pkg> is used.</flag>
+</use>
+</pkgmetadata>