2010-10-20 01:22:24 +02:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, xlibs, mesa, libxml2, libxslt
|
|
|
|
, libstartup_notification, libpng, glib, gtk, gnome, dbus_glib, librsvg, bzip2 }:
|
|
|
|
|
|
|
|
let version = "0.8.6"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "compiz-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://releases.compiz.org/${version}/compiz-${version}.tar.bz2";
|
|
|
|
sha256 = "132gmdawjmrmvazm31h3r3wwq97h58hz17yyc9sa6q2nkfsnkpy4";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches =
|
|
|
|
[ # Allow the path to the Compiz plugin library and metadata
|
|
|
|
# directories to be overriden through $COMPIZ_PLUGINDIR and
|
|
|
|
# $COMPIZ_METADATADIR, respectively.
|
|
|
|
./plugindir-core.patch
|
2011-03-14 11:07:33 +01:00
|
|
|
|
|
|
|
# Fix compilation with recent GTK versions.
|
|
|
|
./gdk-deprecated.patch
|
2010-10-20 01:22:24 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ intltool pkgconfig libpng glib
|
|
|
|
gtk gnome.libwnck gnome.GConf dbus_glib librsvg bzip2
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ xlibs.xlibs xlibs.libXfixes xlibs.libXrandr xlibs.libXrender
|
|
|
|
xlibs.libXdamage xlibs.libXcomposite xlibs.libXinerama
|
|
|
|
libstartup_notification mesa libxml2 libxslt
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.compiz.org/;
|
|
|
|
description = "A compositing window manager";
|
2010-10-21 13:18:30 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-10-20 01:22:24 +02:00
|
|
|
};
|
|
|
|
}
|