View | Details | Raw Unified | Return to bug 276165
Collapse All | Expand All

(-)b/textproc/fcitx-qt5/Makefile (-1 / +17 lines)
Lines 12-22 Link Here
12
LIB_DEPENDS=	libfcitx-config.so:chinese/fcitx \
12
LIB_DEPENDS=	libfcitx-config.so:chinese/fcitx \
13
		libxkbcommon.so:x11/libxkbcommon
13
		libxkbcommon.so:x11/libxkbcommon
14
14
15
USES=		compiler:c++11-lib cmake gettext kde:5 pkgconfig qt:5
15
FCITX_QT?=	qt5
16
17
USES=		compiler:c++11-lib cmake gettext kde:5 pkgconfig
18
.if ${FCITX_QT} == qt6
19
USES+=		qt:6
20
CMAKE_ON+=	ENABLE_QT6
21
CMAKE_OFF+=	ENABLE_LIBRARY ENABLE_QT5
22
.else
23
USES+=		qt:5
24
CMAKE_ON+=	ENABLE_LIBRARY ENABLE_QT5
25
CMAKE_OFF+=	ENABLE_QT6
26
.endif
16
USE_GITHUB=	yes
27
USE_GITHUB=	yes
17
GH_ACCOUNT=	fcitx
28
GH_ACCOUNT=	fcitx
18
USE_KDE=	ecm
29
USE_KDE=	ecm
30
.if ${FCITX_QT} == qt6
31
USE_QT=		base
32
PLIST?=	${PKGDIR}/pkg-plist.qt6
33
.else
19
USE_QT=		concurrent core dbus gui widgets buildtools:build qmake:build
34
USE_QT=		concurrent core dbus gui widgets buildtools:build qmake:build
35
.endif
20
USE_LDCONFIG=	yes
36
USE_LDCONFIG=	yes
21
37
22
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)b/textproc/fcitx-qt5/pkg-plist.qt6 (+1 lines)
Added Link Here
1
%%QT_PLUGINDIR%%/platforminputcontexts/libfcitxplatforminputcontextplugin-qt6.so
(-)b/textproc/fcitx-qt6/Makefile (+8 lines)
Added Link Here
1
PKGNAMESUFFIX=	-qt6
2
3
COMMENT=	Fcitx4 support for Qt6 (plugin file only)
4
5
MASTERDIR=	${.CURDIR}/../../textproc/fcitx-qt5
6
7
FCITX_QT=	qt6
8
.include "${MASTERDIR}/Makefile"
(-)b/textproc/Makefile (+1 lines)
Lines 204-209 Link Here
204
    SUBDIR += fblog
204
    SUBDIR += fblog
205
    SUBDIR += fcitx-m17n
205
    SUBDIR += fcitx-m17n
206
    SUBDIR += fcitx-qt5
206
    SUBDIR += fcitx-qt5
207
    SUBDIR += fcitx-qt6
207
    SUBDIR += fcitx-table-other
208
    SUBDIR += fcitx-table-other
208
    SUBDIR += fcitx5
209
    SUBDIR += fcitx5
209
    SUBDIR += fcitx5-configtool
210
    SUBDIR += fcitx5-configtool

Return to bug 276165