2011-09-07 01:32:01 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2012-01-18 14:45:46 +01:00
|
|
|
, cmake
|
2011-09-07 01:32:01 +02:00
|
|
|
, openssl
|
|
|
|
, printerSupport ? true, cups
|
|
|
|
, pkgconfig
|
|
|
|
, zlib
|
|
|
|
, libX11
|
|
|
|
, libXcursor
|
2012-01-18 14:45:46 +01:00
|
|
|
, libXdamage
|
|
|
|
, libXext
|
2011-09-07 01:32:01 +02:00
|
|
|
, alsaLib
|
2012-12-14 17:12:17 +01:00
|
|
|
, ffmpeg
|
|
|
|
, libxkbfile
|
|
|
|
#, xmlto, docbook_xml_dtd_412, docbook_xml_xslt
|
|
|
|
, libXinerama
|
|
|
|
, libXv
|
|
|
|
, pulseaudioSupport ? true, pulseaudio
|
2011-09-07 01:32:01 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert printerSupport -> cups != null;
|
|
|
|
stdenv.mkDerivation rec {
|
2012-01-18 14:45:46 +01:00
|
|
|
name = "freerdp-${version}";
|
2013-07-08 12:09:06 +02:00
|
|
|
version = "1.0.2";
|
2011-09-07 01:32:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-12-14 17:12:17 +01:00
|
|
|
url = "https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz";
|
2013-07-08 12:09:06 +02:00
|
|
|
sha256 = "1w9dk7dsbppspnnms2xwwmbg7jm61i7aw5nkwzbpdyxngbgkgwf0";
|
2011-09-07 01:32:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2012-01-18 14:45:46 +01:00
|
|
|
cmake
|
2011-09-07 01:32:01 +02:00
|
|
|
openssl
|
|
|
|
pkgconfig
|
|
|
|
zlib
|
|
|
|
libX11
|
|
|
|
libXcursor
|
2012-01-18 14:45:46 +01:00
|
|
|
libXdamage
|
|
|
|
libXext
|
2011-09-07 01:32:01 +02:00
|
|
|
alsaLib
|
2012-12-14 17:12:17 +01:00
|
|
|
ffmpeg
|
|
|
|
libxkbfile
|
|
|
|
# xmlto docbook_xml_dtd_412 docbook_xml_xslt
|
|
|
|
libXinerama
|
|
|
|
libXv
|
2011-09-07 01:32:01 +02:00
|
|
|
] ++ stdenv.lib.optional printerSupport cups;
|
|
|
|
|
|
|
|
configureFlags = [
|
2012-12-14 17:12:17 +01:00
|
|
|
"--with-x" "-DWITH_MANPAGES=OFF"
|
|
|
|
] ++ stdenv.lib.optional printerSupport "--with-printer=cups"
|
|
|
|
++ stdenv.lib.optional pulseaudioSupport "-DWITH_PULSEAUDIO=ON";
|
2011-09-07 05:42:23 +02:00
|
|
|
|
|
|
|
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/;
|
|
|
|
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2011-09-07 05:42:23 +02:00
|
|
|
};
|
2011-09-07 01:32:01 +02:00
|
|
|
}
|