diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-18 20:07:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-18 20:07:15 +0000 |
commit | a4c0eb2444b57e79bce0a088e5936ed71c415e8f (patch) | |
tree | 61a990b001109844a226b1fbe33bb38486a88c8e /app-i18n/libime/libime-1.1.5.ebuild | |
parent | e60b61e39bb9b7cbf525baa183a5a19234f335fa (diff) |
gentoo auto-resync : 18:01:2024 - 20:07:15
Diffstat (limited to 'app-i18n/libime/libime-1.1.5.ebuild')
-rw-r--r-- | app-i18n/libime/libime-1.1.5.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-i18n/libime/libime-1.1.5.ebuild b/app-i18n/libime/libime-1.1.5.ebuild new file mode 100644 index 000000000000..93be98f71519 --- /dev/null +++ b/app-i18n/libime/libime-1.1.5.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 ~arm64 ~loong ~riscv ~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-text/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/* +} |