blob: 0c04f65a3903b432cd4f99ce91bfb98163951699 (
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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A simple metronome with an easy-to-use GTK interface"
HOMEPAGE="http://das.nasophon.de/gtklick/"
SRC_URI="http://das.nasophon.de/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
media-libs/pyliblo[${PYTHON_USEDEP}]
media-sound/klick[osc]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
src_install() {
distutils-r1_src_install
# Replace the broken default runner script with a working one.
sed \
-e "s|[@]sharedir[@]|${EPREFIX}/usr/share/${PN}|g" \
-e "s|[@]localedir[@]|${EPREFIX}/usr/share/locale|g" \
"${FILESDIR}"/${PN} > "${T}"/${PN} || die
python_replicate_script "${T}"/${PN}
}
|