diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2011-02-04 15:43:27 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2011-02-04 15:43:27 +0000 |
commit | 54cf20790e999154bba0bae9efaf2354d95b1847 (patch) | |
tree | 148595052afab21381ab802a9319c7e4a680700c /app-emulation/virt-manager | |
parent | Version bump by Enrico; remove old versions. (diff) | |
download | gentoo-2-54cf20790e999154bba0bae9efaf2354d95b1847.tar.gz gentoo-2-54cf20790e999154bba0bae9efaf2354d95b1847.tar.bz2 gentoo-2-54cf20790e999154bba0bae9efaf2354d95b1847.zip |
version bump
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virt-manager')
-rw-r--r-- | app-emulation/virt-manager/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/virt-manager/virt-manager-0.8.6.ebuild | 95 |
2 files changed, 101 insertions, 1 deletions
diff --git a/app-emulation/virt-manager/ChangeLog b/app-emulation/virt-manager/ChangeLog index 9857500c9b4a..9e4bca361d97 100644 --- a/app-emulation/virt-manager/ChangeLog +++ b/app-emulation/virt-manager/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virt-manager # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.39 2011/02/04 15:24:59 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.40 2011/02/04 15:43:27 cardoe Exp $ + +*virt-manager-0.8.6 (04 Feb 2011) + + 04 Feb 2011; Doug Goldstein <cardoe@gentoo.org> +virt-manager-0.8.6.ebuild: + version bump 04 Feb 2011; Doug Goldstein <cardoe@gentoo.org> virt-manager-9999.ebuild: Update 999 ebuild to be compatible with normal release ebuilds diff --git a/app-emulation/virt-manager/virt-manager-0.8.6.ebuild b/app-emulation/virt-manager/virt-manager-0.8.6.ebuild new file mode 100644 index 000000000000..5c7a4ca7ec5e --- /dev/null +++ b/app-emulation/virt-manager/virt-manager-0.8.6.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2011 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.8.6.ebuild,v 1.1 2011/02/04 15:43:27 cardoe Exp $ + +BACKPORTS=1 + +EAPI=2 + +if [[ ${PV} = *9999* ]]; then + EHG_REPO_URI="http://hg.fedorahosted.org/hg/virt-manager" + HG_ECLASS="mercurial autotools" +fi + +PYTHON_DEPEND="2:2.4" + +# Stop gnome2.eclass from doing stuff on USE=debug +GCONF_DEBUG="no" + +inherit eutils gnome2 python ${HG_ECLASS} + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" + VIRTINSTDEP=">=app-emulation/virtinst-9999" +else + SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz + ${BACKPORTS:+mirror://gentoo/${P}-backports-${BACKPORTS}.tar.bz2}" + KEYWORDS="~amd64 ~x86" + VIRTINSTDEP=">=app-emulation/virtinst-0.500.4" +fi + +DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)" +HOMEPAGE="http://virt-manager.org/" +LICENSE="GPL-2" +SLOT="0" +IUSE="gnome-keyring policykit sasl" +RDEPEND=">=dev-python/pygtk-1.99.12 + >=app-emulation/libvirt-0.7.0[python,sasl?] + >=dev-libs/libxml2-2.6.23[python] + ${VIRTINSTDEP} + >=gnome-base/librsvg-2 + >=x11-libs/vte-0.12.2[python] + >=net-libs/gtk-vnc-0.3.8[python,sasl?] + >=dev-python/dbus-python-0.61 + >=dev-python/gconf-python-1.99.11 + dev-python/urlgrabber + gnome-keyring? ( dev-python/gnome-keyring-python ) + policykit? ( gnome-extra/polkit-gnome )" +DEPEND="${RDEPEND} + app-text/rarian + dev-util/intltool" + +src_prepare() { + sed -e "s/python/python2/" -i src/virt-manager.in || \ + die "python2 update failed" + + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ + epatch + + if [[ ${PV} = *9999* ]]; then + # virt-manager's autogen.sh touches this and eautoreconf fails + # unless we do this + touch config.rpath + + rm -f config.status + intltoolize --automake --copy --force + perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in + perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' \ + po/Makefile.in.i + eautoreconf + fi + + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + + insinto /usr/share/virt-manager/pixmaps/ + doins "${S}"/pixmaps/*.png + doins "${S}"/pixmaps/*.svg + + insinto /usr/share/virt-manager/pixmaps/hicolor/16x16/actions/ + doins "${S}"/pixmaps/hicolor/16x16/actions/*.png + + insinto /usr/share/virt-manager/pixmaps/hicolor/22x22/actions/ + doins "${S}"/pixmaps/hicolor/22x22/actions/*.png + + insinto /usr/share/virt-manager/pixmaps/hicolor/24x24/actions/ + doins "${S}"/pixmaps/hicolor/24x24/actions/*.png + + insinto /usr/share/virt-manager/pixmaps/hicolor/32x32/actions/ + doins "${S}"/pixmaps/hicolor/32x32/actions/*.png +} |