Commit 44349dfb authored by Emily's avatar Emily
Browse files

libmatroska: backport patch for CMake 4



Co-authored-by: default avatarK900 <me@0upti.me>
parent aeb73914
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  libebml,
  nix-update-script,
@@ -27,6 +28,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-hfu3Q1lIyMlWFWUM2Pu70Hie0rlQmua7Kq8kSIWnfHE=";
  };

  patches = [
    (fetchpatch {
      name = "libmatroska-fix-cmake-4.patch";
      url = "https://github.com/Matroska-Org/libmatroska/commit/dc80e194e93e6f0e25c8ad3e015d83aca2a99e10.patch";
      hash = "sha256-2dKRJ6z5rOrLJ5agvXQ6k8TPi5rTMA3H1wCO2F5tBbc=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config