diff options
Diffstat (limited to 'x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild')
-rw-r--r-- | x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild index 67a811683ee4..cf0753e9bdea 100644 --- a/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild +++ b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild,v 1.1 2010/09/04 22:01:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild,v 1.2 2010/09/04 22:08:56 flameeyes Exp $ EAPI="2" -inherit eutils gnome2-utils +inherit autotools eutils gnome2-utils DESCRIPTION="Compiz Fusion Window Decorator Plugins" HOMEPAGE="http://www.compiz.org/" @@ -29,10 +29,17 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.19 >=sys-devel/gettext-0.15 + gconf? ( gnome-base/gconf ) " src_prepare() { - use gconf || epatch "${FILESDIR}"/${PN}-no-gconf.patch + if ! use gconf; then + epatch "${FILESDIR}"/${PN}-no-gconf.patch + + # required to apply the above patch + intltoolize --copy --force || die "intltoolize failed" + eautoreconf || die "eautoreconf failed" + fi } src_configure() { @@ -40,7 +47,7 @@ src_configure() { --disable-dependency-tracking \ --enable-fast-install \ --disable-static \ - $(use_enable gconf schemas) || die "econf failed" + $(use_enable gconf schemas) } src_install() { |