weston: add option to build demo-clients

This commit is contained in:
rewine 2023-03-10 11:22:46 +08:00
parent d386e73ca8
commit 6b655779b6
No known key found for this signature in database
GPG key ID: AABB329787290824

View file

@ -6,6 +6,7 @@
, pipewire ? null, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null
, libva ? null, libwebp ? null, xwayland ? null
# beware of null defaults, as the parameters *are* supplied by callPackage by default
, buildDemo ? false
}:
stdenv.mkDerivation rec {
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
"-Dremoting=false" # TODO
"-Dpipewire=${lib.boolToString (pipewire != null)}"
"-Dimage-webp=${lib.boolToString (libwebp != null)}"
"-Ddemo-clients=false"
(lib.mesonBool "demo-clients" buildDemo)
"-Dsimple-clients="
"-Dtest-junit-xml=false"
# TODO: