Merge pull request #183811 from SuperSandro2000/weston
This commit is contained in:
commit
604ab8de88
|
@ -7,7 +7,6 @@
|
||||||
# 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
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "weston";
|
pname = "weston";
|
||||||
version = "10.0.1";
|
version = "10.0.1";
|
||||||
|
@ -34,25 +33,25 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags= [
|
mesonFlags= [
|
||||||
"-Dbackend-drm-screencast-vaapi=${boolToString (vaapi != null)}"
|
"-Dbackend-drm-screencast-vaapi=${lib.boolToString (vaapi != null)}"
|
||||||
"-Dbackend-rdp=${boolToString (freerdp != null)}"
|
"-Dbackend-rdp=${lib.boolToString (freerdp != null)}"
|
||||||
"-Dxwayland=${boolToString (xwayland != null)}" # Default is true!
|
"-Dxwayland=${lib.boolToString (xwayland != null)}" # Default is true!
|
||||||
"-Dremoting=false" # TODO
|
"-Dremoting=false" # TODO
|
||||||
"-Dpipewire=${boolToString (pipewire != null)}"
|
"-Dpipewire=${lib.boolToString (pipewire != null)}"
|
||||||
"-Dimage-webp=${boolToString (libwebp != null)}"
|
"-Dimage-webp=${lib.boolToString (libwebp != null)}"
|
||||||
"-Ddemo-clients=false"
|
"-Ddemo-clients=false"
|
||||||
"-Dsimple-clients="
|
"-Dsimple-clients="
|
||||||
"-Dtest-junit-xml=false"
|
"-Dtest-junit-xml=false"
|
||||||
# TODO:
|
# TODO:
|
||||||
#"--enable-clients"
|
#"--enable-clients"
|
||||||
#"--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
|
#"--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
|
||||||
] ++ optionals (xwayland != null) [
|
] ++ lib.optionals (xwayland != null) [
|
||||||
"-Dxwayland-path=${xwayland.out}/bin/Xwayland"
|
"-Dxwayland-path=${xwayland.out}/bin/Xwayland"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.providedSessions = [ "weston" ];
|
passthru.providedSessions = [ "weston" ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A lightweight and functional Wayland compositor";
|
description = "A lightweight and functional Wayland compositor";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Weston is the reference implementation of a Wayland compositor, as well
|
Weston is the reference implementation of a Wayland compositor, as well
|
||||||
|
|
Loading…
Reference in a new issue