blob: 13c04a556fc082a93fc36a519a0156bd447b8c52 (
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
47
48
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils gnome2-utils fdo-mime python-single-r1
DESCRIPTION="Rigo, the Sabayon Application Browser"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/rigo"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${PYTHON_DEPS}
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
~sys-apps/rigo-daemon-${PV}[${PYTHON_USEDEP}]
sys-devel/gettext
x11-libs/gtk+:3
x11-libs/vte:2.90
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
python_optimize "${D}/usr/lib/rigo/${PN}"
}
pkg_postinst() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}
|