From a2d5f9f60d0f440e5d5ce1a1cc81743b27d6cede Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Mon, 11 May 2020 13:30:44 +0200 Subject: gnu: gnome-maps: Patch DBUS service. * gnu/packages/geo.scm (gnome-maps): [arguments]<#:phases>: Add patch-dbus-service. --- gnu/packages/geo.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b8daf323e9..f7f18cf79f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -227,6 +227,12 @@ topology functions.") (substitute* "meson_post_install.py" (("gtk-update-icon-cache") "true")) #t)) + (add-after 'unpack 'patch-dbus-service + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "data/org.gnome.Maps.service.in" + (("@pkgdatadir@/org.gnome.Maps") + (string-append (assoc-ref outputs "out") "/bin/gnome-maps"))) + #t)) (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) -- cgit v1.2.3