# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-session/gnome-session-2.26.2-r1.ebuild,v 1.1 2009/10/29 11:11:19 mrpouet Exp $ EAPI="2" inherit eutils gnome2 DESCRIPTION="Gnome session manager" HOMEPAGE="http://www.gnome.org/" SRC_URI="${SRC_URI} mirror://gentoo/${PN}-2.26.2-session-saving-button.patch.bz2 branding? ( mirror://gentoo/gentoo-splash.png )" LICENSE="GPL-2 LGPL-2 FDL-1.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="branding doc ipv6 policykit elibc_FreeBSD" RDEPEND=">=dev-libs/glib-2.16 >=x11-libs/gtk+-2.11.1 >=gnome-base/libglade-2.3.6 >=dev-libs/dbus-glib-0.76 >=gnome-base/gconf-2 >=x11-libs/startup-notification-0.9 policykit? ( >=gnome-extra/policykit-gnome-0.7 ) elibc_FreeBSD? ( dev-libs/libexecinfo ) x11-libs/libSM x11-libs/libICE x11-libs/libX11 x11-libs/libXtst x11-apps/xdpyinfo" DEPEND="${RDEPEND} >=dev-lang/perl-5 >=sys-devel/gettext-0.10.40 >=dev-util/pkgconfig-0.17 >=dev-util/intltool-0.40 !priv->conn is NULL for a given GsmXsmpClient, # when SMS connection dies, bug #271023, import from 2.28 dev cycle. epatch "${FILESDIR}/${P}-xsmp-stop-throw-error.patch" } src_install() { gnome2_src_install dodir /etc/X11/Sessions exeinto /etc/X11/Sessions doexe "${FILESDIR}/Gnome" || die "doexe failed" # Our own splash for world domination if use branding ; then insinto /usr/share/pixmaps/splash/ doins "${DISTDIR}/gentoo-splash.png" || die "doins failed" fi }