summaryrefslogtreecommitdiff
blob: 2b25be6bfb646cfaa14bbb37dc0e35414b530f45 (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-2012 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.2 2012/01/09 10:27:56 nirbheek 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/DFeet"

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
}