diff options
author | Matthias Maier <tamiko@gentoo.org> | 2015-08-14 00:17:55 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2015-08-14 00:24:28 -0500 |
commit | 53097b83636c12033e2eebd7260a8204bda84889 (patch) | |
tree | d397914562311982c29e1d6b5839f4f811268248 /app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild | |
parent | app-emulation/spice-protocol: remove old versions 0.12.{5,6,7} (diff) | |
download | gentoo-53097b83636c12033e2eebd7260a8204bda84889.tar.gz gentoo-53097b83636c12033e2eebd7260a8204bda84889.tar.bz2 gentoo-53097b83636c12033e2eebd7260a8204bda84889.zip |
app-emulation/spice-vdagent: version bump to 0.16.0 (bug #554320)
This version bump also addresses
- update dependency on app-emulation/spice-protocol
- install systemd unit files
- support for systemd session-info support via systemd use flag, bug #485334
- remove keepdir /var/run, bug #453042
Gentoo-Bug: 453042
Gentoo-Bug: 485334
Gentoo-Bug: 554320
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild')
-rw-r--r-- | app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild new file mode 100644 index 000000000000..b652156b6e76 --- /dev/null +++ b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-info + +DESCRIPTION="SPICE VD Linux Guest Agent" +HOMEPAGE="http://spice-space.org/" +SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+consolekit selinux systemd" + +CDEPEND="media-libs/alsa-lib + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libX11 + x11-libs/libXinerama + >=x11-libs/libpciaccess-0.10 + >=app-emulation/spice-protocol-0.12.8 + consolekit? ( sys-auth/consolekit sys-apps/dbus ) + systemd? ( sys-apps/systemd )" +DEPEND="virtual/pkgconfig + ${CDEPEND}" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-vdagent )" + +CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE" +ERROR_INPUT_UINPUT="User level input support is required" +ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required" + +src_configure() { + local opt="--with-session-info=none --with-init-script=systemd" + + use systemd && opt="--with-session-info=systemd" + use consolekit && opt="${opt} --with-session-info=console-kit" + + econf \ + --localstatedir=/var \ + ${opt} +} + +src_install() { + default + + rm -rf "${D}"/etc/{rc,tmpfiles}.d + + keepdir /var/log/spice-vdagentd + + newinitd "${FILESDIR}/${PN}.initd-2" "${PN}" + newconfd "${FILESDIR}/${PN}.confd-2" "${PN}" +} |