| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.14 | 8 | ~amd64 ~x86 | 0 |
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake unpacker
DESCRIPTION="A library make use of libime to implement jyutping input method"
HOMEPAGE="https://github.com/fcitx/libime-jyutping"
SRC_URI="https://download.fcitx-im.org/fcitx5/${PN}/${P}_dict.tar.zst -> ${P}.tar.zst"
LICENSE="LGPL-2.1+ GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +engine test"
RESTRICT="!test? ( test )"
DEPEND="
>=app-i18n/libime-1.1.3:5
app-arch/zstd
>=dev-libs/boost-1.61:=
dev-libs/libfmt
doc? (
app-text/doxygen
dev-texlive/texlive-fontutils
)
engine? (
>=app-i18n/fcitx-5.1.12:5
app-i18n/fcitx-chinese-addons:5
sys-devel/gettext
)
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_ENGINE=$(usex engine)
-DENABLE_TEST=$(usex test)
-DENABLE_DOC=$(usex doc)
)
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/*
}
>=app-i18n/libime-1.1.3:5 app-arch/zstd >=dev-libs/boost-1.61:= dev-libs/libfmt doc? ( app-text/doxygen dev-texlive/texlive-fontutils ) engine? ( >=app-i18n/fcitx-5.1.12:5 app-i18n/fcitx-chinese-addons:5 sys-devel/gettext )
>=app-i18n/libime-1.1.3:5 app-arch/zstd >=dev-libs/boost-1.61:= dev-libs/libfmt doc? ( app-text/doxygen dev-texlive/texlive-fontutils ) engine? ( >=app-i18n/fcitx-5.1.12:5 app-i18n/fcitx-chinese-addons:5 sys-devel/gettext )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libime-jyutping-1.0.14.tar.zst | 13054600 bytes | https://download.fcitx-im.org/fcitx5/libime-jyutping/libime-jyutping-1.0.14_dict.tar.zst |