summaryrefslogtreecommitdiff
path: root/x11-misc/kronometer
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/kronometer')
-rw-r--r--x11-misc/kronometer/Manifest4
-rw-r--r--x11-misc/kronometer/files/kronometer-2.2.3-missing-dep.patch24
-rw-r--r--x11-misc/kronometer/files/kronometer-2.2.3-missing-link.patch24
-rw-r--r--x11-misc/kronometer/kronometer-2.2.3.ebuild11
4 files changed, 59 insertions, 4 deletions
diff --git a/x11-misc/kronometer/Manifest b/x11-misc/kronometer/Manifest
index 581a3a81886d..f3e2ff100630 100644
--- a/x11-misc/kronometer/Manifest
+++ b/x11-misc/kronometer/Manifest
@@ -1,3 +1,5 @@
+AUX kronometer-2.2.3-missing-dep.patch 578 BLAKE2B 2395c67fbfc5c465ff71326dc3d0dba56768b814040913629c4718e2d2d4d0e782649bbdbd1cc7b0fc8b47ca6610b1f5ac5edd7a626143aea5bbfe6434fe4351 SHA512 3bac194647c9c78caa2103cf8a2ba7715524bdd293caa60ae0c6bfaf78b3fd5aa093f068d3fea2906368ecfb8d0e1d1f2be7c4e3733c4cd5caa0aa71150137f1
+AUX kronometer-2.2.3-missing-link.patch 589 BLAKE2B 231c8207d3df8f5480d2b20e5359c4eacafe55a15269334dda3b00dc5005e735ae530353b876dd5a2376ef498f74da0bdb12b56a58521a3f677663d71078691d SHA512 02bc07af28bc2f531be154c80b6c3189513439a0626d6660850a7fd16052771e62024b9f837c4c784ec7b9d1552d4c8706922948346af10633d25894ff6dddd1
DIST kronometer-2.2.3.tar.xz 124208 BLAKE2B f9d91bf19ba64e2c337b8181e2529b409a450c1e821c6b1358a1d57627959c65b5c4db0acd15a4c8f4cd3fb12197ce6a1bf3b95d4dc4922409223b528f5f62aa SHA512 77f948ae3a03b15a0cd49bc1048897bff0788a4831beff8f336270d8af6ee1a245d2174f5a3adc224257e9f319958197af7900ce8389b312f8fe7cd6c53a71d1
-EBUILD kronometer-2.2.3.ebuild 851 BLAKE2B c87924e0e898b3c03495449f834e95abf7ee0a5822b47e7d5db9a414507c288e67bf9435e71b5fe9d4a7833f596342121d517e15483864b19be2eedc12bc0e38 SHA512 271f5b1ebdb412bceae183b5ab995bfa2d3ae2a408c8a1aab6ac7bb5eb13c1042ffd6ae987a51f88a1d7f5d48bc37daaef32a2257f4d02af7343fe404ab0137d
+EBUILD kronometer-2.2.3.ebuild 938 BLAKE2B 2bc47e8a51a38978f6c06150ae52b302c46d59d765f24dcb2c095ecf27a8bcd3f048895ab7d4d478cf6fe569fc5a5b147dd6af5f87645a8f3c021d2b228a8087 SHA512 b5e8644f88e85591ac5d49236f9804600182fb200fa6c94cb4e5bcf348659a9947b4c50d84a5a0d7948e4de2bf7d5372eb7c0e03e281110ad52bf42d44d5052f
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
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"
+)