diff --git a/pkgs/by-name/ml/mlt/package.nix b/pkgs/by-name/ml/mlt/package.nix index 85216c588e67..4d07ef764a36 100644 --- a/pkgs/by-name/ml/mlt/package.nix +++ b/pkgs/by-name/ml/mlt/package.nix @@ -1,4 +1,5 @@ { + alsa-lib, config, lib, stdenv, @@ -8,16 +9,23 @@ which, ffmpeg, fftw, + fontconfig, frei0r, libdv, + libebur128, + libexif, libjack2, libsamplerate, + libspatialaudio, libvorbis, libxml2, libx11, + lilv, makeWrapper, movit, opencv4, + pango, + rnnoise, rtaudio, rubberband, sox, @@ -44,13 +52,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "mlt"; - version = "7.38.0"; + version = "7.40.0"; src = fetchFromGitHub { owner = "mltframework"; repo = "mlt"; tag = "v${finalAttrs.version}"; - hash = "sha256-tZWkgDffNZwJgfrFQNKfS+QzpcjaM0SEBbyxrVBqubc="; + hash = "sha256-rw1jnQJzbtpGsIe/AFMiy7k/3X0vkfkY3rG4E419aVM="; # The submodule contains glaxnimate code, since MLT uses internally some functions defined in glaxnimate. # Since glaxnimate is not available as a library upstream, we cannot remove for now this dependency on # submodules until upstream exports glaxnimate as a library: https://gitlab.com/mattbas/glaxnimate/-/issues/545 @@ -77,18 +85,28 @@ stdenv.mkDerivation (finalAttrs: { (opencv4.override { ffmpeg-headless = ffmpeg; }) ffmpeg fftw + fontconfig frei0r libdv + libebur128 + libexif libjack2 libsamplerate + libspatialaudio libvorbis libxml2 + lilv movit + pango + rnnoise rtaudio rubberband sox vid-stab ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + alsa-lib + ] ++ lib.optionals cudaSupport [ cudaPackages.cuda_cudart ] @@ -134,7 +152,7 @@ stdenv.mkDerivation (finalAttrs: { postFixup = '' substituteInPlace "$dev"/lib/pkgconfig/mlt-framework-7.pc \ - --replace '=''${prefix}//' '=/' + --replace-fail '=''${prefix}//' '=/' ''; passthru = {