mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
e0c745920b
From the wine 7.0 release notes: - The following libraries are bundled in the source tree and built as PE libraries, so they are no longer required at the Unix level:
57 lines
1.5 KiB
Nix
57 lines
1.5 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 {
|
|
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;
|
|
sdlSupport = true;
|
|
mingwSupport = true;
|
|
};
|
|
|
|
full = base.override {
|
|
gtkSupport = true;
|
|
gstreamerSupport = true;
|
|
openalSupport = true;
|
|
openclSupport = true;
|
|
odbcSupport = true;
|
|
netapiSupport = true;
|
|
vaSupport = true;
|
|
pcapSupport = true;
|
|
v4lSupport = true;
|
|
gphoto2Support = true;
|
|
ldapSupport = true;
|
|
vkd3dSupport = true;
|
|
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"; };
|
|
}
|