From: James Le Cuirot Date: Sat, 21 Sep 2019 21:50:12 +0000 (+0100) Subject: app-emulation/virt-viewer: Add libvirt USE flag as deps are optional X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=677da63a0a4f9998491918a8215093a5a86c3714;p=gentoo.git app-emulation/virt-viewer: Add libvirt USE flag as deps are optional Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: James Le Cuirot Signed-off-by: Matthias Maier --- diff --git a/app-emulation/virt-viewer/metadata.xml b/app-emulation/virt-viewer/metadata.xml index 62904a2c9586..3311e82897cd 100644 --- a/app-emulation/virt-viewer/metadata.xml +++ b/app-emulation/virt-viewer/metadata.xml @@ -6,6 +6,8 @@ Gentoo Virtualization Project + Support connecting to virtual machines + managed by libvirt. Support connecting to SPICE-enabled virtual machines. Support connecting to VNC-enabled virtual diff --git a/app-emulation/virt-viewer/virt-viewer-8.0.ebuild b/app-emulation/virt-viewer/virt-viewer-8.0.ebuild index bff9034cfbdb..c6301491049d 100644 --- a/app-emulation/virt-viewer/virt-viewer-8.0.ebuild +++ b/app-emulation/virt-viewer/virt-viewer-8.0.ebuild @@ -11,12 +11,14 @@ SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="sasl +spice +vnc" +IUSE="+libvirt sasl +spice +vnc" -RDEPEND=">=app-emulation/libvirt-0.10.0[sasl?] - app-emulation/libvirt-glib - >=dev-libs/libxml2-2.6 +RDEPEND=">=dev-libs/libxml2-2.6 x11-libs/gtk+:3 + libvirt? ( + >=app-emulation/libvirt-0.10.0[sasl?] + app-emulation/libvirt-glib + ) spice? ( >=net-misc/spice-gtk-0.35[sasl?,gtk3] ) vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3(+)] )" DEPEND="${RDEPEND} @@ -31,6 +33,7 @@ src_configure() { gnome2_src_configure \ --disable-update-mimedb \ --without-ovirt \ + $(use_with libvirt) \ $(use_with vnc gtk-vnc) \ $(use_with spice spice-gtk) }