From 994b2cfb62a30e08603ec79df4d42300a3f0b3bf Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Wed, 18 Mar 2026 19:25:48 +0800 Subject: [PATCH] app-i18n/fcitx-lua: add 5.0.16 Part-of: https://github.com/gentoo/gentoo/pull/45967 Signed-off-by: jinqiang zhang Signed-off-by: Yixun Lan --- app-i18n/fcitx-lua/Manifest | 1 + app-i18n/fcitx-lua/fcitx-lua-5.0.16.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 app-i18n/fcitx-lua/fcitx-lua-5.0.16.ebuild diff --git a/app-i18n/fcitx-lua/Manifest b/app-i18n/fcitx-lua/Manifest index ac2e9d1c7fb05..4e2ba35aeca29 100644 --- a/app-i18n/fcitx-lua/Manifest +++ b/app-i18n/fcitx-lua/Manifest @@ -1,2 +1,3 @@ DIST fcitx-lua-5.0.14.tar.zst 40916 BLAKE2B bd69c015af2c386ca3574d7176e76713f468ba68c4b8fc1369be293730c20ff31cccc5ff12a9379c9d16233bae7b16a968954cf5fc2b406400e95ec0cff0f3fb SHA512 87b8fc3e8d41d08e83281140a905fa63f4b927ee8355b2e7c4d06b862cc08d35b6c39d5d8116c90dc47cbc0e046ae0b98086fea1b019d2eb140dcbfa6eec4b28 DIST fcitx-lua-5.0.15.tar.zst 40964 BLAKE2B 3d7475026fd0f263a1041d1f34ff14d1b4d4394797962bed78c676921c47ed9d23cb26ae2d04d10729ca127cb1db20c511b228d7dd1013f49d4cb057a19ea410 SHA512 fc7d979022294ed9b62a3b804312ba3c4bfa27452c5bd357170d68505a25f3b637c510c90c27f5f11532170cb6910c79b32d3004ee3f25b99583fa7c4a940929 +DIST fcitx-lua-5.0.16.tar.zst 41326 BLAKE2B a41d5979e87a321002bc745ee27eb2b632bce2870a952cd6384b0a3c1dd1d3c417b18b7873d527977b2edb7d8068fa42b3e115d9ddca26f7197764ec1690caf1 SHA512 ae6e4570344705dd825961c2a7aa76eaa5dea6342f5262f4dc99957d212f59b06707a2e808fae9c25c8cc747134a573e667b7ccd95f0f50e18af849580dc7c96 diff --git a/app-i18n/fcitx-lua/fcitx-lua-5.0.16.ebuild b/app-i18n/fcitx-lua/fcitx-lua-5.0.16.ebuild new file mode 100644 index 0000000000000..baee2d9fff782 --- /dev/null +++ b/app-i18n/fcitx-lua/fcitx-lua-5.0.16.ebuild @@ -0,0 +1,45 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3,4} ) + +MY_PN="fcitx5-lua" + +inherit cmake lua-single xdg unpacker + +DESCRIPTION="Lua support for fcitx" +HOMEPAGE="https://github.com/fcitx/fcitx5-lua" +SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst" + +S="${WORKDIR}/${MY_PN}-${PV}" +LICENSE="LGPL-2.1+" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="+dlopen test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${LUA_DEPS} + >=app-i18n/fcitx-5.1.13:5 +" +DEPEND="${RDEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + sys-devel/gettext + virtual/pkgconfig +" + +pkg_setup() { + lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DUSE_DLOPEN=$(usex dlopen) + -DENABLE_TEST=$(usex test) + ) + cmake_src_configure +}