fffe4c7900
svn path=/nixpkgs/trunk/; revision=8851
34 lines
1.2 KiB
Nix
34 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pkgconfig, libpng, libXcomposite, libXfixes
|
|
, libXdamage, libXrandr, libXinerama, libICE, libSM
|
|
, startupnotification, libXrender, xextproto, mesa, gtk, libwnck, GConf
|
|
, libgnome, libgnomeui, metacity
|
|
, gnomegtk, glib, pango, libglade, libgtkhtml, gtkhtml, libgnomecanvas, libgnomeprint, libgnomeprintui, gnomepanel
|
|
, librsvg, fuse
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "compiz-0.5.0";
|
|
src = fetchurl {
|
|
url = http://xorg.freedesktop.org/archive/individual/app/compiz-0.5.0.tar.gz;
|
|
sha256 = "1fac5fc37b218k34lpxqlhs7srqxm7jly0hfncs3ghmjmxdlj03y";
|
|
};
|
|
patches = [
|
|
./tfp-server-extension.patch
|
|
];
|
|
buildInputs = [
|
|
pkgconfig libXrender xextproto gtk libwnck GConf libgnome libgnomeui metacity gnomegtk glib pango libglade libgtkhtml gtkhtml libgnomecanvas libgnomeprint libgnomeprintui gnomepanel librsvg fuse
|
|
];
|
|
propagatedBuildInputs = [
|
|
libpng libXcomposite libXfixes libXdamage libXrandr libXinerama
|
|
libICE libSM startupnotification mesa GConf
|
|
];
|
|
configureFlags = "--enable-gtk --enable-fuse --enable-annotate --enable-librsvg";
|
|
|
|
postFixup = "
|
|
for i in $out/bin/*; do
|
|
patchelf --set-rpath /var/run/opengl-driver/lib:$(patchelf --print-rpath $i) $i
|
|
done
|
|
";
|
|
|
|
}
|