xorg.xwayland: add eglstream support

This commit is contained in:
Tor Hedin Brønner
2019-11-19 15:34:39 -05:00
committed by worldofpeace
parent 2674c54303
commit cfe4ede98b
+3 -1
View File
@@ -1,16 +1,18 @@
{ stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper }: { stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper, egl-wayland }:
with stdenv.lib; with stdenv.lib;
xorgserver.overrideAttrs (oldAttrs: { xorgserver.overrideAttrs (oldAttrs: {
name = "xwayland-${xorgserver.version}"; name = "xwayland-${xorgserver.version}";
buildInputs = oldAttrs.buildInputs ++ [ egl-wayland ];
propagatedBuildInputs = oldAttrs.propagatedBuildInputs propagatedBuildInputs = oldAttrs.propagatedBuildInputs
++ [wayland wayland-protocols epoxy libxslt makeWrapper libunwind]; ++ [wayland wayland-protocols epoxy libxslt makeWrapper libunwind];
configureFlags = [ configureFlags = [
"--disable-docs" "--disable-docs"
"--disable-devel-docs" "--disable-devel-docs"
"--enable-xwayland" "--enable-xwayland"
"--enable-xwayland-eglstream"
"--disable-xorg" "--disable-xorg"
"--disable-xvfb" "--disable-xvfb"
"--disable-xnest" "--disable-xnest"