libass: darwin compatibility
This commit is contained in:
parent
33449c54dd
commit
6360ad48af
@ -5,6 +5,7 @@
|
|||||||
, harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support
|
, harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support
|
||||||
, rasterizerSupport ? false # Internal rasterizer
|
, rasterizerSupport ? false # Internal rasterizer
|
||||||
, largeTilesSupport ? false # Use larger tiles in the rasterizer
|
, largeTilesSupport ? false # Use larger tiles in the rasterizer
|
||||||
|
, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert encaSupport -> enca != null;
|
assert encaSupport -> enca != null;
|
||||||
@ -38,7 +39,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ freetype fribidi ]
|
buildInputs = [ freetype fribidi ]
|
||||||
++ optional encaSupport enca
|
++ optional encaSupport enca
|
||||||
++ optional fontconfigSupport fontconfig
|
++ optional fontconfigSupport fontconfig
|
||||||
++ optional harfbuzzSupport harfbuzz;
|
++ optional harfbuzzSupport harfbuzz
|
||||||
|
++ optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Portable ASS/SSA subtitle renderer";
|
description = "Portable ASS/SSA subtitle renderer";
|
||||||
|
Loading…
Reference in New Issue
Block a user