blob: 81c6e0743225ade45e0d161f395b22abecb6e259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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
}
|