freerdp: add wayland-scanner to nativeBuildInputs
We must also pass `-DWAYLAND_SCANNER=` explicitly, because freerdp attempts to use the `hostPlatform`'s wayland-scanner (which it presumably is locating via the `wayland` in `buildInputs`)
This commit is contained in:
parent
7cb92d085d
commit
c0bbacf138
@ -28,6 +28,7 @@
|
||||
, libxkbcommon
|
||||
, libxkbfile
|
||||
, wayland
|
||||
, wayland-scanner
|
||||
, gstreamer
|
||||
, gst-plugins-base
|
||||
, gst-plugins-good
|
||||
@ -48,6 +49,8 @@
|
||||
, Cocoa
|
||||
, CoreMedia
|
||||
, withUnfree ? false
|
||||
|
||||
, buildPackages
|
||||
}:
|
||||
|
||||
let
|
||||
@ -149,7 +152,10 @@ stdenv.mkDerivation rec {
|
||||
faac
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake libxslt docbook-xsl-nons pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
cmake libxslt docbook-xsl-nons pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@ -158,6 +164,7 @@ stdenv.mkDerivation rec {
|
||||
"-Wno-dev"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DDOCBOOKXSL_DIR=${docbook-xsl-nons}/xml/xsl/docbook"
|
||||
"-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner"
|
||||
]
|
||||
++ lib.mapAttrsToList (k: v: "-D${k}=${cmFlag v}") {
|
||||
BUILD_TESTING = false; # false is recommended by upstream
|
||||
|
Loading…
Reference in New Issue
Block a user