summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-07-24 19:52:29 +0200
committerLeo Famulari <leo@famulari.name>2016-07-28 17:08:42 -0400
commit33b0f4a4b2fb4eea8a3edb59e272e338bd1bf261 (patch)
tree5eca5318004f62d3cea1b5d54cb90ba533728289
parent3cbd37e4408ea9c827a62c43946cda7b486a32f1 (diff)
gnu: Add spice-vdagent.
* gnu/packages/spice.scm (spice-vdagent): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/spice.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 2976f887639..581c2cd9e01 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -209,3 +209,47 @@ not only on the machine where it is running, but from anywhere on the
209Internet and from a wide variety of machine architectures.") 209Internet and from a wide variety of machine architectures.")
210 (home-page "http://www.spice-space.org") 210 (home-page "http://www.spice-space.org")
211 (license (list license:lgpl2.1+ license:lgpl2.0+)))) 211 (license (list license:lgpl2.1+ license:lgpl2.0+))))
212
213(define-public spice-vdagent
214 (package
215 (name "spice-vdagent")
216 (version "0.17.0")
217 (source (origin
218 (method url-fetch)
219 (uri (string-append
220 "http://www.spice-space.org/download/releases/"
221 "spice-vdagent-" version ".tar.bz2"))
222 (sha256
223 (base32
224 "0gdkyylyg1hksg0i0anvznqfli2q39335fnrmcd6847frpc8njpi"))))
225 (build-system gnu-build-system)
226 (arguments
227 `(#:configure-flags
228 '("--localstatedir=/var")
229 #:phases
230 (modify-phases %standard-phases
231 (add-after 'unpack 'patch-makefile.in
232 (lambda _
233 (substitute* "Makefile.in"
234 (((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)"
235 "\\$\\(localstatedir\\)/run/spice-vdagentd"))
236 "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))
237 #t)))))
238 (inputs
239 `(("alsa-lib" ,alsa-lib)
240 ("dbus" ,dbus)
241 ("glib" ,glib)
242 ("libpciaccess" ,libpciaccess)
243 ("libx11" ,libx11)
244 ("libxext" ,libxext)
245 ("libxfixes" ,libxfixes)
246 ("libxinerama" ,libxinerama)
247 ("libxrandr" ,libxrandr)
248 ("spice-protocol" ,spice-protocol)))
249 (native-inputs
250 `(("pkg-config" ,pkg-config)))
251 (synopsis "Spice agent for Linux")
252 (description "Spice-vdagent enables sharing the clipboard and guest display
253resolution scaling on graphical console window resize.")
254 (home-page "http://www.spice-space.org")
255 (license license:gpl3+)))