Import fcitx5-lua-5.0.5

fcitx5-lua provides Lua support for fcitx5.

From Yifei Zhan
This commit is contained in:
kevlo 2022-05-13 01:38:49 +00:00
parent ff15fa0cfe
commit 188a487dae
4 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,36 @@
COMMENT = Lua support for fcitx5
DISTNAME = fcitx5-lua-5.0.5
CATEGORIES = inputmethods
HOMEPAGE = https://github.com/fcitx/fcitx5-lua
MAINTAINER = Yifei Zhan <openbsd@zhan.science>
# LGPLv2.1+
PERMIT_PACKAGE= Yes
MASTER_SITES = https://download.fcitx-im.org/fcitx5/fcitx5-lua/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_SUFX = .tar.xz
WANTLIB += ${COMPILER_LIBCXX} Fcitx5Config Fcitx5Core Fcitx5Utils
WANTLIB += m
COMPILER = base-clang ports-clang ports-gcc
MODULES = devel/kf5
MODQT5_DEPS = No
BUILD_DEPENDS = devel/gettext,-tools \
lang/lua/5.3 \
devel/iso-codes
RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
lang/lua/5.3
LIB_DEPENDS = inputmethods/fcitx5
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (fcitx5-lua-5.0.5.tar.xz) = iXv6Uf9VTSpNbsk/Ke1/Cai3i3m7w8Sua9wCPH9XeTg=
SIZE (fcitx5-lua-5.0.5.tar.xz) = 33800

View File

@ -0,0 +1,9 @@
fcitx5-lua provides Lua support for fcitx5.
It tries to support lua in fcitx in two ways:
1. An addon loader for lua, which supports Type=Lua addon.
2, The googlepinyin api, which is provided by imeapi addon.
You may put your lua file under
$HOME/.local/share/fcitx5/lua/imeapi/extensions to make the addon
find your scripts.

View File

@ -0,0 +1,25 @@
include/Fcitx5/
include/Fcitx5/Module/
include/Fcitx5/Module/fcitx-module/
include/Fcitx5/Module/fcitx-module/luaaddonloader/
include/Fcitx5/Module/fcitx-module/luaaddonloader/luaaddon_public.h
lib/cmake/Fcitx5ModuleLuaAddonLoader/
lib/cmake/Fcitx5ModuleLuaAddonLoader/Fcitx5ModuleLuaAddonLoaderConfig.cmake
lib/cmake/Fcitx5ModuleLuaAddonLoader/Fcitx5ModuleLuaAddonLoaderConfigVersion.cmake
lib/fcitx5/
@so lib/fcitx5/luaaddonloader.so
share/fcitx5/
share/fcitx5/addon/
share/fcitx5/addon/imeapi.conf
share/fcitx5/addon/luaaddonloader.conf
share/fcitx5/lua/
share/fcitx5/lua/imeapi/
share/fcitx5/lua/imeapi/imeapi.lua
share/locale/da/LC_MESSAGES/fcitx5-lua.mo
share/locale/ja/LC_MESSAGES/fcitx5-lua.mo
share/locale/ko/LC_MESSAGES/fcitx5-lua.mo
share/locale/zh_CN/LC_MESSAGES/fcitx5-lua.mo
share/locale/zh_TW/LC_MESSAGES/fcitx5-lua.mo
share/metainfo/
@tag gtk-update-icon-cache %D/share/icons/hicolor
share/metainfo/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml