mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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
|
||||
}:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "weston";
|
||||
version = "10.0.1";
|
||||
@ -34,25 +33,25 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
mesonFlags= [
|
||||
"-Dbackend-drm-screencast-vaapi=${boolToString (vaapi != null)}"
|
||||
"-Dbackend-rdp=${boolToString (freerdp != null)}"
|
||||
"-Dxwayland=${boolToString (xwayland != null)}" # Default is true!
|
||||
"-Dbackend-drm-screencast-vaapi=${lib.boolToString (vaapi != null)}"
|
||||
"-Dbackend-rdp=${lib.boolToString (freerdp != null)}"
|
||||
"-Dxwayland=${lib.boolToString (xwayland != null)}" # Default is true!
|
||||
"-Dremoting=false" # TODO
|
||||
"-Dpipewire=${boolToString (pipewire != null)}"
|
||||
"-Dimage-webp=${boolToString (libwebp != null)}"
|
||||
"-Dpipewire=${lib.boolToString (pipewire != null)}"
|
||||
"-Dimage-webp=${lib.boolToString (libwebp != null)}"
|
||||
"-Ddemo-clients=false"
|
||||
"-Dsimple-clients="
|
||||
"-Dtest-junit-xml=false"
|
||||
# TODO:
|
||||
#"--enable-clients"
|
||||
#"--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"
|
||||
];
|
||||
|
||||
passthru.providedSessions = [ "weston" ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A lightweight and functional Wayland compositor";
|
||||
longDescription = ''
|
||||
Weston is the reference implementation of a Wayland compositor, as well
|
||||
|
Loading…
Reference in New Issue
Block a user