gnome.gnome-screenshot: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-30 16:54:57 +08:00
parent dbc55b6667
commit 68824fbc89
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -4,6 +4,7 @@
, libxml2
, libhandy
, fetchurl
, fetchpatch
, pkg-config
, libcanberra-gtk3
, gtk3
@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
sha256 = "Stt97JJkKPdCY9V5ZnPPFC5HILbnaPVGio0JM/mMlZc=";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/186
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-screenshot/-/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f.patch";
sha256 = "Js83h/3xxcw2hsgjzGa5lAYFXVrt6MPhXOTh5dZTx/w=";
})
];
nativeBuildInputs = [
meson
ninja