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 { lib, stdenv
, fetchurl , fetchurl
, fetchpatch
, meson , meson
, ninja , ninja
, gettext , gettext
@ -8,7 +9,7 @@
, libxml2 , libxml2
, libjpeg , libjpeg
, libpeas , libpeas
, libportal , libportal-gtk3
, gnome , gnome
, gtk3 , gtk3
, glib , glib
@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-huG5ujnaz3QiavpFermDtBJTuJ9he/VBOcrQiS0C2Kk="; 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 = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -49,7 +59,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
libjpeg libjpeg
libportal libportal-gtk3
gtk3 gtk3
gdk-pixbuf gdk-pixbuf
glib glib