diff options
author | Anthony Cowley <acowley@gmail.com> | 2016-05-12 01:50:13 -0400 |
---|---|---|
committer | Anthony Cowley <acowley@gmail.com> | 2016-05-12 01:50:13 -0400 |
commit | 6360ad48af0321ba33c154bb41c89105205ae351 (patch) | |
tree | d051b4e6cea97ed4407173ac3f365fa378b22386 /pkgs/development/libraries/libass | |
parent | 33449c54dd68b36f73d6ace90f68ca8f6eaf4d89 (diff) |
libass: darwin compatibility
Diffstat (limited to 'pkgs/development/libraries/libass')
-rw-r--r-- | pkgs/development/libraries/libass/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libass/default.nix b/pkgs/development/libraries/libass/default.nix index 1acd71c30c84..4b579524a528 100644 --- a/pkgs/development/libraries/libass/default.nix +++ b/pkgs/development/libraries/libass/default.nix @@ -5,6 +5,7 @@ , harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support , rasterizerSupport ? false # Internal rasterizer , largeTilesSupport ? false # Use larger tiles in the rasterizer +, libiconv }: assert encaSupport -> enca != null; @@ -38,7 +39,8 @@ stdenv.mkDerivation rec { buildInputs = [ freetype fribidi ] ++ optional encaSupport enca ++ optional fontconfigSupport fontconfig - ++ optional harfbuzzSupport harfbuzz; + ++ optional harfbuzzSupport harfbuzz + ++ optional stdenv.isDarwin libiconv; meta = { description = "Portable ASS/SSA subtitle renderer"; |