base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / top-level / wine-packages.nix
blobc31ae27c6fcfd9d6704eba257e8b52e6a557bf69
1 { stdenv, config, callPackage, wineBuild }:
3 rec {
4   fonts = callPackage ../applications/emulators/wine/fonts.nix {};
5   minimal = callPackage ../applications/emulators/wine {
6     wineRelease = config.wine.release or "stable";
7     inherit wineBuild;
8   };
10   base = minimal.override {
11     gettextSupport = true;
12     fontconfigSupport = stdenv.hostPlatform.isLinux;
13     alsaSupport = stdenv.hostPlatform.isLinux;
14     openglSupport = true;
15     vulkanSupport = true;
16     tlsSupport = true;
17     cupsSupport = true;
18     dbusSupport = stdenv.hostPlatform.isLinux;
19     cairoSupport = stdenv.hostPlatform.isLinux;
20     cursesSupport = true;
21     saneSupport = stdenv.hostPlatform.isLinux;
22     pulseaudioSupport = config.pulseaudio or stdenv.hostPlatform.isLinux;
23     udevSupport = stdenv.hostPlatform.isLinux;
24     xineramaSupport = stdenv.hostPlatform.isLinux;
25     sdlSupport = true;
26     mingwSupport = true;
27     usbSupport = true;
28     waylandSupport = stdenv.hostPlatform.isLinux;
29     x11Support = stdenv.hostPlatform.isLinux;
30   };
32   full = base.override {
33     gtkSupport = stdenv.hostPlatform.isLinux;
34     gstreamerSupport = true;
35     openclSupport = true;
36     odbcSupport = true;
37     netapiSupport = stdenv.hostPlatform.isLinux;
38     vaSupport = stdenv.hostPlatform.isLinux;
39     pcapSupport = true;
40     v4lSupport = stdenv.hostPlatform.isLinux;
41     gphoto2Support = true;
42     krb5Support = true;
43     embedInstallers = true;
44   };
46   stable = base.override { wineRelease = "stable"; };
47   stableFull = full.override { wineRelease = "stable"; };
49   unstable = base.override { wineRelease = "unstable"; };
50   unstableFull = full.override { wineRelease = "unstable"; };
52   staging = base.override { wineRelease = "staging"; };
53   stagingFull = full.override { wineRelease = "staging"; };
55   wayland = base.override { wineRelease = "wayland"; waylandSupport = true; };
56   waylandFull = full.override { wineRelease = "wayland"; waylandSupport = true; };