2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, config, callPackage, wineBuild }:
|
|
|
|
|
|
|
|
rec {
|
2022-02-20 05:27:41 +00:00
|
|
|
fonts = callPackage ../applications/emulators/wine/fonts.nix {};
|
|
|
|
minimal = callPackage ../applications/emulators/wine {
|
2020-04-24 23:36:52 +00:00
|
|
|
wineRelease = config.wine.release or "stable";
|
|
|
|
inherit wineBuild;
|
|
|
|
};
|
|
|
|
|
|
|
|
base = minimal.override {
|
|
|
|
gettextSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
fontconfigSupport = stdenv.isLinux;
|
|
|
|
alsaSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
openglSupport = true;
|
2022-11-04 12:27:35 +00:00
|
|
|
vulkanSupport = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
tlsSupport = true;
|
|
|
|
cupsSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
dbusSupport = stdenv.isLinux;
|
|
|
|
cairoSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
cursesSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
saneSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
|
2022-02-21 08:47:16 +00:00
|
|
|
udevSupport = stdenv.isLinux;
|
|
|
|
xineramaSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
sdlSupport = true;
|
2021-02-19 19:06:45 +00:00
|
|
|
mingwSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
usbSupport = true;
|
2024-02-29 20:09:43 +00:00
|
|
|
waylandSupport = stdenv.isLinux;
|
|
|
|
x11Support = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
full = base.override {
|
2022-02-21 08:47:16 +00:00
|
|
|
gtkSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
gstreamerSupport = true;
|
|
|
|
openclSupport = true;
|
|
|
|
odbcSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
netapiSupport = stdenv.isLinux;
|
|
|
|
vaSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
pcapSupport = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
v4lSupport = stdenv.isLinux;
|
2020-04-24 23:36:52 +00:00
|
|
|
gphoto2Support = true;
|
2022-02-21 08:47:16 +00:00
|
|
|
krb5Support = true;
|
2021-09-28 08:13:01 +00:00
|
|
|
embedInstallers = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
2021-12-06 16:07:01 +00:00
|
|
|
stableFull = full.override { wineRelease = "stable"; };
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
unstable = base.override { wineRelease = "unstable"; };
|
2021-12-06 16:07:01 +00:00
|
|
|
unstableFull = full.override { wineRelease = "unstable"; };
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
staging = base.override { wineRelease = "staging"; };
|
2021-12-06 16:07:01 +00:00
|
|
|
stagingFull = full.override { wineRelease = "staging"; };
|
2022-01-25 03:21:06 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
wayland = base.override { wineRelease = "wayland"; waylandSupport = true; };
|
|
|
|
waylandFull = full.override { wineRelease = "wayland"; waylandSupport = true; };
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|