diff options
Diffstat (limited to 'x11-wm/compiz/compiz-9999.ebuild')
-rw-r--r-- | x11-wm/compiz/compiz-9999.ebuild | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/x11-wm/compiz/compiz-9999.ebuild b/x11-wm/compiz/compiz-9999.ebuild new file mode 100644 index 0000000..65ad9cb --- /dev/null +++ b/x11-wm/compiz/compiz-9999.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils cvs flag-o-matic multilib + +ECVS_SERVER="anoncvs.freedesktop.org:/cvs/xorg" +ECVS_MODULE="app/compiz" +ECVS_LOCALNAME="compiz" +#ECVS_CO_DATE=${PV##*_p} +#ECVS_UP_OPTS="-D ${ECVS_CO_DATE} -dP" +#ECVS_CO_OPTS="-D ${ECVS_CO_DATE}" + +S=${WORKDIR}/${ECVS_LOCALNAME} + +DESCRIPTION="compiz composite manager" +HOMEPAGE="http://xorg.freedesktop.org" +LICENSE="X11" +SLOT="0" +KEYWORDS="-*" +IUSE="gnome kde svg theme_plain" + +DEPEND="media-libs/mesa + x11-libs/startup-notification + media-libs/libpng + x11-libs/libXdamage + x11-libs/libXrandr + x11-libs/libXcomposite + >=x11-libs/libwnck-2.14 + media-libs/glew + gnome? ( + x11-libs/libwnck + gnome-base/gnome-desktop + gnome-base/control-center + ) + kde? ( >=x11-libs/qt-4.1.0 ) + svg? ( x11-libs/libsvg-cairo )" + +RDEPEND="!x11-plugins/compiz-plugin-opacity" + +src_unpack() { + cvs_src_unpack + + cd ${S} + + # from quinn compiz +# cp "${FILESDIR}/opaquefocus.c" ./plugins +# cp "${FILESDIR}/transset.c" ./plugins +# cp "${FILESDIR}/trailfocus.c" ./plugins +# cp "${FILESDIR}/blur.c" ./plugins +# epatch "${FILESDIR}/compiz-quinn-r1.patch" +# epatch "${FILESDIR}/compiz-blur-makefile.patch" + +# epatch "${FILESDIR}/compiz-disable-water.patch" + +# For running aiglx without Xgl +# epatch "${FILESDIR}/compiz-aiglx-changes-20060311.patch" + + if use theme_plain; then + epatch "${FILESDIR}/decoration-themes.patch" + epatch "${FILESDIR}/gnome-window-decorator-themes.patch" + fi + + cd "${S}/src" + epatch "${FILESDIR}/compiz-intel-copy-pixel-issue-workaround-1.diff" +} + +src_compile() { + use amd64 && replace-flags -O[1-9] -O0 + + ./autogen.sh --host=${CHOST} \ + --libdir=/usr/$(get_libdir) \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-gl-libs="-Wl,-R/usr/$(get_libdir)/opengl/xorg-x11/lib/ -L/usr/$(get_libdir)/opengl/xorg-x11/lib/ -lGL" \ + `use_enable gnome` \ + `use_enable kde` \ + `use_enable svg libsvg-cairo` || die "autogen failed" + + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" +} |