diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-09-21 22:50:12 +0100 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2019-09-21 21:28:48 -0500 |
commit | 677da63a0a4f9998491918a8215093a5a86c3714 (patch) | |
tree | 5536dfabc47d897e2565475cf759650e80d7725b /app-emulation | |
parent | dev-lang/julia: version bump to 1.2.0 (diff) | |
download | gentoo-677da63a0a4f9998491918a8215093a5a86c3714.tar.gz gentoo-677da63a0a4f9998491918a8215093a5a86c3714.tar.bz2 gentoo-677da63a0a4f9998491918a8215093a5a86c3714.zip |
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 <chewi@gentoo.org>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virt-viewer/metadata.xml | 2 | ||||
-rw-r--r-- | app-emulation/virt-viewer/virt-viewer-8.0.ebuild | 11 |
2 files changed, 9 insertions, 4 deletions
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 @@ <name>Gentoo Virtualization Project</name> </maintainer> <use> + <flag name="libvirt">Support connecting to virtual machines + managed by libvirt.</flag> <flag name="spice">Support connecting to SPICE-enabled virtual machines.</flag> <flag name="vnc">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) } |