1 # Copyright 2023-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="A library make use of libime to implement jyutping input method"
9 HOMEPAGE
="https://github.com/fcitx/libime-jyutping"
10 SRC_URI
="https://download.fcitx-im.org/fcitx5/${PN}/${P}_dict.tar.zst -> ${P}.tar.zst"
12 LICENSE
="LGPL-2.1+ GPL-3+"
14 KEYWORDS
="~amd64 ~x86"
15 IUSE
="doc +engine test"
16 RESTRICT
="!test? ( test )"
19 >=app-i18n/libime-1.1.3:5
21 >=dev-libs/boost-1.61:=
25 dev-texlive/texlive-fontutils
29 app-i18n/fcitx-chinese-addons:5
37 -DENABLE_ENGINE=$
(usex engine
)
38 -DENABLE_TEST=$
(usex
test)
39 -DENABLE_DOC=$
(usex doc
)
46 use doc
&& cmake_src_compile doc
51 use doc
&& dodoc
-r "${BUILD_DIR}"/doc
/*