gnome.eog: fix build

This commit is contained in:
Jan Tojnar 2022-01-02 17:07:08 +01:00
parent 50dd556b4f
commit 7ad378b30d

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, gettext
@ -8,7 +9,7 @@
, libxml2
, libjpeg
, libpeas
, libportal
, libportal-gtk3
, gnome
, gtk3
, glib
@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-huG5ujnaz3QiavpFermDtBJTuJ9he/VBOcrQiS0C2Kk=";
};
patches = [
# Fix build with latest libportal
# https://gitlab.gnome.org/GNOME/eog/-/merge_requests/115
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/eog/-/commit/a06e6325907e136678b0bbe7058c25d688034afd.patch";
sha256 = "ttcsfHubfmIbxA51YLnxXDagLLNutXYmoQyMQ4sHRak=";
})
];
nativeBuildInputs = [
meson
ninja
@ -49,7 +59,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libjpeg
libportal
libportal-gtk3
gtk3
gdk-pixbuf
glib