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

Contents of /app-emulation/spice-vdagent/spice-vdagent-0.8.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Nov 2 08:03:31 2014 UTC (4 years, 11 months ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +6 -5 lines
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug #527698)

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)

1 # Copyright 1999-2014 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.1-r1.ebuild,v 1.5 2014/08/06 06:44:37 patrick 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 selinux"
17
18 CDEPEND="x11-libs/libXfixes
19 x11-libs/libXrandr
20 x11-libs/libX11
21 >=app-emulation/spice-protocol-0.8.1
22 consolekit? ( sys-auth/consolekit sys-apps/dbus )"
23 DEPEND="virtual/pkgconfig
24 ${CDEPEND}"
25 RDEPEND="${CDEPEND}
26 selinux? ( sec-policy/selinux-vdagent )"
27
28 CONFIG_CHECK="~INPUT_UINPUT"
29 ERROR_INPUT_UINPUT="User level driver support is required to run the spice-vdagent daemon"
30
31 src_configure() {
32 econf \
33 --localstatedir=/var \
34 $(use_enable consolekit console-kit)
35 }
36
37 src_install() {
38 default
39
40 rm -rf "${D}"/etc/{rc,tmpfiles}.d
41
42 keepdir /var/run/spice-vdagentd
43 keepdir /var/log/spice-vdagentd
44
45 newinitd "${FILESDIR}/${PN}.initd" "${PN}"
46 newconfd "${FILESDIR}/${PN}.confd" "${PN}"
47 }
48
49 pkg_postinst() {
50 elog "Make sure that the User level driver support kernel module 'uinput' is loaded"
51 elog "if built as a module before starting the vdagent daemon."
52 }

  ViewVC Help
Powered by ViewVC 1.1.20