mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
66fffe99d8
"Wine's fonts should be a natural candidate for their own subpackage" https://wiki.winehq.org/Packaging They are a replacement for some Microsoft fonts not available in other replacement packages.
53 lines
1.3 KiB
Nix
53 lines
1.3 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;
|
|
};
|
|
|
|
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"; };
|
|
}
|