Commit 9361acff authored by Jan Malakhovski's avatar Jan Malakhovski
Browse files

aegisub: move defaults to package file

parent 20193f85
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{ 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);
+2 −8
Original line number Diff line number Diff line
@@ -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 { };