diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-09-01 13:46:54 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-09-02 06:47:04 +1000 |
commit | 55f8c48b10ebdbe6376c6fcc4c9af67d028db392 (patch) | |
tree | b74bd7a8447b79f14bad58fbc2c1124946e62784 /pkgs/development/libraries/jellyfin-ffmpeg | |
parent | 1a0bcbcb08b9f7614ad2644a166493eb6e35c3eb (diff) |
jellyfin-ffmpeg: fix build
Diffstat (limited to 'pkgs/development/libraries/jellyfin-ffmpeg')
-rw-r--r-- | pkgs/development/libraries/jellyfin-ffmpeg/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix index b29cf2296c0d6..bb95fa5606fb9 100644 --- a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix +++ b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix @@ -2,6 +2,7 @@ , nv-codec-headers-11 , fetchFromGitHub , lib +, fetchpatch }: (ffmpeg_5-full.override { @@ -21,6 +22,15 @@ "--disable-ptx-compression" # https://github.com/jellyfin/jellyfin/issues/7944#issuecomment-1156880067 ]; + patches = old.patches ++ [ + # fixed in upstream ffmpeg 5.1.1 https://trac.ffmpeg.org/ticket/9841 + (fetchpatch { + name = "rename-imf-fate-target.patch"; + url = "https://github.com/FFmpeg/FFmpeg/commit/80d1b8938eb227f0e9efde91050836b1e9a051a9.patch"; + sha256 = "sha256-weUbLKSQ9iRYSQ3hgXcVpo8jfKajpXK21qD1GrZYHYQ="; + }) + ]; + postPatch = '' for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file |