2018-07-03 19:26:34 +01:00
|
|
|
{ stdenv, config, callPackage, wineBuild }:
|
2018-05-17 00:29:26 +01:00
|
|
|
|
|
|
|
rec {
|
2019-06-12 22:33:13 +01:00
|
|
|
fonts = callPackage ../misc/emulators/wine/fonts.nix {};
|
2018-05-17 00:29:26 +01:00
|
|
|
minimal = callPackage ../misc/emulators/wine {
|
|
|
|
wineRelease = config.wine.release or "stable";
|
2018-07-03 19:26:34 +01:00
|
|
|
inherit wineBuild;
|
2018-05-17 00:29:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
base = minimal.override {
|
|
|
|
pngSupport = true;
|
|
|
|
jpegSupport = true;
|
|
|
|
tiffSupport = true;
|
|
|
|
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;
|
|
|
|
xmlSupport = true;
|
2018-11-24 15:44:20 +00:00
|
|
|
sdlSupport = true;
|
2020-12-29 16:53:01 +00:00
|
|
|
mingwSupport = true;
|
2018-05-17 00:29:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
full = base.override {
|
|
|
|
gtkSupport = true;
|
|
|
|
gstreamerSupport = true;
|
|
|
|
colorManagementSupport = true;
|
|
|
|
mpg123Support = true;
|
|
|
|
openalSupport = true;
|
|
|
|
openclSupport = true;
|
|
|
|
odbcSupport = true;
|
|
|
|
netapiSupport = true;
|
|
|
|
vaSupport = true;
|
|
|
|
pcapSupport = true;
|
|
|
|
v4lSupport = true;
|
|
|
|
gsmSupport = true;
|
|
|
|
gphoto2Support = true;
|
|
|
|
ldapSupport = true;
|
2019-10-07 11:22:33 +01:00
|
|
|
faudioSupport = true;
|
|
|
|
vkd3dSupport = true;
|
2018-05-17 00:29:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
|
|
|
unstable = base.override { wineRelease = "unstable"; };
|
|
|
|
staging = base.override { wineRelease = "staging"; };
|
|
|
|
}
|