/[gentoo-x86]/app-emulation/spice-vdagent/spice-vdagent-0.8.0.ebuild
Gentoo

Contents of /app-emulation/spice-vdagent/spice-vdagent-0.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jul 8 03:20:31 2012 UTC (7 years, 3 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump. Check for CONFIG_VIRTIO_CONSOLE since its necessary. Check if we should use /dev/uinput or /dev/input/uinput on startup. bug #378833

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/spice-vdagent-0.8.0.ebuild,v 1.3 2012/05/03 18:49:05 jdhore Exp $
4
5 EAPI=4
6
7 inherit linux-info
8
9 DESCRIPTION="SPICE VD Linux Guest Agent."
10 HOMEPAGE="http://spice-space.org/"
11 SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="+consolekit"
17
18 RDEPEND="x11-libs/libXfixes
19 x11-libs/libXrandr
20 x11-libs/libX11
21 >=app-emulation/spice-protocol-0.8.0
22 consolekit? ( sys-auth/consolekit sys-apps/dbus )"
23 DEPEND="virtual/pkgconfig
24 ${RDEPEND}"
25
26 CONFIG_CHECK="~INPUT_UINPUT"
27 ERROR_INPUT_UINPUT="User level driver support is required to run the spice-vdagent daemon"
28
29 src_configure() {
30 econf \
31 --localstatedir=/var \
32 $(use_enable consolekit console-kit)
33 }
34
35 src_install() {
36 default
37
38 rm -rf "${D}"/etc/{rc,tmpfiles}.d
39
40 keepdir /var/run/spice-vdagentd
41 keepdir /var/log/spice-vdagentd
42
43 newinitd "${FILESDIR}/${PN}.initd" "${PN}"
44 newconfd "${FILESDIR}/${PN}.confd" "${PN}"
45 }
46
47 pkg_postinst() {
48 elog "Make sure that the User level driver support kernel module 'uinput' is loaded"
49 elog "if built as a module before starting the vdagent daemon."
50 }

  ViewVC Help
Powered by ViewVC 1.1.20