gnome3.mutter: add wayland eglstream support

This should make it possible to launch wayland sessions using nvidia hardware.
This commit is contained in:
worldofpeace 2019-09-27 17:31:31 -04:00
parent 9bd8e0de37
commit 2674c54303

View File

@ -10,6 +10,7 @@
, sysprof , sysprof
, desktop-file-utils , desktop-file-utils
, libcap_ng , libcap_ng
, egl-wayland
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Dxwayland-path=${xwayland}/bin/Xwayland" "-Dxwayland-path=${xwayland}/bin/Xwayland"
"-Dinstalled_tests=false" # TODO: enable these "-Dinstalled_tests=false" # TODO: enable these
"-Dwayland_eglstream=true"
"-Degl_device=true"
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -52,7 +55,7 @@ stdenv.mkDerivation rec {
gnome-desktop cairo pango cogl zenity libstartup_notification gnome-desktop cairo pango cogl zenity libstartup_notification
geocode-glib libinput libgudev libwacom geocode-glib libinput libgudev libwacom
libcanberra-gtk3 zenity xkeyboard_config libxkbfile libcanberra-gtk3 zenity xkeyboard_config libxkbfile
libxkbcommon pipewire xwayland libxkbcommon pipewire xwayland egl-wayland
gnome-settings-daemon sysprof gnome-settings-daemon sysprof
]; ];