blob: 64e34b48cb625d60f57982a00e7d3e5631b08613 (
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
46
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild,v 1.3 2011/04/06 18:14:26 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit gnome2-utils distutils
DESCRIPTION="GTK frontend for VirtualBox"
HOMEPAGE="http://vboxgtk.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="linguas_es"
DEPEND=""
RDEPEND="
|| ( app-emulation/virtualbox[-headless,sdk]
>=app-emulation/virtualbox-bin-2.2.2 )
>=dev-python/pygtk-2.14.0"
src_prepare() {
if ! use linguas_es; then
rm po/es.po || die "rm failed"
fi
python_convert_shebangs -r 2 .
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
distutils_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
distutils_pkg_postrm
gnome2_icon_cache_update
}
|