forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/spice-vdagent: bump to 0.17.0
Package-Manager: portage-2.2.28
- Loading branch information
Showing
4 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97 WHIRLPOOL b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71 | ||
DIST spice-vdagent-0.17.0.tar.bz2 130413 SHA256 f14a8bd8cdee10641aabd9ba32461a5844eab0fddb2a10c1d31386e7a9f7b33d SHA512 b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e WHIRLPOOL b83d034897c0a9ebc224072214081847ab0276edde82ad0d94d107421971fe64afc03ba3f7464735911fd57cf7a05b0cfcb0ecbb32eb4d55adc8abcf23fe8d09 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright 1999-2016 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+=" --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-3" "${PN}" | ||
newconfd "${FILESDIR}/${PN}.confd-2" "${PN}" | ||
} |