nextcloud: add ffmpeg to recognize for recognizing video and audio

This commit is contained in:
Beardhatcode
2024-11-23 21:23:55 +01:00
parent e8e69b17b6
commit 526e09ab56
@@ -5,6 +5,7 @@
nodejs,
python311,
util-linux,
ffmpeg,
...
}:
stdenv.mkDerivation rec {
@@ -58,6 +59,8 @@ stdenv.mkDerivation rec {
# Skip trying to install it... (less warnings in the log)
sed -i '/public function run/areturn ; //skip' recognize/lib/Migration/InstallDeps.php
ln -s ${ffmpeg}/bin/ffmpeg recognize/node_modules/ffmpeg-static/ffmpeg
'';
buildInputs = [