mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +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,
|
fetchpatch,
|
||||||
libsForQt5,
|
libsForQt5,
|
||||||
writableTmpDirAsHomeHook,
|
writableTmpDirAsHomeHook,
|
||||||
|
ffmpeg-headless,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
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" ];
|
qmakeFlags = [ "MLVApp.pro" ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue