Unverified Commit 19f2603c authored by Nick Cao's avatar Nick Cao
Browse files

mediaelch: add patch to fix build with qt 6.5

parent d0565d40
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch

, cmake
, qttools
@@ -33,6 +34,15 @@ stdenv.mkDerivation rec {
    fetchSubmodules = true;
  };

  patches = [
    # https://github.com/Komet/MediaElch/issues/1557
    # build: Fix build issue with Qt 6.5 on macOS (also other platforms)
    (fetchpatch {
      url = "https://github.com/Komet/MediaElch/commit/872b21decf95d70073400bedbe1ad183a8267791.patch";
      hash = "sha256-D1Ui5xg5cpvNX4IHfXQ7wN9I7Y3SuPFOWxWidcAlLEA=";
    })
  ];

  nativeBuildInputs = [
    cmake
    qttools