diff --git a/srcpkgs/spice-vdagent/files/spice-vdagentd.service b/srcpkgs/spice-vdagent/files/spice-vdagentd.service deleted file mode 100644 index 550a2fd6e2..0000000000 --- a/srcpkgs/spice-vdagent/files/spice-vdagentd.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Agent Daemon for Spice Guests - -[Service] -ExecStartPre=/bin/modprobe uinput -ExecStartPre=-rm -f /var/run/spice-vdagentd/spice-vdagent-sock -ExecStart=/usr/sbin/spice-vdagentd - -[Install] -WantedBy=multi-user.target diff --git a/srcpkgs/spice-vdagent/template b/srcpkgs/spice-vdagent/template index a181dafd24..c83e1f69ac 100644 --- a/srcpkgs/spice-vdagent/template +++ b/srcpkgs/spice-vdagent/template @@ -1,36 +1,37 @@ # Template file for 'spice-vdagent' pkgname=spice-vdagent -version=0.8.1 -revision=4 +version=0.14.0 +revision=1 build_style=gnu-configure -makedepends="pkg-config dbus-devel libXfixes-devel libXrandr-devel - spice-protocol desktop-file-utils" +configure_args="--with-init-script=systemd" +hostmakedepends="pkg-config" +makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel + libXinerama-devel libpciaccess-devel spice-protocol>=0.12.6 systemd-devel + desktop-file-utils" short_desc="Spice agent for Linux" homepage="http://spice-space.org/" license="GPL-3" maintainer="Juan RP " distfiles="http://www.spicespace.org/download/releases/$pkgname-$version.tar.bz2" -checksum=99ec232805a6201da78d409e6f874ff0aa6bb25e7ffe623aa77752539ae7d7ff +checksum=bbaf007615002e4636c5faa6fe6912527f2cfb518aecc9e1f903bc8b0f00767c 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" + 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 + rm -rf ${DESTDIR}/var } spice-vdagent_package() { systemd_services="spice-vdagentd.service on" depends="dbus" pkg_install() { - vmove etc - vmove usr + vmove all } }