Date: Friday, February 18, 2022 @ 15:10:42
  Author: arojas
Revision: 1133972

Fix build with akonadi 21.12 (FS#73848)

Modified:
  kjots/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-18 14:33:32 UTC (rev 1133971)
+++ PKGBUILD    2022-02-18 15:10:42 UTC (rev 1133972)
@@ -2,20 +2,26 @@
 
 pkgname=kjots
 pkgver=5.1.0
-pkgrel=1
-pkgdesc="A note taking application for KDE"
-url="https://www.kde.org/applications/utilities/kjots/";
+pkgrel=2
+pkgdesc='A note taking application for KDE'
+url='https://www.kde.org/applications/utilities/kjots/'
 arch=(x86_64)
 license=(GPL)
 depends=(kontactinterface akonadi akonadi-notes kpimtextedit grantlee)
 makedepends=(extra-cmake-modules kdoctools boost)
-source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz";
-         kjots-deps.patch)
+source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz
+        kjots-deps.patch
+        https://invent.kde.org/pim/kjots/-/commit/3d3cee8c.patch
+        https://invent.kde.org/pim/kjots/-/commit/581548a1.patch)
 sha256sums=('0cee6238410ef4ae6ec66dc45a1499d8db92801122e4d7906060ce4623e812be'
-            'ce40361c97011c4ea7e984c403b7196d307eb552e05b36b54356600bca885f1a')
+            'ce40361c97011c4ea7e984c403b7196d307eb552e05b36b54356600bca885f1a'
+            '2f4ccaa9f8d98ea642ca5091bb4f863643729ad4a16133d0840fadfcc2232495'
+            'cbc9ee94ffba826a4aec4e09ff8c28eca5ffb1945249c6752598384bba4e84cd')
 
 prepare() {
   patch -d $pkgname-$pkgver -p1 < kjots-deps.patch # Remove unused dependencies
+  patch -d $pkgname-$pkgver -p1 < 3d3cee8c.patch # Fix build with akonadi 21.12
+  patch -d $pkgname-$pkgver -p1 < 581548a1.patch # Fix build with akonadi 21.12
 }
 
 build() {

Reply via email to