git: 45e615aa90d5 - main - devel/kf6-kcoreaddons: restore INOTIFY option

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Sun, 23 Mar 2025 09:36:32 UTC
The branch main has been updated by makc:

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

commit 45e615aa90d54193245427ea010210505abd453b
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-03-23 09:34:37 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-03-23 09:34:37 +0000

    devel/kf6-kcoreaddons: restore INOTIFY option
    
    and explicitly disable Python bindings.
---
 devel/kf6-kcoreaddons/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/kf6-kcoreaddons/Makefile b/devel/kf6-kcoreaddons/Makefile
index f735cf8f218c..4d9212be48a0 100644
--- a/devel/kf6-kcoreaddons/Makefile
+++ b/devel/kf6-kcoreaddons/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	kcoreaddons
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel kde kde-frameworks
 
 COMMENT=	Qt addon library with a collection of non-GUI utilities
@@ -9,4 +10,14 @@ USES=		cmake kde:6 qt:6 shared-mime-info tar:xz
 USE_KDE=	ecm:build
 USE_QT=		base declarative tools
 
+# Requires PySide and Shiboken.
+CMAKE_OFF=	BUILD_PYTHON_BINDINGS
+
+OPTIONS_DEFINE=		INOTIFY
+OPTIONS_DEFAULT=	INOTIFY
+
+INOTIFY_DESC=		Filesystem alteration notifications using inotify
+INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
+INOTIFY_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_INOTIFY
+
 .include <bsd.port.mk>