~ruther/guix-local

e02cd2b8fe9de08a9f33d643792ee24734ff1d6e — David Craven 9 years ago 38b9ce4
gnu: spice-vdagent: Set Exec path in spice-vdagent.desktop.

* gnu/packages/spice.scm (spice-vdagent): Set Exec path in
spice-vdagent.desktop.
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/spice.scm
M gnu/packages/spice.scm => gnu/packages/spice.scm +7 -0
@@ 234,6 234,13 @@ Internet and from a wide variety of machine architectures.")
               (((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)"
                                "\\$\\(localstatedir\\)/run/spice-vdagentd"))
                 "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))
             #t))
         (add-after 'unpack 'patch-spice-vdagent.desktop
           (lambda* (#:key outputs #:allow-other-keys)
            (substitute* "data/spice-vdagent.desktop"
              (("Exec=/usr/bin/spice-vdagent\n")
               (string-append "Exec=" (assoc-ref outputs "out")
                              "/bin/spice-vdagent")))
             #t)))))
    (inputs
      `(("alsa-lib" ,alsa-lib)