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

Merge pull request #247322 from bobby285271/upd/cinnamon

cinnamon.xreader: Backport meson 1.2 fix
parents 3c76f4df dfde395b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, glib
, gobject-introspection
, intltool
@@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-2zqlfoN4L+V237cQ3PVh49YaZfNKGiLqh2JIiGJE340=";
  };

  patches = [
    # Fix build with meson 1.2, can be dropped on next bump
    # https://github.com/linuxmint/xreader/issues/612
    (fetchpatch {
      url = "https://github.com/linuxmint/xreader/commit/06b18a884c8cf3257ea1f053a82784da078999ed.patch";
      sha256 = "sha256-+LXEW3OkfhkIcbxtvfQYjdaC18O8imOx22t91ad/XZw=";
    })
  ];

  nativeBuildInputs = [
    shared-mime-info
    wrapGAppsHook