summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-22 20:01:42 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-22 20:05:08 +0100
commit71ebbaf78841203ad7d08ecc406c1e59209db0f6 (patch)
tree20438a9bf6c5e8c7f1af7145d6d49d263404f0fb /media-radio/kochmorse
parentmedia-radio/KochMorse: add self as maintainer (diff)
downloadgentoo-71ebbaf78841203ad7d08ecc406c1e59209db0f6.tar.gz
gentoo-71ebbaf78841203ad7d08ecc406c1e59209db0f6.tar.bz2
gentoo-71ebbaf78841203ad7d08ecc406c1e59209db0f6.zip
media-radio/kochmorse: rename from media-radio/KochMorse
For consistency with the names of: the upstream GitHub project, the directory inside their release tarballs, the executable, the desktop file... In fact, the only place I've seen it written as KochMorse is the README. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-radio/kochmorse')
-rw-r--r--media-radio/kochmorse/Manifest1
-rw-r--r--media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild29
-rw-r--r--media-radio/kochmorse/metadata.xml15
3 files changed, 45 insertions, 0 deletions
diff --git a/media-radio/kochmorse/Manifest b/media-radio/kochmorse/Manifest
new file mode 100644
index 000000000000..cbae03deb40a
--- /dev/null
+++ b/media-radio/kochmorse/Manifest
@@ -0,0 +1 @@
+DIST kochmorse-3.4.0.tar.gz 1066631 BLAKE2B a435ab85ea782cb09ceab23109651572a2ed8fab6764ed54cdb5c1f2a51814f477fca013913f81b806404abf0d210edce7cca589b10b19b39fece5d8e1f7b581 SHA512 43cf5c3c9d66c4ef23016246a80ab426976a20ca5a2639d47ff2622adcaa3a9444dbfcd2d5c28c5ee32e0f041e8ecd8a33f82a9ed3040753699ebbb43d8f0faa
diff --git a/media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild b/media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild
new file mode 100644
index 000000000000..066f0da13b21
--- /dev/null
+++ b/media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Morse-code tutor using the Koch method"
+HOMEPAGE="https://github.com/hmatuschek/kochmorse"
+SRC_URI="https://github.com/hmatuschek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+BDEPEND="dev-qt/linguist-tools:5"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtwidgets:5"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+ # Upstream uses a non-standard category in release 3.4.0
+ sed -i -e 's/Teaching;/X-Teaching;/' shared/${PN}.desktop || die
+}
diff --git a/media-radio/kochmorse/metadata.xml b/media-radio/kochmorse/metadata.xml
new file mode 100644
index 000000000000..baed555c7d9a
--- /dev/null
+++ b/media-radio/kochmorse/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <longdescription>
+ KochMorse is a simple morse-code tutor using the Koch method. It is
+ written in C++ and uses Qt5 for the graphical user interface.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">hmatuschek/kochmorse</remote-id>
+ </upstream>
+</pkgmetadata>