diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-05-30 15:58:44 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-05-30 15:58:44 +0000 |
commit | 58fa2df848648d20f70aa06ee502e415cc43555e (patch) | |
tree | 61fe8a0d31919b5ab4e9669e11daeeb4ff619e49 /app-emulation | |
parent | Version bump (diff) | |
download | gentoo-2-58fa2df848648d20f70aa06ee502e415cc43555e.tar.gz gentoo-2-58fa2df848648d20f70aa06ee502e415cc43555e.tar.bz2 gentoo-2-58fa2df848648d20f70aa06ee502e415cc43555e.zip |
initial commit, bug 254718
(Portage version: 2.1.6.11/cvs/Linux ppc)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/vboxgtk/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/vboxgtk/metadata.xml | 10 | ||||
-rw-r--r-- | app-emulation/vboxgtk/vboxgtk-0.4.1.ebuild | 49 |
3 files changed, 69 insertions, 0 deletions
diff --git a/app-emulation/vboxgtk/ChangeLog b/app-emulation/vboxgtk/ChangeLog new file mode 100644 index 000000000000..e833a0480c4f --- /dev/null +++ b/app-emulation/vboxgtk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emulation/vboxgtk +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.1 2009/05/30 15:58:44 volkmar Exp $ + +*vboxgtk-0.4.1 (30 May 2009) + + 30 May 2009; Mounir Lamouri <volkmar@gentoo.org> +metadata.xml, + +vboxgtk-0.4.1.ebuild: + Initial commit, see bug 254718 + diff --git a/app-emulation/vboxgtk/metadata.xml b/app-emulation/vboxgtk/metadata.xml new file mode 100644 index 000000000000..d44dc8ef07cc --- /dev/null +++ b/app-emulation/vboxgtk/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>volkmar@gentoo.org</email> + <name>Mounir Lamouri</name> + </maintainer> +</pkgmetadata> + diff --git a/app-emulation/vboxgtk/vboxgtk-0.4.1.ebuild b/app-emulation/vboxgtk/vboxgtk-0.4.1.ebuild new file mode 100644 index 000000000000..27fbfe905832 --- /dev/null +++ b/app-emulation/vboxgtk/vboxgtk-0.4.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/vboxgtk-0.4.1.ebuild,v 1.1 2009/05/30 15:58:44 volkmar Exp $ + +EAPI="2" + +inherit eutils multilib python + +DESCRIPTION="GTK frontend for VirtualBox" +HOMEPAGE="http://www.xente.mundo-r.com/narf/vboxgtk/" +SRC_URI="http://www.xente.mundo-r.com/narf/${PN}/releases/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="|| ( >=app-emulation/virtualbox-ose-2.1[-headless] + >=app-emulation/virtualbox-bin-2.1[-headless] ) + dev-python/pygobject + dev-python/pygtk" + +src_prepare() { + sed -i -e "s:\([^#]self.base_path = \).*:\1\"/usr/$(get_libdir)/${PN}/\":" \ + vboxgtk || die "sed failed" +} + +src_install() { + insinto /usr/$(get_libdir)/${PN} + doins -r *.py ${PN}.glade pixmaps/ || die "doins failed" + + exeinto /usr/$(get_libdir)/${PN} + doexe ${PN} || die "doexe failed" + + dosym /usr/$(get_libdir)/${PN}/${PN} /usr/bin/${PN} || die "dosym failed" + dosym /usr/$(get_libdir)/${PN}/pixmaps/48x48.png \ + /usr/share/pixmaps/${PN}.png || die "dosym failed" + + make_desktop_entry ${PN} "VBoxGtk" ${PN}.png +} + +pkg_postinst() { + python_mod_optimize "${ROOT}/usr/$(get_libdir)/${PN}" +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}/usr/$(get_libdir)/${PN}" +} |