Merge pull request #15401 from acowley/libass-darwin

libass: darwin compatibility
This commit is contained in:
Joachim Fasting 2016-05-12 10:08:22 +02:00
commit f236168662

View file

@ -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";