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