Skip to content

Commit

Permalink
support cloud pinyin (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Feb 12, 2025
1 parent 99b1df1 commit 362c9a5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion engines/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ if (CHINESE_ADDONS)
install(TARGETS kenlm EXPORT LibIMECoreTargets LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT lib)

option(ENABLE_GUI OFF)
option(ENABLE_CLOUDPINYIN OFF)
add_subdirectory(fcitx5-chinese-addons)
list(APPEND DEFAULT_INPUT_METHODS pinyin shuangpin wbx)
endif()
Expand Down
1 change: 1 addition & 0 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
deps=(
boost
curl
fmt
glog
json-c
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ if (CHINESE_ADDONS)
copy_to_keyboard(copy "${CHINESE_ADDONS_BINARY_DIR}/modules/fullwidth/fullwidth.conf" "share/fcitx5/addon/fullwidth.conf")
copy_to_keyboard(copy "${CHINESE_ADDONS_BINARY_DIR}/modules/punctuation/punctuation.conf" "share/fcitx5/addon/punctuation.conf")
copy_to_keyboard(copy "${CHINESE_ADDONS_BINARY_DIR}/modules/chttrans/chttrans.conf" "share/fcitx5/addon/chttrans.conf")
copy_to_keyboard(copy "${CHINESE_ADDONS_BINARY_DIR}/modules/cloudpinyin/cloudpinyin.conf" "share/fcitx5/addon/cloudpinyin.conf")

# Shared resources
copy_to_keyboard(copy_directory "${PREBUILDER_LIB_DIR}/libime" "lib/libime")
Expand Down

0 comments on commit 362c9a5

Please sign in to comment.