Add chinese/fcitx5-mcbopomofo: McBopomofo for Fcitx5

This commit is contained in:
Li-Wen Hsu 2022-12-30 18:00:29 +08:00
parent e1a29a33c0
commit aa17ba01c9
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF
6 changed files with 55 additions and 0 deletions

View File

@ -35,6 +35,7 @@
SUBDIR += fcitx-ui-light
SUBDIR += fcitx5-chewing
SUBDIR += fcitx5-chinese-addons
SUBDIR += fcitx5-mcbopomofo
SUBDIR += fcitx5-rime
SUBDIR += fcitx5-table-extra
SUBDIR += fcitx5-table-other

View File

@ -0,0 +1,24 @@
PORTNAME= fcitx5-mcbopomofo
DISTVERSION= 2.4.2
CATEGORIES= chinese textproc
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= McBopomofo for Fcitx5
WWW= https://github.com/openvanilla/fcitx5-mcbopomofo
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \
libfmt.so:devel/libfmt
USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= openvanilla
USE_KDE= ecm
CMAKE_ARGS= -DENABLE_TEST=Off
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1672392270
SHA256 (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 90061879b11db13b8fe1397888e7d100656de8cc6107fccddd4ab2bd8e8ad85d
SIZE (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 1858726

View File

@ -0,0 +1,10 @@
--- src/McBopomofo.cpp.orig 2022-12-30 09:01:33 UTC
+++ src/McBopomofo.cpp
@@ -31,6 +31,7 @@
#include <fmt/format.h>
#include <memory>
+#include <sstream>
#include <unordered_map>
#include <utility>

View File

@ -0,0 +1 @@
McBopomofo support for Fcitx5 input method framework.

View File

@ -0,0 +1,16 @@
lib/fcitx5/mcbopomofo.so
share/fcitx5/addon/mcbopomofo.conf
share/fcitx5/data/mcbopomofo-add-phrase-hook.sh
share/fcitx5/data/mcbopomofo-data-plain-bpmf.txt
share/fcitx5/data/mcbopomofo-data.txt
share/fcitx5/inputmethod/mcbopomofo-plain.conf
share/fcitx5/inputmethod/mcbopomofo.conf
share/icons/hicolor/24x24/apps/fcitx-mcbopomofo.png
share/icons/hicolor/24x24/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png
share/icons/hicolor/32x32/apps/fcitx-mcbopomofo.png
share/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png
share/icons/hicolor/64x64/apps/fcitx-mcbopomofo.png
share/icons/hicolor/64x64/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png
share/locale/en/LC_MESSAGES/fcitx5-mcbopomofo.mo
share/locale/zh_TW/LC_MESSAGES/fcitx5-mcbopomofo.mo
share/metainfo/org.fcitx.Fcitx5.Addon.McBopomofo.metainfo.xml