3
0
Fork 0
forked from mirrors/nixpkgs

Update freerdpUnstable

svn path=/nixpkgs/trunk/; revision=29432
This commit is contained in:
Shea Levy 2011-09-22 02:07:49 +00:00
parent cadbee1ab1
commit 514e07ba96

View file

@ -13,20 +13,19 @@
, libXext
, directfb
, cunit
, xmonadHack ? false
}:
assert printerSupport -> cups != null;
let rev = "93d09e1a38a94c2436c53ef5ff99668e6c55ef96"; in
let rev = "42fb9f84e82268073a3838e6082783ba956ecc99"; in
stdenv.mkDerivation (rec {
stdenv.mkDerivation rec {
name = "freerdp-1.0pre${rev}";
src = fetchgit {
url = git://github.com/FreeRDP/FreeRDP.git;
inherit rev;
sha256 = "a6662826fa0d8e5ecaaf42b40f1f3c54577a1d76ad58a01bd154647d5a1c01f7";
sha256 = "5e77163e2a728802fc426860b3f5ff88cb2f2f3b0bbf0912e9e44c3d8fa060e5";
};
buildInputs = [
@ -64,11 +63,5 @@ stdenv.mkDerivation (rec {
maintainers = [ stdenv.lib.maintainers.shlevy ];
};
} // (stdenv.lib.optionalAttrs xmonadHack {
#xmonad doesn't provide the _NET_WORKAREA atom, so we need to remove the
#call that relies on it. This just messes up sizing in non-fullscreen mode
postUnpack = ''
sed -i 's@xf_GetWorkArea(xfi)@///xf_GetWorkArea(xfi)@' git-export/client/X11/xf_monitor.c
'';
}))
}