Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/KochMorse/
Date: Tue, 04 Dec 2018 10:35:36
Message-Id: 1543919721.370dace17be964dcd8dabb23e67baf11b9813deb.monsieurp@gentoo
1 commit: 370dace17be964dcd8dabb23e67baf11b9813deb
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Sun Nov 25 20:13:45 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 10:35:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370dace1
7
8 media-radio/KochMorse: upstream release 3.4.0.
9
10 This is a brand new ebuild from a new package maintainer, wrapping the
11 upstream release 3.4.0.
12
13 Quoting https://github.com/hmatuschek/kochmorse/blob/master/README.md :
14
15 This is a C++/Qt reimplementation of my "old" python morse-code tutor
16 (also called "kochmorse", https://kochmorse.googlecode.com). As the
17 "old" implementation relied on ALSA for sound output, it was restricted
18 to Linux. This reimplementation now uses the Qt5 Multimedia module for
19 the sound output and the GUI is implemented using Qt5, it is therefore
20 more platform independent and runs under Linux, MacOS X and Windows.
21
22 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
23 Package-Manager: Portage-2.3.51, Repoman-2.3.11
24 Closes: https://github.com/gentoo/gentoo/pull/10480
25 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
26
27 media-radio/KochMorse/KochMorse-3.4.0.ebuild | 27 +++++++++++++++++++++++++++
28 media-radio/KochMorse/Manifest | 1 +
29 media-radio/KochMorse/metadata.xml | 15 +++++++++++++--
30 3 files changed, 41 insertions(+), 2 deletions(-)
31
32 diff --git a/media-radio/KochMorse/KochMorse-3.4.0.ebuild b/media-radio/KochMorse/KochMorse-3.4.0.ebuild
33 new file mode 100644
34 index 00000000000..eee17a4fe39
35 --- /dev/null
36 +++ b/media-radio/KochMorse/KochMorse-3.4.0.ebuild
37 @@ -0,0 +1,27 @@
38 +# Copyright 1999-2018 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +
43 +inherit cmake-utils
44 +
45 +DESCRIPTION="Morse-code tutor using the Koch method"
46 +HOMEPAGE="https://github.com/hmatuschek/kochmorse"
47 +SRC_URI="https://github.com/hmatuschek/kochmorse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE=""
53 +
54 +RDEPEND="dev-qt/qtmultimedia"
55 +DEPEND="${RDEPEND}
56 + dev-qt/linguist-tools
57 + dev-util/cmake[qt5]"
58 +
59 +S="${WORKDIR}/kochmorse-${PV}"
60 +
61 +src_prepare() {
62 + sed -i -e 's/Teaching;/X-Teaching;/' shared/kochmorse.desktop || die
63 + eapply_user
64 +}
65
66 diff --git a/media-radio/KochMorse/Manifest b/media-radio/KochMorse/Manifest
67 index 6ce84dcc696..49d1719ca3d 100644
68 --- a/media-radio/KochMorse/Manifest
69 +++ b/media-radio/KochMorse/Manifest
70 @@ -1 +1,2 @@
71 DIST KochMorse-0.99.6.tar.gz 30497 BLAKE2B b6c40378f1e105f3010a5d703f910ae7c2216da5892f65c85cb2b56227f38d9e88d49fac38ed3ab8513cae45dfb5bb0474fab420b8151b028061392f7e657dfd SHA512 0803f3fb092962bebffccac143dd4410330d529ec1fe3a8a0c377f640349e0a8f5c254772c5ed7e63cf63c47ce14f304658b4870c78cf89c391823c93ab9b005
72 +DIST KochMorse-3.4.0.tar.gz 1066631 BLAKE2B a435ab85ea782cb09ceab23109651572a2ed8fab6764ed54cdb5c1f2a51814f477fca013913f81b806404abf0d210edce7cca589b10b19b39fece5d8e1f7b581 SHA512 43cf5c3c9d66c4ef23016246a80ab426976a20ca5a2639d47ff2622adcaa3a9444dbfcd2d5c28c5ee32e0f041e8ecd8a33f82a9ed3040753699ebbb43d8f0faa
73
74 diff --git a/media-radio/KochMorse/metadata.xml b/media-radio/KochMorse/metadata.xml
75 index 2dd58bbfe60..9db9e59f2d8 100644
76 --- a/media-radio/KochMorse/metadata.xml
77 +++ b/media-radio/KochMorse/metadata.xml
78 @@ -1,8 +1,19 @@
79 <?xml version="1.0" encoding="UTF-8"?>
80 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
81 <pkgmetadata>
82 - <!-- maintainer-needed -->
83 + <maintainer type="person">
84 + <email>gentoo@××××××××.de</email>
85 + <name>Ralph Seichter</name>
86 + </maintainer>
87 + <maintainer type="project">
88 + <email>proxy-maint@g.o</email>
89 + <name>Proxy Maintainers</name>
90 + </maintainer>
91 + <longdescription>
92 + KochMorse is a simple morse-code tutor using the Koch method. It is
93 + written in C++ and uses Qt5 for the graphical user interface.
94 + </longdescription>
95 <upstream>
96 - <remote-id type="google-code">KochMorse</remote-id>
97 + <remote-id type="github">hmatuschek/kochmorse</remote-id>
98 </upstream>
99 </pkgmetadata>