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

EAPI=6
PYTHON_COMPAT=( python2_7 )

inherit python-single-r1

DESCRIPTION="A GUI for cdlabelgen that generates CD labels"
HOMEPAGE="http://gtkcdlabel.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

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

DEPEND="${PYTHON_DEPS}
	>=app-cdr/cdlabelgen-4
	dev-python/pygtk[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

S="${WORKDIR}"

src_prepare() {
	default
	python_fix_shebang .
}

src_install() {
	dobin "usr/bin/${PN}.py"
	insinto /usr/share
	doins -r usr/share/{applications,"${PN}",pixmaps}
	dodoc usr/share/doc/"${PN}"/{AUTHORS,README}
}