git: ab3d33d45044 - main - devel/kf5-knotifications: Disable DBusMenu support

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Mon, 28 Sep 2026 19:53:15 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ab3d33d45044701c7c5b8c3e0b911d7afa044334

commit ab3d33d45044701c7c5b8c3e0b911d7afa044334
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-09-28 19:53:08 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-09-28 19:53:08 +0000

    devel/kf5-knotifications: Disable DBusMenu support
    
    libdbusmenu-qt is not needed for Qt6 apps, the project is dead, the
    port will be removed.
    
    While here drop unused dependencies.
    
    PR:             298946
---
 devel/kf5-knotifications/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/devel/kf5-knotifications/Makefile b/devel/kf5-knotifications/Makefile
index 146b866c0948..4c18c489042a 100644
--- a/devel/kf5-knotifications/Makefile
+++ b/devel/kf5-knotifications/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	knotifications
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KF5 abstraction for system notifications
 
-LIB_DEPENDS=	libdbusmenu-qt5.so:devel/libdbusmenu-qt@qt5 \
-		libcanberra.so:audio/libcanberra
+LIB_DEPENDS=	libcanberra.so:audio/libcanberra
 
 USES=		cmake compiler:c++11-lib gettext kde:5 qt:5 tar:xz xorg
 USE_KDE=	config coreaddons windowsystem \
@@ -15,12 +15,12 @@ USE_QT=		core dbus declarative gui linguisttools network widgets x11extras \
 		buildtools:build qmake:build
 USE_XORG=	x11 xtst
 
+CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_dbusmenu-qt5
+
 OPTIONS_DEFINE=		AUDIO
 OPTIONS_DEFAULT=	AUDIO
 
 AUDIO_DESC=		Audio notifications/text-to-speech support
-AUDIO_LIB_DEPENDS=	libcanberra-gtk3.so:audio/libcanberra-gtk3
 AUDIO_USE=		QT=speech
-AUDIO_USES=		pkgconfig
 
 .include <bsd.port.mk>