summaryrefslogtreecommitdiff
blob: 87529018093d1fa9bfd954400fbd35b7bac437ef (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

PYTHON_MODNAME="spectlib"
inherit distutils

DESCRIPTION="A desktop application to watch configurable events (such as website updates, emails,
file and folder changes, system processes, etc) and then trigger notifications."
HOMEPAGE="http://specto.sourceforge.net/"
SRC_URI="http://specto.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LANGS="cs de es fr it pt_BR ro sv tr"
for i in ${LANGS} ; do
	IUSE="${IUSE} linguas_${i}"
done

DEPEND="dev-python/dbus-python
	dev-python/gnome-python
	dev-python/gnome-python-extras
	dev-python/notify-python
	>=dev-python/pygtk-2.10"

src_install() {
	distutils_src_install
	dodoc data/doc/{AUTHORS,ChangeLog}
	rm -rf "${D}"/usr/share/doc/${PN}
	for i in ${LANGS} ; do
		use linguas_${i} || rm -rf "${D}"/usr/share/locale/${i}
	done
}