kde-misc/zanshin: Fix build against >=kde-apps/akonadi-19.04
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Jun 2019 11:02:45 +0000 (13:02 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Jun 2019 11:44:02 +0000 (13:44 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-misc/zanshin/files/zanshin-0.5.0-cmake.patch [new file with mode: 0644]
kde-misc/zanshin/zanshin-0.5.0.ebuild

diff --git a/kde-misc/zanshin/files/zanshin-0.5.0-cmake.patch b/kde-misc/zanshin/files/zanshin-0.5.0-cmake.patch
new file mode 100644 (file)
index 0000000..6d6facb
--- /dev/null
@@ -0,0 +1,25 @@
+From 87e98e6b0aa704558009574eed8d8bdf2bfa0fbb Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 22 Jun 2019 12:47:28 +0200
+Subject: [PATCH] Add missing KF5 dependency (fix broken cmake against >=19.04)
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a6191f54..960fc6c7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -67,6 +67,7 @@ include_directories (
+ find_package(KF5 REQUIRED COMPONENTS
+     AkonadiCalendar
++    AkonadiContact
+     AkonadiNotes
+     AkonadiSearch
+     IdentityManagement
+-- 
+2.22.0
+
index 3a8f084bb7bf0dddc10bca4e0d237e6b30574dae..96b3141c24ec79004a426b9312073934f2193a88 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -60,3 +60,5 @@ RDEPEND="${COMMON_DEPEND}
        !kde-misc/zanshin:4
        $(add_kdeapps_dep kdepim-runtime)
 "
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )