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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (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.3: +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.12.0.ebuild,v 1.3 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 ~x86"
16 IUSE="+consolekit selinux"
17
18 CDEPEND="x11-libs/libXfixes
19 x11-libs/libXrandr
20 x11-libs/libX11
21 x11-libs/libXinerama
22 >=x11-libs/libpciaccess-0.10
23 >=app-emulation/spice-protocol-0.10.1
24 consolekit? ( sys-auth/consolekit sys-apps/dbus )"
25 DEPEND="virtual/pkgconfig
26 ${CDEPEND}"
27 RDEPEND="${CDEPEND}
28 selinux? ( sec-policy/selinux-vdagent )"
29
30 CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
31 ERROR_INPUT_UINPUT="User level input support is required"
32 ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
33
34 src_configure() {
35 local opt=
36
37 use consolekit && opt="${opt} --with-session-info=console-kit"
38
39 econf \
40 --localstatedir=/var \
41 ${opt}
42 }
43
44 src_install() {
45 default
46
47 rm -rf "${D}"/etc/{rc,tmpfiles}.d
48
49 keepdir /var/run/spice-vdagentd
50 keepdir /var/log/spice-vdagentd
51
52 newinitd "${FILESDIR}/${PN}.initd-2" "${PN}"
53 newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20