commit:     b39079b883f76a7ba6a870584c4e3d13da5798e7
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 11:55:03 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 11:55:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39079b8

media-radio/kochmorse: Fix build with cmake-4

Closes: https://bugs.gentoo.org/951894
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/kochmorse/kochmorse-3.5.1-r1.ebuild | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/media-radio/kochmorse/kochmorse-3.5.1-r1.ebuild 
b/media-radio/kochmorse/kochmorse-3.5.1-r1.ebuild
new file mode 100644
index 000000000000..3d9d2402ef24
--- /dev/null
+++ b/media-radio/kochmorse/kochmorse-3.5.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Morse-code tutor using the Koch method"
+HOMEPAGE="https://github.com/hmatuschek/kochmorse";
+SRC_URI="https://github.com/hmatuschek/${PN}/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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() {
+       sed -i -e "s/2.8.8/3.5.1/g" CMakeLists.txt ||die
+       eapply_user
+       cmake_src_prepare
+}

Reply via email to