Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / top-level / wine-packages.nix
blob7cf5533da7f2a3ea05aee49875ce5842e40b35c3
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.isLinux;
13     alsaSupport = stdenv.isLinux;
14     openglSupport = true;
15     vulkanSupport = true;
16     tlsSupport = true;
17     cupsSupport = true;
18     dbusSupport = stdenv.isLinux;
19     cairoSupport = stdenv.isLinux;
20     cursesSupport = true;
21     saneSupport = stdenv.isLinux;
22     pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
23     udevSupport = stdenv.isLinux;
24     xineramaSupport = stdenv.isLinux;
25     sdlSupport = true;
26     mingwSupport = true;
27     usbSupport = true;
28   };
30   full = base.override {
31     gtkSupport = stdenv.isLinux;
32     gstreamerSupport = true;
33     openclSupport = true;
34     odbcSupport = true;
35     netapiSupport = stdenv.isLinux;
36     vaSupport = stdenv.isLinux;
37     pcapSupport = true;
38     v4lSupport = stdenv.isLinux;
39     gphoto2Support = true;
40     krb5Support = true;
41     embedInstallers = true;
42   };
44   stable = base.override { wineRelease = "stable"; };
45   stableFull = full.override { wineRelease = "stable"; };
47   unstable = base.override { wineRelease = "unstable"; };
48   unstableFull = full.override { wineRelease = "unstable"; };
50   staging = base.override { wineRelease = "staging"; };
51   stagingFull = full.override { wineRelease = "staging"; };
53   wayland = base.override { wineRelease = "wayland"; };
54   waylandFull = full.override { wineRelease = "wayland"; };