[neon/extras/kraft/Neon/release] debian: build with akonadi < 23.04

Pino Toscano null at kde.org
Wed Oct 4 11:17:06 BST 2023


Git commit a9a2677787a8368b3b57d117b0136e9c77908157 by Pino Toscano.
Committed on 17/09/2023 at 03:58.
Pushed by jriddell into branch 'Neon/release'.

build with akonadi < 23.04

simply revert this when introducing akonadi >= 23.04

M  +2    -0    debian/changelog
M  +3    -0    debian/rules

https://invent.kde.org/neon/extras/kraft/-/commit/a9a2677787a8368b3b57d117b0136e9c77908157

diff --git a/debian/changelog b/debian/changelog
index a05aafd..01566aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ kraft (1.1-0r1) UNRELEASED; urgency=medium
   * New upstream release.
   * Update the build dependencies according to the upstream build system:
     - bump cmake to 3.16.0
+  * Pass -DAKONADI_LEGACY_BUILD=ON to cmake to build with Akonadi older than
+    23.04 (i.e. what currently available in Debian unstable).
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sun, 17 Sep 2023 03:50:07 +0200
 
diff --git a/debian/rules b/debian/rules
index 4b076fa..f129ce6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,8 @@
 %:
 	dh $@ --with kf5,python3
 
+override_dh_auto_configure:
+	dh_auto_configure -Skf5 -- -DAKONADI_LEGACY_BUILD=ON
+
 override_dh_auto_test:
 	xvfb-run -a env KRAFT_HOME="$(CURDIR)" dh_auto_test --no-parallel



More information about the Neon-commits mailing list