forked from mirrors/nixpkgs
Merge pull request #15401 from acowley/libass-darwin
libass: darwin compatibility
This commit is contained in:
commit
f236168662
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue