git: 14d9e439335d - 2026Q3 - chinese/fcitx-libpinyin: Drop support for Qt5

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 19:19:21 UTC
The branch 2026Q3 has been updated by makc:

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

commit 14d9e439335dce2289f3128c2882a8088e6e1cec
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-09-07 19:17:25 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-09-07 19:18:39 +0000

    chinese/fcitx-libpinyin: Drop support for Qt5
    
    Qt5 option requires deprecated WebEngine.
    
    PR:             298172
    Approved by:    maintainer
    
    (cherry picked from commit 4a288edb4fd6b6f3b53d89beb9772259811e0fe7)
---
 chinese/fcitx-libpinyin/Makefile  | 20 ++------------------
 chinese/fcitx-libpinyin/pkg-plist |  1 -
 2 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile
index 51db9c80b2f9..64dbf1035b88 100644
--- a/chinese/fcitx-libpinyin/Makefile
+++ b/chinese/fcitx-libpinyin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fcitx-libpinyin
 PORTVERSION=	0.5.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	chinese
 MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/:body \
 		http://download.fcitx-im.org/data/:data
@@ -24,23 +24,7 @@ USES=		cmake gettext gnome pkgconfig tar:xz
 
 _MODEL_VER=	20161206
 
-OPTIONS_DEFINE=	QT5
-OPTIONS_DEFAULT_aarch64=	QT5
-OPTIONS_DEFAULT_amd64=	QT5
-OPTIONS_DEFAULT_i386=	QT5
-QT5_DESC=	Enable Qtr for dictmanager
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT5}
-USES+=		qt:5
-USE_QT=		qmake:build gui webengine buildtools:build
-USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
-PLIST_SUB+=	QT5=""
-.else
-CMAKE_ARGS+=	-DENABLE_QT=OFF
-PLIST_SUB+=	QT5="@comment "
-.endif
+CMAKE_OFF=	ENABLE_QT
 
 post-patch:
 	@${CP} ${_DISTDIR}/model.text.${_MODEL_VER}.tar.gz ${WRKSRC}/data/.
diff --git a/chinese/fcitx-libpinyin/pkg-plist b/chinese/fcitx-libpinyin/pkg-plist
index a871227f3375..6dd302628eb8 100644
--- a/chinese/fcitx-libpinyin/pkg-plist
+++ b/chinese/fcitx-libpinyin/pkg-plist
@@ -1,5 +1,4 @@
 lib/fcitx/fcitx-libpinyin.so
-%%QT5%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
 share/fcitx/addon/fcitx-libpinyin.conf
 share/fcitx/configdesc/fcitx-libpinyin.desc
 share/fcitx/imicon/bopomofo.png