# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 GCONF_DEBUG="no" inherit gnome2 DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" HOMEPAGE="http://live.gnome.org/GnomeShell" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="dev-libs/dbus-glib dev-libs/gjs dev-libs/glib:2 >=dev-libs/gobject-introspection-0.6.9 dev-libs/libcroco:0.6 gnome-base/gconf:2 >=gnome-base/gnome-desktop-2.26 gnome-base/gnome-menus gnome-base/librsvg >=media-libs/clutter-1.2.8[opengl,introspection] media-libs/gst-plugins-base media-libs/gstreamer x11-libs/gtk+:2 x11-apps/mesa-progs x11-libs/startup-notification x11-libs/libXfixes >=x11-wm/mutter-2.31.2" DEPEND="${RDEPEND} >=dev-lang/python-2.5 dev-util/pkgconfig dev-util/intltool gnome-base/gnome-common sys-devel/gettext" DOCS="AUTHORS README" src_configure() { if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then econf elog "Patching out -Werror flag... " ( find $S -name "Makefile" -exec grep -l \\-Werror '{}' \; | for file in $( cat - ); do cat $file | sed 's/-Werror//g' > $file.tmp; mv -f $file.tmp $file; done ) > /dev/null 2>&1 || die fi }