Commit 93a00140 authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

ladybird: 0-unstable-2024-11-21 -> 0-unstable-2024-12-23

parent 83c2a905
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
, libpulseaudio
, libwebp
, libxcrypt
, openssl
, python3
, qt6Packages
, woff2
@@ -47,13 +48,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "ladybird";
  version = "0-unstable-2024-11-21";
  version = "0-unstable-2024-12-23";

  src = fetchFromGitHub {
    owner = "LadybirdWebBrowser";
    repo = "ladybird";
    rev = "6dc61f895db424e1ab245a7d4d219c6054a31ce3";
    hash = "sha256-lEE2cfnQMSBi7+d34dbiuE5lwiGOzW1384/ohC+cf7I=";
    rev = "d5bbf8dcf803c429afab76610dfba3b1ee23f0ae";
    hash = "sha256-Kew/MFFCq6sTXt8jfXC78kpQNHAjX8cQyLWO3+MeikU=";
  };

  postPatch = ''
@@ -110,10 +111,18 @@ stdenv.mkDerivation (finalAttrs: {
    libjxl
    libwebp
    libxcrypt
    openssl
    qtbase
    qtmultimedia
    simdutf
    skia
    (skia.overrideAttrs (prev: {
      gnFlags = prev.gnFlags ++ [
        # https://github.com/LadybirdBrowser/ladybird/commit/af3d46dc06829dad65309306be5ea6fbc6a587ec
        # https://github.com/LadybirdBrowser/ladybird/commit/4d7b7178f9d50fff97101ea18277ebc9b60e2c7c
        # Remove when/if this gets upstreamed in skia.
        "extra_cflags+=[\"-DSKCMS_API=__attribute__((visibility(\\\"default\\\")))\"]"
      ];
    }))
    woff2
  ] ++ lib.optional stdenv.hostPlatform.isLinux [
    libpulseaudio.dev