diff options
author | js6pak <kubastaron@hotmail.com> | 2022-12-11 21:46:38 +0100 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-12-25 11:10:32 +0100 |
commit | e7d1021ed9c4273a28fc6bb5320896c6d71fe832 (patch) | |
tree | 377d9f1c35be4fde30627e41ea378af5a3ba0fa5 /pkgs/development/libraries/jellyfin-ffmpeg | |
parent | 526e0163736e055d985c4ded5598a5061c8c7b2b (diff) |
jellyfin-ffmpeg: enable chromaprint
Diffstat (limited to 'pkgs/development/libraries/jellyfin-ffmpeg')
-rw-r--r-- | pkgs/development/libraries/jellyfin-ffmpeg/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix index 04372e647e909..b568d903def37 100644 --- a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix +++ b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix @@ -1,5 +1,6 @@ { ffmpeg_5-full , nv-codec-headers-11 +, chromaprint , fetchFromGitHub , lib }: @@ -17,8 +18,12 @@ sha256 = "sha256-2mSixlrTgAVD2ZRGoi1+UEbhba7QEVvKmigwC9dLk2g="; }; + buildInputs = old.buildInputs ++ [ chromaprint ]; + configureFlags = old.configureFlags ++ [ + "--extra-version=Jellyfin" "--disable-ptx-compression" # https://github.com/jellyfin/jellyfin/issues/7944#issuecomment-1156880067 + "--enable-chromaprint" ]; postPatch = '' |