summaryrefslogtreecommitdiff
blob: 0ffd5d95c9f2d3b99d8b9097d3d9fa8160d35677 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/service-discovery-applet/service-discovery-applet-0.4.1.ebuild,v 1.1 2006/07/28 18:58:36 swegener Exp $

inherit eutils gnome2

DESCRIPTION="Service Discovery Applet"
HOMEPAGE="http://0pointer.de/~sebest/"
SRC_URI="http://0pointer.de/~sebest/${P}.tar.gz"

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

RDEPEND=">=dev-lang/python-2.4
	>=dev-python/gnome-python-extras-2
	>=dev-python/gnome-python-desktop-2.14.0
	>=dev-python/pygtk-2.0
	gnome-base/gconf
	sys-apps/dbus
	net-dns/avahi"
DEPEND="${RDEPEND}
	>=dev-util/intltool-0.21"

pkg_setup() {
	if ! built_with_use net-dns/avahi python || ! built_with_use sys-apps/dbus python
	then
		die "Sorry, but you need net-dns/avahi and sys-apps/dbus compiled with python support."
	fi
}

src_install() {
	USE_DESTDIR="1" gnome2_src_install
	dodoc AUTHORS README
}