2021-10-31 03:15:16 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, callPackage
|
|
|
|
, ffmpeg-base ? callPackage ./base.nix { }
|
|
|
|
, ffmpeg-avutil
|
|
|
|
, ffmpeg-avcodec
|
|
|
|
, ffmpeg-avfilter
|
|
|
|
, ffmpeg-swscale
|
|
|
|
, ffmpeg-swresample
|
|
|
|
, ffmpeg-av
|
|
|
|
, ffmpeg-avdevice
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "ffmpeg";
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
2023-02-28 14:05:58 +00:00
|
|
|
inherit (ffmpeg-base) version src duneVersion;
|
2021-10-31 03:15:16 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ffmpeg-avutil
|
|
|
|
ffmpeg-avcodec
|
|
|
|
ffmpeg-avfilter
|
|
|
|
ffmpeg-swscale
|
|
|
|
ffmpeg-swresample
|
|
|
|
ffmpeg-av
|
|
|
|
ffmpeg-avdevice
|
|
|
|
];
|
|
|
|
|
|
|
|
# The tests fail
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = ffmpeg-base.meta // {
|
|
|
|
description = "Bindings for the ffmpeg libraries";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|