2018-07-03 18:26:34 +00:00
|
|
|
{ stdenv, config, callPackage, wineBuild }:
|
2018-05-16 23:29:26 +00:00
|
|
|
|
|
|
|
rec {
|
|
|
|
minimal = callPackage ../misc/emulators/wine {
|
|
|
|
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 {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
|
|
|
unstable = base.override { wineRelease = "unstable"; };
|
|
|
|
staging = base.override { wineRelease = "staging"; };
|
|
|
|
}
|