diff options
author | Linus Heckemann <git@sphalerite.org> | 2022-01-23 19:37:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 19:37:57 +0100 |
commit | cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48 (patch) | |
tree | 65f5765325f06b0be746612e53a591a152f7c4fb /pkgs/applications/networking/remote | |
parent | bba53f208055cc7e872025551efcf5a463cfd142 (diff) | |
parent | 3284833ed9eac60c9b224820b104c2e1da77ef03 (diff) | |
download | nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar.gz nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar.bz2 nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar.lz nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar.xz nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.tar.zst nixpkgs-cc116a47ef2bc58eb23bf221fc1a9abb6cf5ef48.zip |
Merge pull request #154853 from NixOS/u/freerdp
freerdp: 2.4.1 -> 2.5.0
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/freerdp/default.nix | 143 |
1 files changed, 88 insertions, 55 deletions
diff --git a/pkgs/applications/networking/remote/freerdp/default.nix b/pkgs/applications/networking/remote/freerdp/default.nix index 9f8a6dfc576..f9450c58826 100644 --- a/pkgs/applications/networking/remote/freerdp/default.nix +++ b/pkgs/applications/networking/remote/freerdp/default.nix @@ -1,9 +1,42 @@ -{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, alsa-lib, ffmpeg, glib, openssl -, pcre, zlib, libX11, libXcursor, libXdamage, libXext, libXi, libXinerama -, libXrandr, libXrender, libXv, libXtst, libxkbcommon, libxkbfile, wayland -, gstreamer, gst-plugins-base, gst-plugins-good, libunwind, orc, libxslt, cairo -, libusb1, libpulseaudio, cups, pcsclite, systemd, libjpeg_turbo -, buildServer ? true, nocaps ? false +{ stdenv +, lib +, fetchFromGitHub +, cmake +, pkg-config +, alsa-lib +, ffmpeg +, glib +, openssl +, pcre +, zlib +, libX11 +, libXcursor +, libXdamage +, libXext +, libXi +, libXinerama +, libXrandr +, libXrender +, libXv +, libXtst +, libxkbcommon +, libxkbfile +, wayland +, gstreamer +, gst-plugins-base +, gst-plugins-good +, libunwind +, orc +, libxslt +, cairo +, libusb1 +, libpulseaudio +, cups +, pcsclite +, systemd +, libjpeg_turbo +, buildServer ? true +, nocaps ? false }: let @@ -16,15 +49,16 @@ let } ]; -in stdenv.mkDerivation rec { +in +stdenv.mkDerivation rec { pname = "freerdp"; - version = "2.4.1"; + version = "2.5.0"; src = fetchFromGitHub { owner = "FreeRDP"; repo = "FreeRDP"; rev = version; - sha256 = "sha256-0wwIuE6Gv8khhLAbWSHOBfHGrTUjR4f/C5bzYJpvWIQ="; + sha256 = "sha256-OLz/f4E+Haumw5Jaw+F1hiHz0jfcywhfK3fEUgLorao="; }; postPatch = '' @@ -47,40 +81,39 @@ in stdenv.mkDerivation rec { --replace "RDP_SCANCODE_CAPSLOCK" "RDP_SCANCODE_LCONTROL" ''; - buildInputs = with lib; - [ - alsa-lib - cairo - cups - ffmpeg - glib - gst-plugins-base - gst-plugins-good - gstreamer - libX11 - libXcursor - libXdamage - libXext - libXi - libXinerama - libXrandr - libXrender - libXtst - libXv - libjpeg_turbo - libpulseaudio - libunwind - libusb1 - libxkbcommon - libxkbfile - libxslt - openssl - orc - pcre - pcsclite - wayland - zlib - ] ++ optional stdenv.isLinux systemd; + buildInputs = [ + alsa-lib + cairo + cups + ffmpeg + glib + gst-plugins-base + gst-plugins-good + gstreamer + libX11 + libXcursor + libXdamage + libXext + libXi + libXinerama + libXrandr + libXrender + libXtst + libXv + libjpeg_turbo + libpulseaudio + libunwind + libusb1 + libxkbcommon + libxkbfile + libxslt + openssl + orc + pcre + pcsclite + wayland + zlib + ] ++ lib.optional stdenv.isLinux systemd; nativeBuildInputs = [ cmake pkg-config ]; @@ -88,18 +121,18 @@ in stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ] ++ lib.mapAttrsToList (k: v: "-D${k}=${if v then "ON" else "OFF"}") { - BUILD_TESTING = doCheck; - WITH_CUNIT = doCheck; - WITH_CUPS = (cups != null); - WITH_OSS = false; - WITH_PCSC = (pcsclite != null); - WITH_PULSE = (libpulseaudio != null); - WITH_SERVER = buildServer; - WITH_SSE2 = stdenv.isx86_64; - WITH_VAAPI = true; - WITH_JPEG = (libjpeg_turbo != null); - WITH_CAIRO = (cairo != null); - }; + BUILD_TESTING = doCheck; + WITH_CUNIT = doCheck; + WITH_CUPS = (cups != null); + WITH_OSS = false; + WITH_PCSC = (pcsclite != null); + WITH_PULSE = (libpulseaudio != null); + WITH_SERVER = buildServer; + WITH_SSE2 = stdenv.isx86_64; + WITH_VAAPI = true; + WITH_JPEG = (libjpeg_turbo != null); + WITH_CAIRO = (cairo != null); + }; meta = with lib; { description = "A Remote Desktop Protocol Client"; |