From 4363214bd7c13e7866f46a1b5ff98534b5be1226 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Tue, 25 Jun 2019 17:12:38 -0600 Subject: [PATCH] ffms: symlink vapoursynth plugin --- pkgs/development/libraries/ffms/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/ffms/default.nix b/pkgs/development/libraries/ffms/default.nix index 8a5a9705cb22..1ad861fc63d8 100644 --- a/pkgs/development/libraries/ffms/default.nix +++ b/pkgs/development/libraries/ffms/default.nix @@ -16,6 +16,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ zlib ffmpeg ]; + # ffms includes a built-in vapoursynth plugin, see: + # https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin + postInstall = '' + mkdir $out/lib/vapoursynth + ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so + ''; + meta = with stdenv.lib; { homepage = https://github.com/FFMS/ffms2/; description = "Libav/ffmpeg based source library for easy frame accurate access";