mlv-app: add missing ffmpeg dep

This commit is contained in:
awwpotato
2025-04-25 14:49:54 -07:00
parent d9264f796b
commit 8c62924fc6
+6
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 = ''