# $Id$ PNAME="compiz" PVER="0.8.4" PBUILD="r1" PCATEGORIE="x11-wm" STATE="unstable" DESCRIPTION="Compiz core components." HOMEPAGE="http://www.compiz-fusion.org/" DEPEND=">= x11-libs/pango-1.26 >= x11-libs/cairo-1.8 >= x11-libs/gtk2+-2.18 >= x11-libs/libX11-1.3 >= x11-libs/libxcb-1.4 >= x11-libs/libXcomposite-0.4.1 >= x11-libs/libXdamage-1.1.2 >= x11-libs/libXinerama-1.1 >= x11-libs/libXrandr-1.3 >= x11-libs/libICE-1 >= x11-libs/libSM-1.1 >= x11-libs/libXrender-0.9.5 >= x11-libs/startup-notification-0.10 >= x11-base/xorg-server-1.7 >= media-libs/mesa-7.6 >= media-libs/glitz-0.5.6 >= media-libs/libpng-1.2.40 >= x11-libs/libwnck-2.28 >= gnome-base/librsvg-2.26 >= dev-libs/libxml2-2.7 >= dev-libs/libxslt-1.1.26 >= sys-apps/dbus-1.3 >= sys-fs/fuse-2.8 >= x11-apps/mesa-progs-7.6 >= x11-apps/xvinfo-1.1" SDEPEND=">= kde-base/kdebase-3.5 >= kde-base/kdebase4-workspace-4.3 >= gnome-base/gconf-2.28 >= gnome-base/control-center-2.28 >= gnome-base/gnome-desktop-2.28 >= dev-util/pkgconfig-0.23 >= x11-proto/damageproto-1.2 >= x11-proto/xineramaproto-1.2 >= dev-libs/dbus-glib-0.74 >= dev-libs/dbus-qt3-0.70" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" # important: qt4 will be detected through pkgconfig and qt3 via QTLIB var # so the qt3 include must be called *after* qt4! # KDEDIR for out kde4 compile hack is needed, so we include kde4 sminclude mbuild qt4 qt3 kde4 SRC_URI=( http://releases.compiz-fusion.org/${PVER}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} mconfigure \ --with-default-plugins \ --enable-gtk \ --enable-gconf \ --enable-gnome \ --enable-metacity \ --enable-kde \ --enable-kde4 \ --enable-librsvg \ --enable-dbus \ --enable-dbus-glib \ --enable-fuse \ --enable-annotate \ || die # fixes compile issues with kde4 and kde3 installed at the same time sed -i -e "s:-lkdecore:${KDEDIR}/$(mlibdir)/libkdecore.so:g" \ -e "s:-lkdecorations:${KDEDIR}/$(mlibdir)/libkdecorations.so:g" \ kde/window-decorator-kde4/Makefile || die mmake || die }