Unverified Commit 83cc1dbb authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

mpv: backport ffmpeg-8 support (#455495)

parents f90cde94 d8f1a7b5
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  config,
  docutils,
  fetchFromGitHub,
  fetchpatch,
  ffmpeg,
  freefont_ttf,
  freetype,
@@ -112,6 +113,16 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-x8cDczKIX4+KrvRxZ+72TGlEQHd4Kx7naq0CSoOZGHA=";
  };

  patches = [
    # ffmpeg-8 compat:
    #   https://github.com/mpv-player/mpv/pull/16145
    (fetchpatch {
      name = "ffmpeg-8.patch";
      url = "https://github.com/mpv-player/mpv/commit/26b29fba02a2782f68e2906f837d21201fc6f1b9.patch";
      hash = "sha256-ANNoTtIJBARHbm5IgrE0eEZyzmNhOnbVgve7iqCBzQg=";
    })
  ];

  postPatch = lib.concatStringsSep "\n" [
    # Don't reference compile time dependencies or create a build outputs cycle
    # between out and dev