mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
gnome.eog: fix build
This commit is contained in:
parent
50dd556b4f
commit
7ad378b30d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user