| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| PYTHON_COMPAT=( python2_7 ) |
| PLOCALES="cs gl" |
| inherit gnome2-utils l10n distutils-r1 |
| |
| DESCRIPTION="GTK frontend for VirtualBox" |
| HOMEPAGE="https://code.google.com/p/vboxgtk/" |
| SRC_URI="https://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 ) |
| |
| python_prepare_all() { |
| rm_locale() { rm -r po/"${1}".po || die "LINGUAS removal failed" ;} |
| l10n_for_each_disabled_locale_do rm_locale |
| distutils-r1_python_prepare_all |
| } |
| |
| pkg_preinst() { |
| gnome2_icon_savelist |
| } |
| |
| pkg_postinst() { |
| gnome2_icon_cache_update |
| } |
| |
| pkg_postrm() { |
| gnome2_icon_cache_update |
| } |