pantheon.elementary-photos: fix build

This commit is contained in:
worldofpeace 2019-03-16 17:33:52 -04:00 committed by Jan Tojnar
parent b3143f1755
commit e0bdf84eaf
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -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