Making x11perf build.

svn path=/nixpkgs/trunk/; revision=33651
This commit is contained in:
Lluís Batlle i Rossell 2012-04-06 18:33:51 +00:00
parent e24eab9b87
commit 6a838a4ba1

View File

@ -119,6 +119,11 @@ in
'';
};
x11perf = attrs: attrs // {
NIX_CFLAGS_COMPILE = "-I${args.freetype}/include/freetype2";
buildInputs = attrs.buildInputs ++ [ args.freetype args.fontconfig ];
};
xf86inputevdev = attrs: attrs // {
preBuild = "sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c";
buildInputs = attrs.buildInputs ++ [xorg.kbproto xorg.libxkbfile xorg.randrproto];