update weston: add xwayland support
This commit is contained in:
parent
9a2b2e7b34
commit
1d131a09a4
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon, cairo, libxcb
|
{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon, cairo, libxcb
|
||||||
, libXcursor, x11, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
|
, libXcursor, x11, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
|
||||||
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
||||||
, libwebp ? null
|
, libwebp ? null, xwayland ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.6.0"; in
|
let version = "1.6.0"; in
|
||||||
@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-xwayland"
|
|
||||||
"--enable-x11-compositor"
|
"--enable-x11-compositor"
|
||||||
"--enable-drm-compositor"
|
"--enable-drm-compositor"
|
||||||
"--enable-wayland-compositor"
|
"--enable-wayland-compositor"
|
||||||
@ -32,7 +31,10 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-weston-launch"
|
"--enable-weston-launch"
|
||||||
"--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
|
||||||
] ++ stdenv.lib.optional (freerdp != null) "--enable-rdp-compositor"
|
] ++ stdenv.lib.optional (freerdp != null) "--enable-rdp-compositor"
|
||||||
++ stdenv.lib.optional (vaapi != null) "--enabe-vaapi-recorder";
|
++ stdenv.lib.optional (vaapi != null) "--enabe-vaapi-recorder"
|
||||||
|
++ stdenv.lib.optional (xwayland != null) (
|
||||||
|
"--enable-xwayland " +
|
||||||
|
"--with-xserver-path=${xwayland}/bin/Xwayland");
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Reference implementation of a Wayland compositor";
|
description = "Reference implementation of a Wayland compositor";
|
||||||
|
@ -10965,6 +10965,7 @@ let
|
|||||||
vaapi = null;
|
vaapi = null;
|
||||||
libva = null;
|
libva = null;
|
||||||
libwebp = null;
|
libwebp = null;
|
||||||
|
xwayland = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
weston = callPackage ../applications/window-managers/weston {
|
weston = callPackage ../applications/window-managers/weston {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user