From 0bb32c6f2dd9b6faf2b596b77f9fb3402ce95291 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 15 Oct 2019 11:20:02 -0500 Subject: [PATCH] app-emulation/spice-vdagent: fix automagic dependency Closes: https://bugs.gentoo.org/691028 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Matthias Maier --- ...e-vdagent-0.19.0.ebuild => spice-vdagent-0.19.0-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename app-emulation/spice-vdagent/{spice-vdagent-0.19.0.ebuild => spice-vdagent-0.19.0-r1.ebuild} (94%) diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild similarity index 94% rename from app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild rename to app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild index 3948123638e4..de4e147bf833 100644 --- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild +++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="consolekit selinux systemd" +IUSE="consolekit gtk selinux systemd" S="${WORKDIR}/${MY_P}" CDEPEND=" @@ -28,6 +28,7 @@ CDEPEND=" x11-libs/libX11 x11-libs/libXinerama consolekit? ( sys-auth/consolekit sys-apps/dbus ) + gtk? ( x11-libs/gtk+:3 ) systemd? ( sys-apps/systemd )" DEPEND="${CDEPEND} virtual/pkgconfig" @@ -56,6 +57,7 @@ src_configure() { econf \ --with-init-script=systemd \ --localstatedir="${EPREFIX}"/var \ + $(use_with gtk) \ "${opt[@]}" } -- 2.26.2