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.hostPlatform.isLinux;
13 alsaSupport = stdenv.hostPlatform.isLinux;
18 dbusSupport = stdenv.hostPlatform.isLinux;
19 cairoSupport = stdenv.hostPlatform.isLinux;
21 saneSupport = stdenv.hostPlatform.isLinux;
22 pulseaudioSupport = config.pulseaudio or stdenv.hostPlatform.isLinux;
23 udevSupport = stdenv.hostPlatform.isLinux;
24 xineramaSupport = stdenv.hostPlatform.isLinux;
28 waylandSupport = stdenv.hostPlatform.isLinux;
29 x11Support = stdenv.hostPlatform.isLinux;
32 full = base.override {
33 gtkSupport = stdenv.hostPlatform.isLinux;
34 gstreamerSupport = true;
37 netapiSupport = stdenv.hostPlatform.isLinux;
38 vaSupport = stdenv.hostPlatform.isLinux;
40 v4lSupport = stdenv.hostPlatform.isLinux;
41 gphoto2Support = true;
43 embedInstallers = true;
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; };