Skip to content

Commit

Permalink
app-i18n/fcitx-lua: add 5.0.11, drop 5.0.10, update live
Browse files Browse the repository at this point in the history
Signed-off-by: liuyujielol <[email protected]>
  • Loading branch information
liuyujielol authored and liangyongxiang committed Nov 14, 2023
1 parent 20a6bc7 commit f4fa841
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app-i18n/fcitx-lua/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST fcitx5-lua-5.0.10.tar.gz 38799 BLAKE2B 0685141fbfd127df3f50b576178b498335f3f6e96ecd7a681e3e616b0ae3f655a3004b374a855db370bdbc02096622003152e4cd3b916e5ee748b507377e8926 SHA512 b015e6a5f8cf34e6df9080cfa8cf3cb2d856f53b1750a930fafcf190b556ac82a7b1941411688deb9400878d9d49d5cc3cf7c1c66e108c97ad391c038503fd29
DIST fcitx5-lua-5.0.11.tar.gz 38830 BLAKE2B 02bf32f4d8d9274014e77d0cef37371f503e345aff4ff654bf347a9c3b2cb88f2b4d7db10faacdfd188f73b427a49a17a749551e7db05b2a75f03eb9588e2132 SHA512 cdc0c4d513af1ac09c020e1b5707498742bc487b48297519ef27de578e541afbc4c8895af06c6f9da83c4c31ff1618ab8a64f3a310d14338e553661b9f0cda82
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-lua"

LICENSE="LGPL-2+"
SLOT="5"
IUSE="test"
REQUIRED_USE=""
IUSE="+dlopen test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"

RDEPEND="
Expand All @@ -37,13 +37,16 @@ DEPEND="
"

BDEPEND="
kde-frameworks/extra-cmake-modules:5
virtual/pkgconfig
"

src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DUSE_DLOPEN=$(usex dlopen)
-DENABLE_TEST=$(usex test)
)
cmake_src_configure
}
9 changes: 6 additions & 3 deletions app-i18n/fcitx-lua/fcitx-lua-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand All @@ -23,8 +23,8 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-lua"

LICENSE="LGPL-2+"
SLOT="5"
IUSE="test"
REQUIRED_USE=""
IUSE="+dlopen test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"

RDEPEND="
Expand All @@ -37,13 +37,16 @@ DEPEND="
"

BDEPEND="
kde-frameworks/extra-cmake-modules:5
virtual/pkgconfig
"

src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DUSE_DLOPEN=$(usex dlopen)
-DENABLE_TEST=$(usex test)
)
cmake_src_configure
}
3 changes: 3 additions & 0 deletions app-i18n/fcitx-lua/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
$HOME/.local/share/fcitx5/lua/imeapi/extensions
to make the addon find your scripts.
</longdescription>
<use>
<flag name="dlopen">Use dlopen to load lua library</flag>
</use>
</pkgmetadata>

0 comments on commit f4fa841

Please sign in to comment.