winePackages.wine: add SDL support

This commit is contained in:
rnhmjoj 2018-11-24 16:44:20 +01:00
parent aa053197de
commit ff74da41fd
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A
3 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
++ lib.optional xineramaSupport pkgs.xorg.libXinerama
++ lib.optional udevSupport pkgs.udev
++ lib.optional vulkanSupport pkgs.vulkan-loader
++ lib.optional sdlSupport pkgs.SDL2
++ lib.optionals gstreamerSupport (with pkgs.gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ])
++ lib.optionals gtkSupport [ pkgs.gtk3 pkgs.glib ]
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]

View file

@ -42,6 +42,7 @@
xineramaSupport ? false,
xmlSupport ? false,
vulkanSupport ? false,
sdlSupport ? false,
}:
let wine-build = build: release:
@ -53,7 +54,7 @@ let wine-build = build: release:
netapiSupport cursesSupport vaSupport pcapSupport v4lSupport saneSupport
gsmSupport gphoto2Support ldapSupport fontconfigSupport alsaSupport
pulseaudioSupport xineramaSupport gtkSupport openclSupport xmlSupport tlsSupport
openglSupport gstreamerSupport udevSupport vulkanSupport;
openglSupport gstreamerSupport udevSupport vulkanSupport sdlSupport;
};
});

View file

@ -25,6 +25,7 @@ rec {
udevSupport = true;
xineramaSupport = true;
xmlSupport = true;
sdlSupport = true;
};
full = base.override {