void-packages/srcpkgs/spice-vdagent/template

36 lines
1.2 KiB
Text

# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.8.1
revision=4
build_style=gnu-configure
makedepends="pkg-config dbus-devel libXfixes-devel libXrandr-devel
spice-protocol desktop-file-utils"
short_desc="Spice agent for Linux"
homepage="http://spice-space.org/"
license="GPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.spicespace.org/download/releases/$pkgname-$version.tar.bz2"
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"
post_install() {
rm -rf ${DESTDIR}/etc/rc.d
vinstall ${FILESDIR}/${pkgname}d.service 644 usr/lib/systemd/system
}
spice-vdagent_package() {
systemd_services="spice-vdagentd.service on"
depends="dbus"
pkg_install() {
vmove etc
vmove usr
}
}