nixpkgs-suyu/pkgs/top-level/wine-packages.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.9 KiB
Nix
Raw Normal View History

2018-07-03 20:26:34 +02:00
{ stdenv, config, callPackage, wineBuild }:
rec {
fonts = callPackage ../applications/emulators/wine/fonts.nix {};
minimal = callPackage ../applications/emulators/wine {
wineRelease = config.wine.release or "stable";
2018-07-03 20:26:34 +02:00
inherit wineBuild;
};
base = minimal.override {
gettextSupport = true;
2022-02-16 01:37:55 +01:00
fontconfigSupport = stdenv.isLinux;
alsaSupport = stdenv.isLinux;
openglSupport = true;
# Works on Darwin but disabled by default to prevent Hydra build failures due to MoltenVK.
vulkanSupport = stdenv.isLinux;
tlsSupport = true;
cupsSupport = true;
2022-02-16 01:37:55 +01:00
dbusSupport = stdenv.isLinux;
cairoSupport = stdenv.isLinux;
cursesSupport = true;
2022-02-16 01:37:55 +01:00
saneSupport = stdenv.isLinux;
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
2022-02-16 01:37:55 +01:00
udevSupport = stdenv.isLinux;
xineramaSupport = stdenv.isLinux;
2018-11-24 16:44:20 +01:00
sdlSupport = true;
mingwSupport = true;
usbSupport = true;
};
full = base.override {
2022-02-16 01:37:55 +01:00
gtkSupport = stdenv.isLinux;
gstreamerSupport = true;
openalSupport = true;
openclSupport = true;
odbcSupport = true;
2022-02-16 01:37:55 +01:00
netapiSupport = stdenv.isLinux;
vaSupport = stdenv.isLinux;
pcapSupport = true;
2022-02-16 01:37:55 +01:00
v4lSupport = stdenv.isLinux;
gphoto2Support = true;
krb5Support = true;
ldapSupport = true;
# Works on Darwin but disabled by default to prevent Hydra build failures due to MoltenVK.
vkd3dSupport = stdenv.isLinux;
embedInstallers = true;
};
stable = base.override { wineRelease = "stable"; };
stableFull = full.override { wineRelease = "stable"; };
unstable = base.override { wineRelease = "unstable"; };
unstableFull = full.override { wineRelease = "unstable"; };
staging = base.override { wineRelease = "staging"; };
stagingFull = full.override { wineRelease = "staging"; };
wayland = base.override { wineRelease = "wayland"; };
waylandFull = full.override { wineRelease = "wayland"; };
}