summaryrefslogtreecommitdiff
blob: d5ff90ab324ec646bea0d70f1f946f9288f7029b (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 )

inherit python-single-r1

DESCRIPTION="Configuration GUI for x11-misc/wbar"
HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/"
SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="sys-devel/gettext"
RDEPEND="
	${PYTHON_DEPS}
	>=x11-misc/wbar-1.3.3
	dev-python/pygobject:2[${PYTHON_USEDEP}]
	dev-python/pygtk:2[${PYTHON_USEDEP}]"

S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}"/${P}-install.patch )

src_compile() {
	python_fix_shebang wbarconf
}

src_install() {
	./install.sh "${ED%/}/usr" || die "./install.sh failed."
}