Add unstable version of freerdp
svn path=/nixpkgs/trunk/; revision=29070
This commit is contained in:
parent
02aa1d7cde
commit
93be0770d7
74
pkgs/applications/networking/remote/freerdp/unstable.nix
Normal file
74
pkgs/applications/networking/remote/freerdp/unstable.nix
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchgit
|
||||||
|
, openssl
|
||||||
|
, printerSupport ? true, cups
|
||||||
|
, pkgconfig
|
||||||
|
, zlib
|
||||||
|
, libX11
|
||||||
|
, libXcursor
|
||||||
|
, alsaLib
|
||||||
|
, cmake
|
||||||
|
, libxkbfile
|
||||||
|
, libXinerama
|
||||||
|
, libXext
|
||||||
|
, directfb
|
||||||
|
, cunit
|
||||||
|
, xmonadHack ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert printerSupport -> cups != null;
|
||||||
|
|
||||||
|
let rev = "0d412ba629471aeb83d1c39d167d389d8f4262e5"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation (rec {
|
||||||
|
name = "freerdp-1.0pre${rev}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = git://github.com/FreeRDP/FreeRDP-1.0.git;
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "e8997677bde3d99c8ae6b6dd85ca2b6a17cca49f7dbd4d460908c969088130e6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
pkgconfig
|
||||||
|
zlib
|
||||||
|
libX11
|
||||||
|
libXcursor
|
||||||
|
libxkbfile
|
||||||
|
libXinerama
|
||||||
|
libXext
|
||||||
|
directfb
|
||||||
|
alsaLib
|
||||||
|
cmake
|
||||||
|
cunit
|
||||||
|
] ++ stdenv.lib.optional printerSupport cups;
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
sed -i 's@xf_GetWorkArea(xfi)@///xf_GetWorkArea(xfi)@' git-export/client/X11/xf_monitor.c
|
||||||
|
'';
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DWITH_DIRECTFB=ON" "-DWITH_CUNIT=ON" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Remote Desktop Protocol Client";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
||||||
|
following the Microsoft Open Specifications.
|
||||||
|
'';
|
||||||
|
|
||||||
|
homepage = http://www.freerdp.com/;
|
||||||
|
|
||||||
|
license = "free-non-copyleft";
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
}))
|
||||||
|
|
@ -6553,6 +6553,8 @@ let
|
|||||||
|
|
||||||
freerdp = callPackage ../applications/networking/remote/freerdp { };
|
freerdp = callPackage ../applications/networking/remote/freerdp { };
|
||||||
|
|
||||||
|
freerdpUnstable = callPackage ../applications/networking/remote/freerdp/unstable.nix { };
|
||||||
|
|
||||||
fspot = callPackage ../applications/graphics/f-spot {
|
fspot = callPackage ../applications/graphics/f-spot {
|
||||||
inherit (gnome) libgnome libgnomeui;
|
inherit (gnome) libgnome libgnomeui;
|
||||||
gtksharp = gtksharp1;
|
gtksharp = gtksharp1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user