From df0a3efee5a5cd7ac40ca4bc7dd427ca2dcccce1 Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Tue, 14 Jan 2025 14:32:55 +0100
Subject: [PATCH] community/korganizer: remove obsolete dep on akonadi-notes
 and modernize

---
 community/korganizer/APKBUILD | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/community/korganizer/APKBUILD b/community/korganizer/APKBUILD
index 06311a0f813d..eb6221e3c51e 100644
--- a/community/korganizer/APKBUILD
+++ b/community/korganizer/APKBUILD
@@ -1,12 +1,10 @@
-# Contributor: Bart Ribbers <bribbers@disroot.org>
-
 # The group tag is just to easily find this APKBUILD by some scripts for automation
 # group=kde-applications
 maintainer="team/kde <bribbers@disroot.org>"
 pkgname=korganizer
 pkgver=24.12.1
 pkgrel=0
-# armhf blocked by extra-cmake-modules
+# armhf blocked by qt6-qtdeclarative
 # ppc64le, s390x, riscv64 and armv7 blocked by qt6-qtwebengine -> kmailtransport
 # loongarch64 blocked by pimcommon
 arch="all !armhf !ppc64le !s390x !riscv64 !armv7 !loongarch64"
@@ -19,7 +17,6 @@ makedepends="
 	akonadi-contacts-dev
 	akonadi-dev
 	akonadi-mime-dev
-	akonadi-notes-dev
 	akonadi-search-dev
 	calendarsupport-dev
 	eventviews-dev
@@ -59,11 +56,12 @@ makedepends="
 	phonon-dev
 	pimcommon-dev
 	qt6-qtbase-dev
+	qt6-qtdeclarative-dev
 	samurai
 	"
 checkdepends="
 	dbus
-	xvfb-run
+	xwayland-run
 	"
 subpackages="$pkgname-doc $pkgname-lang"
 _repo_url="https://invent.kde.org/pim/korganizer.git"
@@ -80,7 +78,7 @@ build() {
 }
 
 check() {
-	dbus-run-session -- xvfb-run ctest --test-dir build --output-on-failure -E "reparentingmodel|akonadi-(mysql|sqlite)-koeventpopupmenutest"
+	dbus-run-session xwfb-run -- ctest --test-dir build -E "reparentingmodel|akonadi-(mysql|sqlite)-koeventpopupmenutest"
 }
 
 package() {
-- 
GitLab