# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.2.0-r2.ebuild,v 1.1 2011/11/06 01:42:59 tetromino Exp $ EAPI="4" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" inherit gnome2 DESCRIPTION="JavaScript extensions for GNOME Shell" HOMEPAGE="http://live.gnome.org/GnomeShell/Extensions" LICENSE="GPL-2" SLOT="0" IUSE="examples" KEYWORDS="~amd64 ~x86" COMMON_DEPEND=" >=dev-libs/glib-2.26 >=gnome-base/gnome-desktop-2.91.6:3[introspection] >=gnome-base/libgtop-2.28.3[introspection] app-admin/eselect-gnome-shell-extensions" RDEPEND="${COMMON_DEPEND} >=dev-libs/gjs-1.29 dev-libs/gobject-introspection =gnome-base/gnome-shell-3.2* media-libs/clutter:1.0[introspection] net-libs/telepathy-glib[introspection] x11-libs/gtk+:3[introspection] x11-libs/pango[introspection]" DEPEND="${COMMON_DEPEND} sys-devel/gettext >=dev-util/pkgconfig-0.22 >=dev-util/intltool-0.26 gnome-base/gnome-common" pkg_setup() { DOCS="NEWS README" G2CONF="${G2CONF} --enable-extensions=all --disable-schemas-compile" } src_prepare() { gnome2_src_prepare # Useful patches from upstream, will be in the next release epatch "${FILESDIR}/${P}-dock-popup-menus.patch" epatch "${FILESDIR}/${P}-dock-gnome-3.2.patch" epatch "${FILESDIR}/${P}-systemMonitor-CSS.patch" epatch "${FILESDIR}/${P}-systemMonitor-enable-disable.patch" # Extensions work with gnome-3.2*, not just 3.2.0 epatch "${FILESDIR}/${PN}-3.2.0-gnome-3.2.1.patch" # xrandr-indicator crashes gnome-shell with