Unverified Commit ecb11e3c authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

lomiri.suru-icon-theme: 2024.10.13 -> 2025.05.0 (#405473)

parents 11c62fd8 3387c90d
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -10,15 +10,25 @@

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "suru-icon-theme";
  version = "2024.10.13";
  version = "2025.05.0";

  src = fetchFromGitLab {
    owner = "ubports";
    repo = "development/core/suru-icon-theme";
    rev = finalAttrs.version;
    hash = "sha256-rbhfcjca0vMBa0tJWGpXMRGGygZH1hmdQv/nLJWPS7s=";
    hash = "sha256-6MyZTRcfCpiCXzwrwNiBP6J4L4oFbFtoymhke13tLy0=";
  };

  # Commit 79763fa4ff701d1d89d7362c37c65b2a3cbdf543 introduced abunch of symlinks for Lomiri apps' icons to files from this theme.
  # This seems to have broken Lomiri, as it now gets stuck during startup (presumably?) trying to resolve the icons of these apps in the sidebar.
  # Can't apply a revert of the commit because patch refuses to touch symlinks.
  postPatch = ''
    for app in dekko2 lomiri-{addressbook,calculator,calendar,camera,clock,dialer,docviewer,gallery,mediaplayer,messaging,music,notes,terminal,weather}-app lomiri-system-settings lomiri-online-accounts-{facebook,flickr,google,owncloud,twitter,ubuntuones,yahoo}; do
      find suru/apps -name "$app".png -exec rm -v {} \;
      find suru/apps -name "$app"-symbolic.svg -exec rm -v {} \;
    done
  '';

  strictDeps = true;

  nativeBuildInputs = [