legends-of-equestria: init at 2024.05.01 (#296316)
[NixPkgs.git] / pkgs / top-level / wine-packages.nix
blob8d5191f26a25fcdd5453ecef575f355f86795dc8
2   stdenv,
3   config,
4   callPackage,
5   wineBuild,
6 }:
8 rec {
9   fonts = callPackage ../applications/emulators/wine/fonts.nix { };
10   minimal = callPackage ../applications/emulators/wine {
11     wineRelease = config.wine.release or "stable";
12     inherit wineBuild;
13   };
15   base = minimal.override {
16     gettextSupport = true;
17     fontconfigSupport = stdenv.hostPlatform.isLinux;
18     alsaSupport = stdenv.hostPlatform.isLinux;
19     openglSupport = true;
20     vulkanSupport = true;
21     tlsSupport = true;
22     cupsSupport = true;
23     dbusSupport = stdenv.hostPlatform.isLinux;
24     cairoSupport = stdenv.hostPlatform.isLinux;
25     cursesSupport = true;
26     saneSupport = stdenv.hostPlatform.isLinux;
27     pulseaudioSupport = config.pulseaudio or stdenv.hostPlatform.isLinux;
28     udevSupport = stdenv.hostPlatform.isLinux;
29     xineramaSupport = stdenv.hostPlatform.isLinux;
30     sdlSupport = true;
31     mingwSupport = true;
32     usbSupport = true;
33     waylandSupport = stdenv.hostPlatform.isLinux;
34     x11Support = stdenv.hostPlatform.isLinux;
35   };
37   full = base.override {
38     gtkSupport = stdenv.hostPlatform.isLinux;
39     gstreamerSupport = true;
40     openclSupport = true;
41     odbcSupport = true;
42     netapiSupport = stdenv.hostPlatform.isLinux;
43     vaSupport = stdenv.hostPlatform.isLinux;
44     pcapSupport = true;
45     v4lSupport = stdenv.hostPlatform.isLinux;
46     gphoto2Support = true;
47     krb5Support = true;
48     embedInstallers = true;
49   };
51   stable = base.override { wineRelease = "stable"; };
52   stableFull = full.override { wineRelease = "stable"; };
54   unstable = base.override { wineRelease = "unstable"; };
55   unstableFull = full.override { wineRelease = "unstable"; };
57   staging = base.override { wineRelease = "staging"; };
58   stagingFull = full.override { wineRelease = "staging"; };
60   wayland = base.override {
61     wineRelease = "wayland";
62     waylandSupport = true;
63   };
64   waylandFull = full.override {
65     wineRelease = "wayland";
66     waylandSupport = true;
67   };