diff options
author | Yongxiang Liang <tanekliang@gmail.com> | 2024-01-05 12:34:58 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-01-11 00:20:11 +0000 |
commit | d5b95dea8d5fe7cd58d2a65541ce9824d84628e4 (patch) | |
tree | 52c18e253b099ca8e69fe7c09a29d36ad8d94c94 /app-i18n | |
parent | app-i18n/fcitx-lua: add 5.0.12 (diff) | |
download | gentoo-d5b95dea8d5fe7cd58d2a65541ce9824d84628e4.tar.gz gentoo-d5b95dea8d5fe7cd58d2a65541ce9824d84628e4.tar.bz2 gentoo-d5b95dea8d5fe7cd58d2a65541ce9824d84628e4.zip |
app-i18n/libime: add 1.1.4
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/libime/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/libime/libime-1.1.4.ebuild | 50 | ||||
-rw-r--r-- | app-i18n/libime/metadata.xml | 3 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest index fd73e8f22fd2..7f51a3e3407a 100644 --- a/app-i18n/libime/Manifest +++ b/app-i18n/libime/Manifest @@ -1 +1,2 @@ DIST libime-1.1.3_dict.tar.xz 36438528 BLAKE2B 2577362aeddf398b9ee7d29c71d157f7aef67b30d2463719ed020eaaa98e955c83b8a7df1e90e4519ae13d2146eff440dafdb93d723a2feaeb60f96e70633410 SHA512 5079721651df334292fbcc6275ded55d41c6380183ef5487be558e93b551a6a6d651fb0fa0456c1d40ffdae432bf51375058fdcf631ea8a93c8751530642fc92 +DIST libime-1.1.4_dict.tar.xz 36440016 BLAKE2B 8bb6f4b39cacba4730145a23c53357a3ed42f2fdbeccd73d18f84434141219a7ea91bcbb1a38d5e61c9d72421649920dd393de4cb9248e8b8c6aeacf6e6f65db SHA512 8d3a565022da401fc338811b69905f000100be6cfdaa3cffb4fc1814854f4610b992fe3a43eeb49205b819d4a4382cacf16adf5d27d7d7f735293957f7db463c diff --git a/app-i18n/libime/libime-1.1.4.ebuild b/app-i18n/libime/libime-1.1.4.ebuild new file mode 100644 index 000000000000..b16859ef4418 --- /dev/null +++ b/app-i18n/libime/libime-1.1.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fcitx5 Next generation of fcitx " +HOMEPAGE="https://fcitx-im.org/" +SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="+data doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-i18n/fcitx-5.1.5:5 + app-arch/zstd:= + dev-libs/boost:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-texlive/texlive-fontutils + ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_DATA=$(usex data) + -DENABLE_DOC=$(usex doc) + -DENABLE_TEST=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + use doc && dodoc -r "${BUILD_DIR}"/doc/* +} diff --git a/app-i18n/libime/metadata.xml b/app-i18n/libime/metadata.xml index 63181ec1c708..e060f0b0724d 100644 --- a/app-i18n/libime/metadata.xml +++ b/app-i18n/libime/metadata.xml @@ -13,6 +13,9 @@ <email>cjk@gentoo.org</email> <name>Cjk</name> </maintainer> + <use> + <flag name="data">Build data</flag> + </use> <upstream> <remote-id type="github">fcitx/libime</remote-id> </upstream> |