gnome3.gnome-documents: fix runtime
libgdprivate needs access to libgd in RPATH https://gitlab.gnome.org/GNOME/gnome-documents/issues/5
This commit is contained in:
parent
b26207d359
commit
5f50db875f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, meson, ninja, gettext, fetchurl, evince, gjs
|
{ stdenv, meson, ninja, gettext, fetchurl, fetchpatch, evince, gjs
|
||||||
, pkgconfig, gtk3, glib, tracker, tracker-miners
|
, pkgconfig, gtk3, glib, tracker, tracker-miners
|
||||||
, itstool, libxslt, webkitgtk, libgdata
|
, itstool, libxslt, webkitgtk, libgdata
|
||||||
, gnome-desktop, libzapojit, libgepub
|
, gnome-desktop, libzapojit, libgepub
|
||||||
@ -31,6 +31,14 @@ stdenv.mkDerivation rec {
|
|||||||
gnome-desktop libzapojit libgepub
|
gnome-desktop libzapojit libgepub
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix RPATH to libgd
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/gnome-documents/commit/d18a92e0a940073ac766f609937539e4fc6cdbb7.patch";
|
||||||
|
sha256 = "0s3mk8vrl1gzk93yvgqbnz44i27qw1d9yvvmnck3fv23phrxkzk9";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user