# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit autotools eutils git MY_PN="${PN/compiz-fusion-}" EGIT_REPO_URI="git://anongit.compiz-fusion.org/fusion/${MY_PN}" DESCRIPTION="Compiz Fusion Window Manager Extra Plugins (git)" HOMEPAGE="http://compiz-fusion.org" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="gnome" RDEPEND=" >=gnome-base/librsvg-2.14.0 media-libs/jpeg ~x11-libs/compiz-bcop-${PV} ~x11-plugins/compiz-fusion-plugins-main-${PV} ~x11-wm/compiz-${PV} " DEPEND="${RDEPEND} >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.19 >=sys-devel/gettext-0.15 x11-libs/cairo[glitz] gnome? ( gnome-base/gconf ) " S="${WORKDIR}/${MY_PN}" src_prepare() { use gnome || { epatch "${FILESDIR}"/${PN}-no-gconf.patch } intltoolize --copy --force || die "intltoolize failed" eautoreconf || die "eautoreconf failed" } src_configure() { econf $(use_enable gnome gconf) || die "econf failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" } pkg_postinst() { ewarn "DO NOT report bugs to Gentoo's bugzilla" einfo "Please report all bugs to #gentoo-desktop-effects" einfo "Thank you on behalf of the Gentoo Desktop-Effects team" }