3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: spice-vdagent: Set Exec path in spice-vdagent.desktop.

* gnu/packages/spice.scm (spice-vdagent): Set Exec path in
spice-vdagent.desktop.
This commit is contained in:
David Craven 2016-07-30 10:47:35 +02:00
parent 38b9ce44db
commit e02cd2b8fe
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

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