app-emulation/spice-vdagent: remove consolekit support

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2020-10-04 18:19:13 +03:00
parent 3f12943624
commit 3a5fc14368
3 changed files with 4 additions and 13 deletions

View File

@@ -5,7 +5,4 @@
<email>virtualization@gentoo.org</email>
<name>Gentoo Virtualization Project</name>
</maintainer>
<use>
<flag name="consolekit">Use <pkg>sys-auth/consolekit</pkg> to determine the master vdagentd in case of multiple running vdagentds (highly recommended)</flag>
</use>
</pkgmetadata>

View File

@@ -12,7 +12,7 @@ SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="consolekit gtk selinux systemd"
IUSE="gtk selinux systemd"
CDEPEND="
dev-libs/glib:2
@@ -24,7 +24,6 @@ CDEPEND="
x11-libs/libXrandr
x11-libs/libX11
x11-libs/libXinerama
consolekit? ( sys-auth/consolekit sys-apps/dbus )
gtk? ( x11-libs/gtk+:3 )
systemd? ( sys-apps/systemd )"
DEPEND="${CDEPEND}
@@ -38,9 +37,7 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is r
src_configure() {
local opt=()
if use consolekit; then
opt+=( --with-session-info=console-kit )
elif use systemd; then
if use systemd; then
opt+=( --with-session-info=systemd )
else
opt+=( --with-session-info=none )

View File

@@ -12,7 +12,7 @@ SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="consolekit gtk selinux systemd"
IUSE="gtk selinux systemd"
CDEPEND="
dev-libs/glib:2
@@ -24,7 +24,6 @@ CDEPEND="
x11-libs/libXrandr
x11-libs/libX11
x11-libs/libXinerama
consolekit? ( sys-auth/consolekit sys-apps/dbus )
gtk? ( x11-libs/gtk+:3 )
systemd? ( sys-apps/systemd )"
DEPEND="${CDEPEND}
@@ -38,9 +37,7 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is r
src_configure() {
local opt=()
if use consolekit; then
opt+=( --with-session-info=console-kit )
elif use systemd; then
if use systemd; then
opt+=( --with-session-info=systemd )
else
opt+=( --with-session-info=none )