summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-24 11:03:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-24 11:46:19 +0100
commit17d0560324b3930cad881026eabc92058f6165f5 (patch)
treec4b04c2122eafc59009e1d6bb12b3233e7930440 /kde-apps/knavalbattle
parentkde-apps/kshisen: Add missing KCoreAddons dep and link (diff)
downloadgentoo-17d0560324b3930cad881026eabc92058f6165f5.tar.gz
gentoo-17d0560324b3930cad881026eabc92058f6165f5.tar.bz2
gentoo-17d0560324b3930cad881026eabc92058f6165f5.zip
kde-apps/knavalbattle: Add missing KCoreAddons link
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/knavalbattle')
-rw-r--r--kde-apps/knavalbattle/files/knavalbattle-21.12.3-missing-link.patch37
-rw-r--r--kde-apps/knavalbattle/knavalbattle-21.12.3.ebuild2
2 files changed, 39 insertions, 0 deletions
diff --git a/kde-apps/knavalbattle/files/knavalbattle-21.12.3-missing-link.patch b/kde-apps/knavalbattle/files/knavalbattle-21.12.3-missing-link.patch
new file mode 100644
index 000000000000..113e0d6faee6
--- /dev/null
+++ b/kde-apps/knavalbattle/files/knavalbattle-21.12.3-missing-link.patch
@@ -0,0 +1,37 @@
+From 63c07ef82dabaa44f91d36921576abcce664d052 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 20 Mar 2022 16:06:46 +0100
+Subject: [PATCH] Add missing KCoreAddons dep
+
+---
+ CMakeLists.txt | 1 +
+ src/CMakeLists.txt | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7b0441c..8ed4a8d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,6 +28,7 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONEN
+ find_package(Qt${QT_MAJOR_VERSION}QuickWidgets ${REQUIRED_QT_VERSION} CONFIG)
+
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
++ CoreAddons
+ Config
+ Crash
+ DBusAddons
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 50843ab..2d65420 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -61,6 +61,7 @@ ecm_add_app_icon(knavalbattle ICONS ${ICONS_SRCS})
+ target_link_libraries(knavalbattle
+ Qt5::Xml
+ Qt5::Network
++ KF5::CoreAddons
+ KF5::I18n
+ KF5::XmlGui
+ KF5::Completion
+--
+GitLab
+
diff --git a/kde-apps/knavalbattle/knavalbattle-21.12.3.ebuild b/kde-apps/knavalbattle/knavalbattle-21.12.3.ebuild
index 74b802e2be92..28bb0af7064e 100644
--- a/kde-apps/knavalbattle/knavalbattle-21.12.3.ebuild
+++ b/kde-apps/knavalbattle/knavalbattle-21.12.3.ebuild
@@ -39,3 +39,5 @@ DEPEND="
RDEPEND="${DEPEND}"
DOCS=( AUTHORS )
+
+PATCHES=( "${FILESDIR}/${P}-missing-link.patch" )