* [gentoo-commits] repo/gentoo:master commit in: x11-misc/kronometer/files/, x11-misc/kronometer/
@ 2022-03-24 10:46 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2022-03-24 10:46 UTC (permalink / raw
To: gentoo-commits
commit: c52f1d46e549406b3a81460d7d8ac17d6757a3fe
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 10:36:05 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 10:46:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52f1d46
x11-misc/kronometer: Add missing KCoreAddons dep and link; EAPI-8
Fix HOMEPAGE
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/kronometer-2.2.3-missing-dep.patch | 24 ++++++++++++++++++++++
.../files/kronometer-2.2.3-missing-link.patch | 24 ++++++++++++++++++++++
x11-misc/kronometer/kronometer-2.2.3.ebuild | 11 +++++++---
3 files changed, 56 insertions(+), 3 deletions(-)
diff --git a/x11-misc/kronometer/files/kronometer-2.2.3-missing-dep.patch b/x11-misc/kronometer/files/kronometer-2.2.3-missing-dep.patch
new file mode 100644
index 000000000000..5b73598a43ef
--- /dev/null
+++ b/x11-misc/kronometer/files/kronometer-2.2.3-missing-dep.patch
@@ -0,0 +1,24 @@
+From 04499b5e063e5595f66d7624be851a53d85a5948 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Mon, 21 Mar 2022 21:00:59 +0100
+Subject: [PATCH] Add missing find_package for KCoreAddons
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 31fc597..2773638 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -30,6 +30,7 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED
+
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
+ COMPONENTS
++ CoreAddons
+ Config
+ Crash
+ DocTools
+--
+GitLab
+
diff --git a/x11-misc/kronometer/files/kronometer-2.2.3-missing-link.patch b/x11-misc/kronometer/files/kronometer-2.2.3-missing-link.patch
new file mode 100644
index 000000000000..f08cb9459cbd
--- /dev/null
+++ b/x11-misc/kronometer/files/kronometer-2.2.3-missing-link.patch
@@ -0,0 +1,24 @@
+From 2894243edd8c636d9855615522300b4361e2f258 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 20 Mar 2022 18:07:50 +0100
+Subject: [PATCH] Add missing KCoreAddons link
+
+---
+ src/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 7f510b8..be8805d 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -10,6 +10,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+ endif()
+
+ target_link_libraries(kronometer
++ KF5::CoreAddons
+ KF5::Crash
+ gui)
+
+--
+GitLab
+
diff --git a/x11-misc/kronometer/kronometer-2.2.3.ebuild b/x11-misc/kronometer/kronometer-2.2.3.ebuild
index efd9ec24975b..df7872459d80 100644
--- a/x11-misc/kronometer/kronometer-2.2.3.ebuild
+++ b/x11-misc/kronometer/kronometer-2.2.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
ECM_HANDBOOK="forceoptional"
ECM_TEST="forceoptional"
@@ -11,7 +11,7 @@ VIRTUALX_REQUIRED="test"
inherit ecm kde.org
DESCRIPTION="Stopwatch application"
-HOMEPAGE="https://apps.kde.org/en/kronometer https://userbase.kde.org/Kronometer"
+HOMEPAGE="https://apps.kde.org/kronometer https://userbase.kde.org/Kronometer"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="GPL-2+"
@@ -31,3 +31,8 @@ DEPEND="
>=kde-frameworks/kxmlgui-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-missing-dep.patch"
+ "${FILESDIR}/${P}-missing-link.patch"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-24 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-24 10:46 [gentoo-commits] repo/gentoo:master commit in: x11-misc/kronometer/files/, x11-misc/kronometer/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox