nextcloud: add ffmpeg to recognize for recognizing video and audio
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user