diff options
author | Yongxiang Liang <tanekliang@gmail.com> | 2024-04-23 20:53:15 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-04-24 23:45:10 +0000 |
commit | cfa075dd874ff229a4c53ddde7d0aa6794ad7d5b (patch) | |
tree | b0f36b446b10fffa33f6e9b1b68765219bba7a2a /app-i18n | |
parent | app-i18n/fcitx-table-other: add 5.1.2 (diff) | |
download | gentoo-cfa075dd874ff229a4c53ddde7d0aa6794ad7d5b.tar.gz gentoo-cfa075dd874ff229a4c53ddde7d0aa6794ad7d5b.tar.bz2 gentoo-cfa075dd874ff229a4c53ddde7d0aa6794ad7d5b.zip |
app-i18n/fcitx-lua: add 5.0.13
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/fcitx-lua/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/fcitx-lua/fcitx-lua-5.0.13.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-i18n/fcitx-lua/Manifest b/app-i18n/fcitx-lua/Manifest index 596dd080a9ff..2c7d6604f3e6 100644 --- a/app-i18n/fcitx-lua/Manifest +++ b/app-i18n/fcitx-lua/Manifest @@ -1 +1,2 @@ DIST fcitx-lua-5.0.12.tar.xz 33576 BLAKE2B 2aa2d526e42270a14efc3f163baf775012afb917bdb4aa7f52b2bf420265095100dfc84b61c34e892403b89bc96f3e258fa8030a735f234b820644bb8e443122 SHA512 1f6273ff8b9c0c3ef12dfcf508535b7865b33b102a8e158e82853c25717351339ba055012288d857f0aea5596398dd65ab9ed0c822a533b715dafcea3ec44798 +DIST fcitx-lua-5.0.13.tar.zst 40578 BLAKE2B 05defed55711d26c2fabf41e5474f7f90224a11cd8a758b5f7afc4ed6096560ab6c220745968bb0ca28367004cdf665856d04c3b52830092e3633188cd41c394 SHA512 40855f65537c2e56e1a00d7ea160d6aae9d360ff27def7f95b2f08de16c656db7a178a676f49d817b9d16eac80f73ad12f84b966eeed4a3f38f119519d288805 diff --git a/app-i18n/fcitx-lua/fcitx-lua-5.0.13.ebuild b/app-i18n/fcitx-lua/fcitx-lua-5.0.13.ebuild new file mode 100644 index 000000000000..7a101a7c365d --- /dev/null +++ b/app-i18n/fcitx-lua/fcitx-lua-5.0.13.ebuild @@ -0,0 +1,45 @@ +# Copyright 2023-2024 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 +" +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 +} |