Unverified Commit f8b0b02d authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

webkitgtk_6_0: 2.52.0 → 2.52.1 (#504373)

parents 1b6f44b6 d25b4a79
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ in
# https://webkitgtk.org/2024/10/04/webkitgtk-2.46.html recommends building with clang.
clangStdenv.mkDerivation (finalAttrs: {
  pname = "webkitgtk";
  version = "2.52.0";
  version = "2.52.1";
  name = "webkitgtk-${finalAttrs.version}+abi=${abiVersion}";

  outputs = [
@@ -99,7 +99,7 @@ clangStdenv.mkDerivation (finalAttrs: {

  src = fetchurl {
    url = "https://webkitgtk.org/releases/webkitgtk-${finalAttrs.version}.tar.xz";
    hash = "sha256-sxxV8YGUrIO6CMm5O77/71en7P9/Qch00XqeeFPcoZ8=";
    hash = "sha256-I459UyBbFABK3X7rQpPJTW+/cJez7+987lUZ5cEhqQQ=";
  };

  patches = lib.optionals clangStdenv.hostPlatform.isLinux [
@@ -116,6 +116,14 @@ clangStdenv.mkDerivation (finalAttrs: {
      hash = "sha256-MgaSpXq9l6KCLQdQyel6bQFHG53l3GY277WePpYXdjA=";
      name = "fix_ftbfs_riscv64.patch";
    })

    # Fix webkitgtk_4_1 build
    # WebKitDOMDOMWindow.cpp:1085:10: error: variable has incomplete type 'void'
    # https://bugs.webkit.org/show_bug.cgi?id=310915
    (fetchpatch {
      url = "https://github.com/WebKit/WebKit/commit/40c315ca7b3ad6ae5c98d72a6927b3a75b43cb46.patch";
      hash = "sha256-xGPi5p2XhDxpd4NtZMrd1JbHvV2fey6V3eH0fgy6ifY=";
    })
  ];

  nativeBuildInputs = [