9b7c32a9c1
With mingwSupport enabled, Wine uses MinGW builds of GCC (compiled for the i686-w64-mingw32 & x86_64-w64-mingw32 targets) to cross compile system DLLs as PE executables. This is used to workaround some basic anticheat software. (See #103102) Fedora & Arch Linux also have this enabled by default in their Wine builds: - Fedora:8e216ca407/f/wine.spec (_116)
- Arch Linux:2435e762ea/trunk/PKGBUILD (L44)
56 lines
1.4 KiB
Nix
56 lines
1.4 KiB
Nix
{ stdenv, config, callPackage, wineBuild }:
|
|
|
|
rec {
|
|
fonts = callPackage ../misc/emulators/wine/fonts.nix {};
|
|
minimal = callPackage ../misc/emulators/wine {
|
|
wineRelease = config.wine.release or "stable";
|
|
inherit wineBuild;
|
|
};
|
|
|
|
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;
|
|
sdlSupport = true;
|
|
mingwSupport = 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;
|
|
faudioSupport = true;
|
|
vkd3dSupport = true;
|
|
};
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
|
unstable = base.override { wineRelease = "unstable"; };
|
|
staging = base.override { wineRelease = "staging"; };
|
|
}
|