diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-12-07 22:44:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 22:44:13 +0000 |
commit | 0e8e02e686363de53ad80953c265cf11a95304f4 (patch) | |
tree | 657671f40a7b0e95c5107cd32661c184693fd915 /pkgs | |
parent | 7574d4ef15dfd28cde1f728d81a46d94fa64bfe6 (diff) | |
parent | ff74da41fd4c6cb5ebb7f127e16912c76a74684e (diff) | |
download | nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar.gz nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar.bz2 nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar.lz nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar.xz nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.tar.zst nixlib-0e8e02e686363de53ad80953c265cf11a95304f4.zip |
Merge pull request #51214 from rnhmjoj/wine
winePackages.wine: add SDL support
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/emulators/wine/base.nix | 1 | ||||
-rw-r--r-- | pkgs/misc/emulators/wine/default.nix | 3 | ||||
-rw-r--r-- | pkgs/top-level/wine-packages.nix | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/misc/emulators/wine/base.nix b/pkgs/misc/emulators/wine/base.nix index f87f8eab9849..94cf4a774569 100644 --- a/pkgs/misc/emulators/wine/base.nix +++ b/pkgs/misc/emulators/wine/base.nix @@ -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 ] diff --git a/pkgs/misc/emulators/wine/default.nix b/pkgs/misc/emulators/wine/default.nix index 91323ab6de7f..6ecca6c25032 100644 --- a/pkgs/misc/emulators/wine/default.nix +++ b/pkgs/misc/emulators/wine/default.nix @@ -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; }; }); diff --git a/pkgs/top-level/wine-packages.nix b/pkgs/top-level/wine-packages.nix index 8ff2d46c24e0..3a81a3d99bce 100644 --- a/pkgs/top-level/wine-packages.nix +++ b/pkgs/top-level/wine-packages.nix @@ -25,6 +25,7 @@ rec { udevSupport = true; xineramaSupport = true; xmlSupport = true; + sdlSupport = true; }; full = base.override { |