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
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')
-rw-r--r--media-radio/kochmorse/Manifest (renamed from media-radio/KochMorse/Manifest)2
-rw-r--r--media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild (renamed from media-radio/KochMorse/KochMorse-3.4.0-r1.ebuild)11
-rw-r--r--media-radio/kochmorse/metadata.xml (renamed from media-radio/KochMorse/metadata.xml)0
3 files changed, 5 insertions, 8 deletions
diff --git a/media-radio/KochMorse/Manifest b/media-radio/kochmorse/Manifest
index f72ef8e0219c..cbae03deb40a 100644
--- a/media-radio/KochMorse/Manifest
+++ b/media-radio/kochmorse/Manifest
@@ -1 +1 @@
-DIST KochMorse-3.4.0.tar.gz 1066631 BLAKE2B a435ab85ea782cb09ceab23109651572a2ed8fab6764ed54cdb5c1f2a51814f477fca013913f81b806404abf0d210edce7cca589b10b19b39fece5d8e1f7b581 SHA512 43cf5c3c9d66c4ef23016246a80ab426976a20ca5a2639d47ff2622adcaa3a9444dbfcd2d5c28c5ee32e0f041e8ecd8a33f82a9ed3040753699ebbb43d8f0faa
+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
index 190a657b9151..066f0da13b21 100644
--- a/media-radio/KochMorse/KochMorse-3.4.0-r1.ebuild
+++ b/media-radio/kochmorse/kochmorse-3.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit cmake
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"
+SRC_URI="https://github.com/hmatuschek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -22,11 +22,8 @@ RDEPEND="
dev-qt/qtwidgets:5"
DEPEND="${RDEPEND}"
-S="${WORKDIR}/kochmorse-${PV}"
-
src_prepare() {
cmake_src_prepare
- # Upstream uses a non-standard category in release 3.4.0. I submitted
- # a fix which has been accepted, but not yet released.
- sed -i -e 's/Teaching;/X-Teaching;/' shared/kochmorse.desktop || die
+ # 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
index baed555c7d9a..baed555c7d9a 100644
--- a/media-radio/KochMorse/metadata.xml
+++ b/media-radio/kochmorse/metadata.xml