Skip to content

Commit

Permalink
xrdp: enable a few more features
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Jan 13, 2024
1 parent ff57903 commit 4e412d0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkgs/applications/networking/remote/xrdp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
, libopus
, nasm
, xorg
, lame
, pixman
, libjpeg_turbo
}:

let
Expand Down Expand Up @@ -74,10 +77,13 @@ let

buildInputs = [
fuse
lame
libjpeg
libjpeg_turbo
libopus
openssl
pam
pixman
systemd
xorg.libX11
xorg.libXfixes
Expand All @@ -86,6 +92,8 @@ let

postPatch = ''
substituteInPlace sesman/xauth.c --replace "xauth -q" "${xorg.xauth}/bin/xauth -q"
substituteInPlace configure.ac --replace /usr/include/ ""
'';

preConfigure = ''
Expand All @@ -98,9 +106,14 @@ let
"--enable-fuse"
"--enable-ipv6"
"--enable-jpeg"
"--enable-mp3lame"
"--enable-opus"
"--enable-pam-config=unix"
"--enable-pixman"
"--enable-rdpsndaudin"
"--enable-rfxcodec"
"--enable-tjpeg"
"--enable-vsock"
];

installFlags = [ "DESTDIR=$(out)" "prefix=" ];
Expand Down

0 comments on commit 4e412d0

Please sign in to comment.