void-packages/srcpkgs/spice-vdagent/template

35 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.8.1
distfiles="http://www.spicespace.org/download/releases/$pkgname-$version.tar.bz2"
build_style=gnu-configure
short_desc="Spice agent for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=99ec232805a6201da78d409e6f874ff0aa6bb25e7ffe623aa77752539ae7d7ff
long_desc="
Features:
* Client mouse mode (no need to grab mouse by client, no mouse lag)
this is handled by the daemon by feeding mouse events into the kernel
via uinput. This will only work if the active X-session is running a
spice-vdagent process so that its resolution can be determined.
* Automatic adjustment of the X-session resolution to the client resolution
* Support of copy and paste (text and images) between the active X-session
and the client"
systemd_services="${pkgname}d.service on"
Add_dependency run dbus
Add_dependency run ConsoleKit-x11
Add_dependency full desktop-file-utils
Add_dependency build pkg-config
Add_dependency build dbus-devel
Add_dependency build libXfixes-devel
Add_dependency build libXrandr-devel
Add_dependency build spice-protocol
post_install() {
rm -rf ${DESTDIR}/etc/rc.d
vinstall ${FILESDIR}/${pkgname}d.service 644 lib/systemd/system
}