Skip to content

Commit

Permalink
app-emulation/spice-vdagent: remove consolekit support
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
  • Loading branch information
Zlogene authored and NeddySeagoon committed Oct 6, 2020
1 parent 3c23a1c commit 1038a1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions app-emulation/spice-vdagent/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 2 additions & 5 deletions app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -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 )
Expand Down
7 changes: 2 additions & 5 deletions app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -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 )
Expand Down

0 comments on commit 1038a1b

Please sign in to comment.