blob: 07ecc4e62827e87f66b79483e7a41ff3b26e5b97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.5.4.ebuild,v 1.1 2008/05/15 10:26:28 dberkholz Exp $
# Stop gnome2.eclass from doing stuff on USE=debug
GCONF_DEBUG="no"
inherit eutils gnome2
DESCRIPTION="A graphical tool for administering virtual machines such as Xen"
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=""
RDEPEND=">=dev-python/pygtk-1.99.12
>=dev-python/gnome-python-1.99.11
>=app-emulation/libvirt-0.4.0
|| ( dev-python/dbus-python >=sys-apps/dbus-0.61 )
>=gnome-base/gnome-keyring-0.4.9
>=dev-python/gnome-python-desktop-2.15
>=dev-libs/libxml2-2.6.23
>=app-emulation/virtinst-0.300.2
>=gnome-base/librsvg-2
>=x11-libs/vte-0.12.2
sys-apps/usermode
dev-python/rhpl
>=net-libs/gtk-vnc-0.3.4"
DEPEND="${RDEPEND}"
pkg_setup() {
if ! built_with_use --missing false sys-apps/dbus python; then
if ! has_version dev-python/dbus-python; then
local msg="You must install dbus with USE=python or dbus-python."
eerror "$msg"
die "$msg"
fi
fi
if ! built_with_use dev-libs/libxml2 python; then
local msg="You must install libxml2 with USE=python."
eerror "$msg"
die "$msg"
fi
if ! built_with_use x11-libs/vte python; then
local msg="You must install vte with USE=python."
eerror "$msg"
die "$msg"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/virt-manager-0.5.4-polkit-root.patch
}
#src_install() {
# emake DESTDIR="${D}" install || die "emake install failed"
#}
|