Changeset View
Changeset View
Standalone View
Standalone View
chinese/fcitx/Makefile
Show All 35 Lines | |||||
CONFLICTS= zh-scim-fcitx-3.* | CONFLICTS= zh-scim-fcitx-3.* | ||||
USE_GNOME= pango intltool libxml2 introspection | USE_GNOME= pango intltool libxml2 introspection | ||||
USE_KDE= ecm | USE_KDE= ecm | ||||
USE_XORG= x11 xext xkbfile sm ice | USE_XORG= x11 xext xkbfile sm ice | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USES= tar:xz cmake desktop-file-utils execinfo \ | USES= tar:xz cmake desktop-file-utils execinfo \ | ||||
gettext-tools:build,run gettext-runtime iconv:wchar_t \ | gettext-tools:build,run gettext-runtime iconv:wchar_t \ | ||||
kde:5 pkgconfig shared-mime-info | kde:5 pkgconfig qt:4 shared-mime-info | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS | OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS | ||||
OPTIONS_DEFAULT=GTK2 QT4 | OPTIONS_DEFAULT=GTK2 QT4 | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
GTK2_DESC= Enable Gtk2 IM module | GTK2_DESC= Enable Gtk2 IM module | ||||
GTK2_USE= GNOME=gtk20 | GTK2_USE= GNOME=gtk20 | ||||
Show All 29 Lines | |||||
PLIST_SUB+= GTK3="" | PLIST_SUB+= GTK3="" | ||||
SUB_LIST+= GTK3_IM=fcitx | SUB_LIST+= GTK3_IM=fcitx | ||||
.else | .else | ||||
PLIST_SUB+= GTK3="@comment " | PLIST_SUB+= GTK3="@comment " | ||||
SUB_LIST+= GTK3_IM=xim | SUB_LIST+= GTK3_IM=xim | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MQT4} | .if ${PORT_OPTIONS:MQT4} | ||||
USE_QT4+= qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib | USE_QT+= moc_build qmake_build rcc_build uic_build dbus gui inputmethods corelib | ||||
USE_LDCONFIG+= ${PREFIX}/lib/fcitx/qt | USE_LDCONFIG+= ${PREFIX}/lib/fcitx/qt | ||||
PLIST_SUB+= QT4="" | PLIST_SUB+= QT4="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF | CMAKE_ARGS+= -DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF | ||||
PLIST_SUB+= QT4="@comment " | PLIST_SUB+= QT4="@comment " | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MOPENCC} | .if ${PORT_OPTIONS:MOPENCC} | ||||
Show All 27 Lines |