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> |