mlv-app: add missing ffmpeg dep

This commit is contained in:
awwpotato 2025-04-24 08:51:06 -07:00
parent d9264f796b
commit 8c62924fc6
No known key found for this signature in database

View file

@ -5,6 +5,7 @@
fetchpatch,
libsForQt5,
writableTmpDirAsHomeHook,
ffmpeg-headless,
}:
stdenv.mkDerivation (finalAttrs: {
@ -25,6 +26,11 @@ stdenv.mkDerivation (finalAttrs: {
})
];
postPatch = ''
substituteInPlace platform/qt/MainWindow.cpp \
--replace-fail '"ffmpeg"' '"${lib.getExe ffmpeg-headless}"'
'';
qmakeFlags = [ "MLVApp.pro" ];
preConfigure = ''