summaryrefslogtreecommitdiff
blob: da37f47bea4846774e4081a3795752ee9d580494 (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/dev-util/d-feet/d-feet-0.1.14.ebuild,v 1.1 2011/12/21 22:14:26 eva Exp $

EAPI="4"
GCONF_DEBUG="no"
PYTHON_DEPEND="2:2.6"

inherit gnome2 distutils

DESCRIPTION="D-Feet is a powerful D-Bus debugger"
HOMEPAGE="http://live.gnome.org/d-feet/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome"

RDEPEND=">=sys-apps/dbus-1.0
	>=dev-python/dbus-python-0.82.3
	dev-python/pygtk:2
	gnome? ( dev-python/libwnck-python )"

PYTHON_MODNAME="dfeet"

pkg_setup() {
	python_set_active_version 2
	python_pkg_setup
}

src_configure() {
	# Don't call gnome2_src_configure().
	:
}

pkg_postinst() {
	distutils_pkg_postinst
	gnome2_icon_cache_update
	fdo-mime_desktop_database_update
}

pkg_postrm() {
	distutils_pkg_postrm
	gnome2_icon_cache_update
	fdo-mime_desktop_database_update
}