1 { stdenv, config, callPackage, wineBuild }:
4 fonts = callPackage ../applications/emulators/wine/fonts.nix {};
5 minimal = callPackage ../applications/emulators/wine {
6 wineRelease = config.wine.release or "stable";
10 base = minimal.override {
11 gettextSupport = true;
12 fontconfigSupport = stdenv.isLinux;
13 alsaSupport = stdenv.isLinux;
18 dbusSupport = stdenv.isLinux;
19 cairoSupport = stdenv.isLinux;
21 saneSupport = stdenv.isLinux;
22 pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
23 udevSupport = stdenv.isLinux;
24 xineramaSupport = stdenv.isLinux;
30 full = base.override {
31 gtkSupport = stdenv.isLinux;
32 gstreamerSupport = true;
36 netapiSupport = stdenv.isLinux;
37 vaSupport = stdenv.isLinux;
39 v4lSupport = stdenv.isLinux;
40 gphoto2Support = true;
43 vkd3dSupport = stdenv.isLinux;
44 embedInstallers = true;
47 stable = base.override { wineRelease = "stable"; };
48 stableFull = full.override { wineRelease = "stable"; };
50 unstable = base.override { wineRelease = "unstable"; };
51 unstableFull = full.override { wineRelease = "unstable"; };
53 staging = base.override { wineRelease = "staging"; };
54 stagingFull = full.override { wineRelease = "staging"; };
56 wayland = base.override { wineRelease = "wayland"; };
57 waylandFull = full.override { wineRelease = "wayland"; };