summaryrefslogtreecommitdiff
path: root/textproc/fcitx5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/fcitx5/Makefile')
-rw-r--r--textproc/fcitx5/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile
index f228c4ab9d2b..88aa7a55eaba 100644
--- a/textproc/fcitx5/Makefile
+++ b/textproc/fcitx5/Makefile
@@ -1,6 +1,5 @@
PORTNAME= fcitx5
-DISTVERSION= 5.1.12
-PORTREVISION= 2
+DISTVERSION= 5.1.16
CATEGORIES= textproc
MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \
https://download.fcitx-im.org/data/:dict
@@ -19,7 +18,6 @@ BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \
uthash>=0:devel/uthash
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libexpat.so:textproc/expat2 \
- libfmt.so:devel/libfmt \
libjson-c.so:devel/json-c \
libuuid.so:misc/libuuid \
libuv.so:devel/libuv \
@@ -28,9 +26,11 @@ RUN_DEPENDS= iso-codes>=0:misc/iso-codes \
xkeyboard-config>=0:x11/xkeyboard-config
# gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts
-USES= cmake compiler:c++17-lang gettext-runtime \
+USES= cmake compiler:c++20-lang gettext-runtime \
gettext-tools:build,run gnome kde:5 pkgconfig tar:zst
+CXXFLAGS+= -fexperimental-library
+
PLIST_SUB= VER=${DISTVERSION}
CONFLICTS= zh-fcitx
@@ -49,10 +49,12 @@ X11_LIB_DEPENDS= libxcb-ewmh.so:x11/xcb-util-wm \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-util.so:x11/xcb-util
X11_RUN_DEPENDS= xcb-imdkit>=1.0.3:x11/xcb-imdkit
+X11_CMAKE_BOOL= ENABLE_X11
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols \
wayland-scanner:graphics/wayland
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
+WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND
ENCHANT_DESC= Dictionary/spellchecking framework
ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2