diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-24 11:36:05 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-24 11:46:19 +0100 |
commit | c52f1d46e549406b3a81460d7d8ac17d6757a3fe (patch) | |
tree | 27393241a0e7c597bf109291c7fa722d739d8fc2 /x11-misc/kronometer | |
parent | kde-apps/knavalbattle: Add missing KCoreAddons link (diff) | |
download | gentoo-c52f1d46e549406b3a81460d7d8ac17d6757a3fe.tar.gz gentoo-c52f1d46e549406b3a81460d7d8ac17d6757a3fe.tar.bz2 gentoo-c52f1d46e549406b3a81460d7d8ac17d6757a3fe.zip |
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@gentoo.org>
Diffstat (limited to 'x11-misc/kronometer')
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" +) |