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;
35 netapiSupport = stdenv.isLinux;
36 vaSupport = stdenv.isLinux;
38 v4lSupport = stdenv.isLinux;
39 gphoto2Support = true;
41 embedInstallers = true;
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"; };