app-i18n/fcitx-lua: sync from main tree
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
This commit is contained in:
1 parent
868dfa69f0
commit
9d06813c19
1 file changed
+13
-11
@@ -1,40 +1,42 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{3,4} )
|
||||
|
||||
inherit cmake lua xdg git-r3
|
||||
MY_PN="fcitx5-lua"
|
||||
|
||||
inherit cmake lua-single git-r3 xdg
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-lua.git"
|
||||
DESCRIPTION="Lua support for fcitx"
|
||||
HOMEPAGE="https://github.com/fcitx/fcitx5-lua"
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-lua.git"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="5"
|
||||
KEYWORDS=""
|
||||
IUSE="+dlopen test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${LUA_DEPS}
|
||||
app-i18n/fcitx:5
|
||||
>=app-i18n/fcitx-5.1.13:5
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
|
||||
-DUSE_DLOPEN=$(usex dlopen)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user