summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-10-26 21:46:38 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-10-26 21:46:38 +0000
commit876a084064efeb77fa1e1499856f7d5447f70030 (patch)
tree2df6a24cf83c918fca6c92c536aff156880cff8a /app-emulation/vboxgtk
parentversion bump (diff)
downloadgentoo-2-876a084064efeb77fa1e1499856f7d5447f70030.tar.gz
gentoo-2-876a084064efeb77fa1e1499856f7d5447f70030.tar.bz2
gentoo-2-876a084064efeb77fa1e1499856f7d5447f70030.zip
version bump
(Portage version: 2.2.0_alpha140/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'app-emulation/vboxgtk')
-rw-r--r--app-emulation/vboxgtk/ChangeLog8
-rw-r--r--app-emulation/vboxgtk/files/vboxgtk.desktop.in9
-rw-r--r--app-emulation/vboxgtk/vboxgtk-0.8.1.ebuild59
3 files changed, 75 insertions, 1 deletions
diff --git a/app-emulation/vboxgtk/ChangeLog b/app-emulation/vboxgtk/ChangeLog
index 86cf1b020f5d..8bfbb0fe029f 100644
--- a/app-emulation/vboxgtk/ChangeLog
+++ b/app-emulation/vboxgtk/ChangeLog
@@ -1,6 +1,12 @@
# 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.12 2012/10/26 21:43:50 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.13 2012/10/26 21:46:38 hasufell Exp $
+
+*vboxgtk-0.8.1 (26 Oct 2012)
+
+ 26 Oct 2012; Julian Ospald <hasufell@gentoo.org> +vboxgtk-0.8.1.ebuild,
+ +files/vboxgtk.desktop.in:
+ version bump
26 Oct 2012; Julian Ospald <hasufell@gentoo.org> vboxgtk-0.8.0-r3.ebuild:
fix build time deps
diff --git a/app-emulation/vboxgtk/files/vboxgtk.desktop.in b/app-emulation/vboxgtk/files/vboxgtk.desktop.in
new file mode 100644
index 000000000000..55c4d080d361
--- /dev/null
+++ b/app-emulation/vboxgtk/files/vboxgtk.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=VBoxGtk
+Comment=VirtualBox GTK+ interface
+Exec=vboxgtk
+Terminal=false
+StartupNotify=true
+Icon=vboxgtk
+Type=Application
+Categories=Emulator;System;
diff --git a/app-emulation/vboxgtk/vboxgtk-0.8.1.ebuild b/app-emulation/vboxgtk/vboxgtk-0.8.1.ebuild
new file mode 100644
index 000000000000..c10c860864ed
--- /dev/null
+++ b/app-emulation/vboxgtk/vboxgtk-0.8.1.ebuild
@@ -0,0 +1,59 @@
+# 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.1.ebuild,v 1.1 2012/10/26 21:46:38 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-4.2.0[-headless,python,sdk]
+ >=app-emulation/virtualbox-bin-4.2.0[python] )
+ dev-python/pygobject:3
+ x11-libs/gtk+:3[introspection]"
+DEPEND="dev-util/intltool
+ sys-devel/gettext"
+
+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
+
+ cp "${FILESDIR}"/${PN}.desktop.in data/ || die
+}
+
+python_install_all() {
+ dodoc ${DOCS[@]}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}