2018-07-03 18:26:34 +00:00
|
|
|
{ stdenv, config, callPackage, wineBuild }:
|
2018-05-16 23:29:26 +00:00
|
|
|
|
|
|
|
rec {
|
2022-02-16 02:36:57 +00:00
|
|
|
fonts = callPackage ../applications/emulators/wine/fonts.nix {};
|
|
|
|
minimal = callPackage ../applications/emulators/wine {
|
2018-05-16 23:29:26 +00:00
|
|
|
wineRelease = config.wine.release or "stable";
|
2018-07-03 18:26:34 +00:00
|
|
|
inherit wineBuild;
|
2018-05-16 23:29:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
base = minimal.override {
|
|
|
|
gettextSupport = true;
|
|
|
|
fontconfigSupport = true;
|
|
|
|
alsaSupport = true;
|
|
|
|
openglSupport = true;
|
|
|
|
vulkanSupport = stdenv.isLinux;
|
|
|
|
tlsSupport = true;
|
|
|
|
cupsSupport = true;
|
|
|
|
dbusSupport = true;
|
|
|
|
cairoSupport = true;
|
|
|
|
cursesSupport = true;
|
|
|
|
saneSupport = true;
|
|
|
|
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
|
|
|
|
udevSupport = true;
|
|
|
|
xineramaSupport = true;
|
2018-11-24 15:44:20 +00:00
|
|
|
sdlSupport = true;
|
2020-12-29 16:53:01 +00:00
|
|
|
mingwSupport = true;
|
2018-05-16 23:29:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
full = base.override {
|
|
|
|
gtkSupport = true;
|
|
|
|
gstreamerSupport = true;
|
|
|
|
openalSupport = true;
|
|
|
|
openclSupport = true;
|
|
|
|
odbcSupport = true;
|
|
|
|
netapiSupport = true;
|
|
|
|
vaSupport = true;
|
|
|
|
pcapSupport = true;
|
|
|
|
v4lSupport = true;
|
|
|
|
gphoto2Support = true;
|
|
|
|
ldapSupport = true;
|
2019-10-07 10:22:33 +00:00
|
|
|
vkd3dSupport = true;
|
2021-09-27 12:08:31 +00:00
|
|
|
embedInstallers = true;
|
2018-05-16 23:29:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
2021-11-06 07:03:36 +00:00
|
|
|
stableFull = full.override { wineRelease = "stable"; };
|
|
|
|
|
2018-05-16 23:29:26 +00:00
|
|
|
unstable = base.override { wineRelease = "unstable"; };
|
2021-11-06 07:03:36 +00:00
|
|
|
unstableFull = full.override { wineRelease = "unstable"; };
|
|
|
|
|
2018-05-16 23:29:26 +00:00
|
|
|
staging = base.override { wineRelease = "staging"; };
|
2021-11-06 07:03:36 +00:00
|
|
|
stagingFull = full.override { wineRelease = "staging"; };
|
2022-01-03 04:10:16 +00:00
|
|
|
|
|
|
|
wayland = base.override { wineRelease = "wayland"; };
|
|
|
|
waylandFull = full.override { wineRelease = "wayland"; };
|
2018-05-16 23:29:26 +00:00
|
|
|
}
|