summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-03-11 00:50:09 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-03-11 00:50:09 +0000
commitcadf834bfd1d8189c42e0067924e3e0f1af805b2 (patch)
treed0b5ace035b83194dc30d2eedecee8e0fe6f0d0e /app-emulation
parentVersion bump (diff)
downloadgentoo-2-cadf834bfd1d8189c42e0067924e3e0f1af805b2.tar.gz
gentoo-2-cadf834bfd1d8189c42e0067924e3e0f1af805b2.tar.bz2
gentoo-2-cadf834bfd1d8189c42e0067924e3e0f1af805b2.zip
Version bump. Switch to REQUIRED_USE instead of a pkg_pretend check.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virt-viewer/ChangeLog8
-rw-r--r--app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild11
-rw-r--r--app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild38
3 files changed, 49 insertions, 8 deletions
diff --git a/app-emulation/virt-viewer/ChangeLog b/app-emulation/virt-viewer/ChangeLog
index 453db79ba577..d76d81521baa 100644
--- a/app-emulation/virt-viewer/ChangeLog
+++ b/app-emulation/virt-viewer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virt-viewer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/ChangeLog,v 1.13 2012/01/19 20:20:39 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/ChangeLog,v 1.14 2012/03/11 00:50:09 cardoe Exp $
+
+*virt-viewer-0.5.2 (10 Mar 2012)
+
+ 10 Mar 2012; Doug Goldstein <cardoe@gentoo.org> virt-viewer-0.4.2.ebuild,
+ +virt-viewer-0.5.2.ebuild:
+ Version bump. Switch to REQUIRED_USE instead of a pkg_pretend check.
19 Jan 2012; Doug Goldstein <cardoe@gentoo.org> virt-viewer-0.4.2.ebuild:
USE=nsplugin relies on GTK+ 2.0, but when someone has USE=gtk3, we won't pull
diff --git a/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild b/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild
index 2d66fb47ece3..d7e2e426ffe1 100644
--- a/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild
+++ b/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild,v 1.3 2012/01/19 20:20:39 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild,v 1.4 2012/03/11 00:50:09 cardoe Exp $
EAPI=4
@@ -26,12 +26,9 @@ RDEPEND=">=app-emulation/libvirt-0.6.0
vnc? ( >=net-libs/gtk-vnc-0.4.3 )"
DEPEND="${RDEPEND}"
-pkg_pretend() {
- if ! use spice && ! use vnc; then
- eerror "You must have USE=vnc or USE=spice enabled."
- die "You must have USE=vnc or USE=spice enabled."
- fi
-}
+REQUIRED_USE="|| ( spice vnc )
+ nsplugin? ( !gtk3 )
+ gtk3? ( !nsplugin )"
pkg_setup() {
G2CONF="$(use_enable nsplugin plugin) $(use_with spice spice-gtk)"
diff --git a/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild b/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild
new file mode 100644
index 000000000000..c11ffeb87363
--- /dev/null
+++ b/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild,v 1.1 2012/03/11 00:50:09 cardoe Exp $
+
+EAPI=4
+
+inherit eutils gnome2
+
+DESCRIPTION="Graphical console client for connecting to virtual machines"
+HOMEPAGE="http://virt-manager.org/"
+SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk3 nsplugin sasl +spice +vnc"
+RDEPEND=">=app-emulation/libvirt-0.9.7
+ >=dev-libs/libxml2-2.6.0:2
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( >=x11-libs/gtk+-2.18.0:2
+ >=gnome-base/libglade-2.6.0:2.0 )
+ nsplugin? ( >=dev-libs/nspr-4.0.0
+ >=net-libs/xulrunner-1.9.1:1.9
+ >=x11-libs/gtk+-2.18.0:2
+ >=gnome-base/libglade-2.6.0:2.0 )
+ spice? ( >=net-misc/spice-gtk-0.11[sasl?,gtk3?] )
+ vnc? ( >=net-libs/gtk-vnc-0.4.3 )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="|| ( spice vnc )
+ nsplugin? ( !gtk3 )
+ gtk3? ( !nsplugin )"
+
+pkg_setup() {
+ G2CONF="$(use_enable nsplugin plugin) $(use_with spice spice-gtk)"
+ G2CONF="${G2CONF} $(use_with vnc gtk-vnc)"
+ use gtk3 && G2CONF="${G2CONF} --with-gtk=3.0"
+ use gtk3 || G2CONF="${G2CONF} --with-gtk=2.0"
+}