|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ config, lib, stdenv, fetchurl, pkg-config, freetype, yasm, ffmpeg_3 |
|
|
|
|
{ config, lib, stdenv, fetchurl, pkg-config, freetype, yasm, ffmpeg |
|
|
|
|
, aalibSupport ? true, aalib ? null |
|
|
|
|
, fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null |
|
|
|
|
, fribidiSupport ? true, fribidi ? null |
|
|
|
@ -109,7 +109,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ]; |
|
|
|
|
nativeBuildInputs = [ pkg-config yasm ]; |
|
|
|
|
buildInputs = with lib; |
|
|
|
|
[ freetype ffmpeg_3 ] |
|
|
|
|
[ freetype ffmpeg ] |
|
|
|
|
++ optional aalibSupport aalib |
|
|
|
|
++ optional fontconfigSupport fontconfig |
|
|
|
|
++ optional fribidiSupport fribidi |
|
|
|
|