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
, libiconv, fontconfig, freetype
, libGLU_combined
@ -8,8 +8,8 @@
, spellcheckSupport ? true, hunspell ? null
, automationSupport ? true, lua ? null
, openalSupport ? false, openal ? null
, alsaSupport ? true, alsaLib ? null
, pulseaudioSupport ? true, libpulseaudio ? null
, alsaSupport ? stdenv.isLinux, alsaLib ? null
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
, portaudioSupport ? false, portaudio ? null }:
assert spellcheckSupport -> (hunspell != null);

View File

@ -406,15 +406,9 @@ in
aefs = callPackage ../tools/filesystems/aefs { };
aegisub = callPackage ../applications/video/aegisub {
aegisub = callPackage ../applications/video/aegisub ({
wxGTK = wxGTK30;
spellcheckSupport = config.aegisub.spellcheckSupport or true;
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;
};
} // (config.aegisub or {}));
aerospike = callPackage ../servers/nosql/aerospike { };