mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #51214 from rnhmjoj/wine
winePackages.wine: add SDL support
This commit is contained in:
commit
0e8e02e686
|
@ -45,6 +45,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
|
||||||
++ lib.optional xineramaSupport pkgs.xorg.libXinerama
|
++ lib.optional xineramaSupport pkgs.xorg.libXinerama
|
||||||
++ lib.optional udevSupport pkgs.udev
|
++ lib.optional udevSupport pkgs.udev
|
||||||
++ lib.optional vulkanSupport pkgs.vulkan-loader
|
++ 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 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 gtkSupport [ pkgs.gtk3 pkgs.glib ]
|
||||||
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
|
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
xineramaSupport ? false,
|
xineramaSupport ? false,
|
||||||
xmlSupport ? false,
|
xmlSupport ? false,
|
||||||
vulkanSupport ? false,
|
vulkanSupport ? false,
|
||||||
|
sdlSupport ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let wine-build = build: release:
|
let wine-build = build: release:
|
||||||
|
@ -53,7 +54,7 @@ let wine-build = build: release:
|
||||||
netapiSupport cursesSupport vaSupport pcapSupport v4lSupport saneSupport
|
netapiSupport cursesSupport vaSupport pcapSupport v4lSupport saneSupport
|
||||||
gsmSupport gphoto2Support ldapSupport fontconfigSupport alsaSupport
|
gsmSupport gphoto2Support ldapSupport fontconfigSupport alsaSupport
|
||||||
pulseaudioSupport xineramaSupport gtkSupport openclSupport xmlSupport tlsSupport
|
pulseaudioSupport xineramaSupport gtkSupport openclSupport xmlSupport tlsSupport
|
||||||
openglSupport gstreamerSupport udevSupport vulkanSupport;
|
openglSupport gstreamerSupport udevSupport vulkanSupport sdlSupport;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ rec {
|
||||||
udevSupport = true;
|
udevSupport = true;
|
||||||
xineramaSupport = true;
|
xineramaSupport = true;
|
||||||
xmlSupport = true;
|
xmlSupport = true;
|
||||||
|
sdlSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
full = base.override {
|
full = base.override {
|
||||||
|
|
Loading…
Reference in a new issue