# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="${PN/compiz-plugins-}" MY_GITPATH="users/rcxdude/${MY_PN}" inherit flag-o-matic git EGIT_REPO_URI="git://anongit.compiz-fusion.org/${MY_GITPATH}" DESCRIPTION="Compiz Fusion Ghost (click-through) Plugin (git)" HOMEPAGE="http://compiz-fusion.org" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="" RDEPEND="~x11-libs/compiz-bcop-${PV} ~x11-wm/compiz-${PV}" DEPEND="${RDEPEND} >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.19 >=sys-devel/gettext-0.15" S="${WORKDIR}/${MY_PN}" src_compile() { filter-ldflags -znow -z,now filter-ldflags -Wl,-znow -Wl,-z,now sed -i 's/gen-schemas .*/gen-schemas :=/' Makefile emake || die "emake failed" } src_install() { emake DESTDIR="${D}/usr/lib/compiz" XMLDIR="${D}/usr/share/compiz" 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" }