All pastes #591061 Raw Edit

Miscellany

public text v1 · immutable
#591061 ·published 2007-06-26 23:12 UTC
rendered paste body
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_PN="${PN/compiz-fusion-}"

inherit gnome2 autotools git

EGIT_REPO_URI="git://anongit.opencompositing.org/fusion/${MY_PN}"

DESCRIPTION="Compiz Fusion main plugins"
HOMEPAGE="http://compiz-fusion.org"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="gnome"

RDEPEND="~x11-wm/compiz-${PV}
	media-libs/jpeg
	>=gnome-base/librsvg-2.14.0
	gnome? ( gnome-base/gconf )"

DEPEND="${RDEPEND}
	~dev-util/bcop-${PV}
	>=dev-util/pkgconfig-0.19
	>=sys-devel/gettext-0.15
	>=dev-util/intltool-0.35"

S="${WORKDIR}/${MY_PN}"

src_compile() {
	eautoreconf || die "eautoreconf failed"
	glib-gettextize --copy --force || die "glib-gettextize failed"
	intltoolize --automake --copy --force || die "intltoolize failed"

	econf $(use_enable gnome schemas) || die "econf failed"
	emake -j1 || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}