vapoursynth: fix build

This commit is contained in:
Gabriel Ebner 2018-07-03 17:03:12 +02:00
parent 1fd0653294
commit ad611a6223

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, zimg, libass, python3, libiconv , zimg, libass, python3, libiconv
, ApplicationServices, nasm , ApplicationServices, nasm, x265
, ocrSupport ? false, tesseract ? null , ocrSupport ? false, tesseract ? null
, imwriSupport? true, imagemagick7 ? null , imwriSupport? true, imagemagick7 ? null
}: }:
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
(python3.withPackages (ps: with ps; [ sphinx cython ])) (python3.withPackages (ps: with ps; [ sphinx cython ]))
] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ] ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]
++ optional ocrSupport tesseract ++ optional ocrSupport tesseract
++ optional imwriSupport imagemagick7; ++ optionals imwriSupport [ imagemagick7 x265 ];
configureFlags = [ configureFlags = [
"--disable-static" "--disable-static"