aegisub: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:31:21 +00:00
parent 20193f85e9
commit 9361acfff1
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl { config, stdenv, fetchurl
, libX11, wxGTK , libX11, wxGTK
, libiconv, fontconfig, freetype , libiconv, fontconfig, freetype
, libGLU_combined , libGLU_combined
@ -8,8 +8,8 @@
, spellcheckSupport ? true, hunspell ? null , spellcheckSupport ? true, hunspell ? null
, automationSupport ? true, lua ? null , automationSupport ? true, lua ? null
, openalSupport ? false, openal ? null , openalSupport ? false, openal ? null
, alsaSupport ? true, alsaLib ? null , alsaSupport ? stdenv.isLinux, alsaLib ? null
, pulseaudioSupport ? true, libpulseaudio ? null , pulseaudioSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
, portaudioSupport ? false, portaudio ? null }: , portaudioSupport ? false, portaudio ? null }:
assert spellcheckSupport -> (hunspell != null); assert spellcheckSupport -> (hunspell != null);

View File

@ -406,15 +406,9 @@ in
aefs = callPackage ../tools/filesystems/aefs { }; aefs = callPackage ../tools/filesystems/aefs { };
aegisub = callPackage ../applications/video/aegisub { aegisub = callPackage ../applications/video/aegisub ({
wxGTK = wxGTK30; wxGTK = wxGTK30;
spellcheckSupport = config.aegisub.spellcheckSupport or true; } // (config.aegisub or {}));
automationSupport = config.aegisub.automationSupport or true;
openalSupport = config.aegisub.openalSupport or false;
alsaSupport = config.aegisub.alsaSupport or true;
pulseaudioSupport = config.aegisub.pulseaudioSupport or true;
portaudioSupport = config.aegisub.portaudioSupport or false;
};
aerospike = callPackage ../servers/nosql/aerospike { }; aerospike = callPackage ../servers/nosql/aerospike { };