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

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="A user friendly interface to the devilspie window matching daemon, to create rules easily"
HOMEPAGE="https://code.google.com/p/gdevilspie/"
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"

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

DEPEND="
	dev-python/pygtk:2[${PYTHON_USEDEP}]
	dev-python/libwnck-python[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
	x11-misc/devilspie
"

PATCHES=(
	# Fix paths for finding XDG and glade file, bug #539638
	"${FILESDIR}/${P}-paths.patch"
)

src_prepare() {
	sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die
	distutils-r1_src_prepare
}