summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-09-26 13:01:11 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-09-26 13:01:11 +0000
commit16d195aad58417116067ae49da6b5497e911b48c (patch)
tree2d5479415437e4cb231251eb7ac103611ce3a9b1 /app-emulation/vboxgtk
parentRemove old. (diff)
downloadgentoo-2-16d195aad58417116067ae49da6b5497e911b48c.tar.gz
gentoo-2-16d195aad58417116067ae49da6b5497e911b48c.tar.bz2
gentoo-2-16d195aad58417116067ae49da6b5497e911b48c.zip
migrate to python-distutils-ng.eclass
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/vboxgtk')
-rw-r--r--app-emulation/vboxgtk/ChangeLog7
-rw-r--r--app-emulation/vboxgtk/vboxgtk-0.8.0-r1.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/app-emulation/vboxgtk/ChangeLog b/app-emulation/vboxgtk/ChangeLog
index 1e39b2499ebf..a65db74b0434 100644
--- a/app-emulation/vboxgtk/ChangeLog
+++ b/app-emulation/vboxgtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/vboxgtk
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.7 2012/07/23 15:46:28 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.8 2012/09/26 13:01:11 hasufell Exp $
+
+*vboxgtk-0.8.0-r1 (26 Sep 2012)
+
+ 26 Sep 2012; Julian Ospald <hasufell@gentoo.org> +vboxgtk-0.8.0-r1.ebuild:
+ migrate to python-distutils-ng.eclass
23 Jul 2012; Julian Ospald <hasufell@gentoo.org> vboxgtk-0.8.0.ebuild,
metadata.xml:
diff --git a/app-emulation/vboxgtk/vboxgtk-0.8.0-r1.ebuild b/app-emulation/vboxgtk/vboxgtk-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..25a8053af283
--- /dev/null
+++ b/app-emulation/vboxgtk/vboxgtk-0.8.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/vboxgtk-0.8.0-r1.ebuild,v 1.1 2012/09/26 13:01:11 hasufell Exp $
+
+EAPI="4"
+
+PYTHON_COMPAT="python2_6 python2_7"
+
+inherit gnome2-utils python-distutils-ng
+
+DESCRIPTION="GTK frontend for VirtualBox"
+HOMEPAGE="http://code.google.com/p/vboxgtk/"
+SRC_URI="http://vboxgtk.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ || ( app-emulation/virtualbox[-headless,python,sdk]
+ >=app-emulation/virtualbox-bin-2.2.2[python] )
+ >=dev-python/pygobject-2.28.0:2"
+
+DOCS=( AUTHORS README )
+
+PKG_LINGUAS="cs gl"
+for PKG_LINGUA in ${PKG_LINGUAS}; do
+ IUSE="${IUSE} linguas_${PKG_LINGUA/-/_}"
+done
+
+python_prepare_all() {
+ for LINGUA in ${PKG_LINGUAS}; do
+ if ! use linguas_${LINGUA/-/_}; then
+ rm -r po/"${LINGUA}".po || die "LINGUAS removal failed"
+ fi
+ done
+}
+
+python_install_all() {
+ dodoc ${DOCS[@]}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}