summaryrefslogtreecommitdiff
blob: eee17a4fe396e6b5ac6bf811c70c7e7eabda6608 (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
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils

DESCRIPTION="Morse-code tutor using the Koch method"
HOMEPAGE="https://github.com/hmatuschek/kochmorse"
SRC_URI="https://github.com/hmatuschek/kochmorse/archive/v${PV}.tar.gz -> ${P}.tar.gz"

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

RDEPEND="dev-qt/qtmultimedia"
DEPEND="${RDEPEND}
	dev-qt/linguist-tools
	dev-util/cmake[qt5]"

S="${WORKDIR}/kochmorse-${PV}"

src_prepare() {
	sed -i -e 's/Teaching;/X-Teaching;/' shared/kochmorse.desktop || die
	eapply_user
}