vapoursynth: remove flags for optional plugins
Since R55 vapoursynth no longer bundles any plugins. This also creates an empty directory at $out/lib/vapoursynth, which now no longer exists, to suppress a warning about this directory missing.
This commit is contained in:
parent
96125a24a8
commit
dc2bdfbb3b
@ -2,8 +2,6 @@
|
||||
, runCommandCC, runCommand, vapoursynth, writeText, patchelf, buildEnv
|
||||
, zimg, libass, python3, libiconv
|
||||
, ApplicationServices
|
||||
, ocrSupport ? false, tesseract
|
||||
, imwriSupport ? true, imagemagick
|
||||
}:
|
||||
|
||||
with lib;
|
||||
@ -27,14 +25,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
zimg libass
|
||||
(python3.withPackages (ps: with ps; [ sphinx cython ]))
|
||||
] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]
|
||||
++ optional ocrSupport tesseract
|
||||
++ optional imwriSupport imagemagick;
|
||||
|
||||
configureFlags = [
|
||||
(optionalString (!ocrSupport) "--disable-ocr")
|
||||
(optionalString (!imwriSupport) "--disable-imwri")
|
||||
];
|
||||
] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -54,6 +45,10 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/vspipe \
|
||||
--prefix PYTHONPATH : $out/${python3.sitePackages}
|
||||
|
||||
# VapourSynth does not include any plugins by default
|
||||
# and emits a warning when the system plugin directory does not exist.
|
||||
mkdir $out/lib/vapoursynth
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user