pantheon.elementary-photos: fix build

wip/yesman
worldofpeace 5 years ago committed by Jan Tojnar
parent b3143f1755
commit e0bdf84eaf
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 10
      pkgs/desktops/pantheon/apps/elementary-photos/default.nix

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, desktop-file-utils
, gtk3, glib, libaccounts-glib, libexif, libgee, geocode-glib, gexiv2,libgphoto2
, gtk3, glib, libaccounts-glib, libexif, libgee, geocode-glib, gexiv2,libgphoto2, fetchpatch
, granite, gst_all_1, libgudev, json-glib, libraw, librest, libsoup, sqlite, python3
, scour, webkitgtk, libwebp, appstream, libunity, wrapGAppsHook, gobject-introspection, elementary-icon-theme }:
@ -66,6 +66,14 @@ stdenv.mkDerivation rec {
"-Dplugins=false"
];
patches = [
# Fix build against gexiv2 0.12
(fetchpatch {
url = "https://github.com/elementary/photos/commit/86df00ced674abb2ee430ea24422079cfabb314c.patch";
sha256 = "0836fzja93w36jf7ldqypsmnqn46mwsl93q41m104zn8qm0wrkmy";
})
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py

Loading…
Cancel
Save