weston: add option to build demo-clients
This commit is contained in:
parent
d386e73ca8
commit
6b655779b6
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
, pipewire ? null, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null
|
, pipewire ? null, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null
|
||||||
, libva ? null, libwebp ? null, xwayland ? null
|
, libva ? null, libwebp ? null, xwayland ? null
|
||||||
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
||||||
|
, buildDemo ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
"-Dremoting=false" # TODO
|
"-Dremoting=false" # TODO
|
||||||
"-Dpipewire=${lib.boolToString (pipewire != null)}"
|
"-Dpipewire=${lib.boolToString (pipewire != null)}"
|
||||||
"-Dimage-webp=${lib.boolToString (libwebp != null)}"
|
"-Dimage-webp=${lib.boolToString (libwebp != null)}"
|
||||||
"-Ddemo-clients=false"
|
(lib.mesonBool "demo-clients" buildDemo)
|
||||||
"-Dsimple-clients="
|
"-Dsimple-clients="
|
||||||
"-Dtest-junit-xml=false"
|
"-Dtest-junit-xml=false"
|
||||||
# TODO:
|
# TODO:
|
||||||
|
|
Loading…
Reference in a new issue