mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
mlv-app: add missing ffmpeg dep
This commit is contained in:
parent
d9264f796b
commit
8c62924fc6
1 changed files with 6 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue