1 # Copyright 1999-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 EGIT_REPO_URI
="https://github.com/fcitx/libime.git"
9 EGIT_SUBMODULES
=( 'src/libime/kenlm' )
11 https://download.fcitx-im.org/data/lm_sc.arpa-20230712.tar.xz -> ${PN}-lm_sc.arpa-20230712.tar.xz
12 https://download.fcitx-im.org/data/dict-20230412.tar.xz -> ${PN}-dict-20230412.tar.xz
13 https://download.fcitx-im.org/data/table.tar.gz -> ${PN}-table.tar.gz
15 DESCRIPTION
="Fcitx5 Next generation of fcitx "
16 HOMEPAGE
="https://fcitx-im.org/"
20 RESTRICT
="!test? ( test )"
23 >=app-i18n/fcitx-5.1.5:5
29 kde-frameworks/extra-cmake-modules:0
33 media-gfx/graphviz[svg]
38 ln -sv "${DISTDIR}/${PN}-lm_sc.arpa-20230712.tar.xz" "${S}/data/lm_sc.arpa-20230712.tar.xz" || die
39 ln -sv "${DISTDIR}/${PN}-dict-20230412.tar.xz" "${S}/data/dict-20230412.tar.xz" || die
40 ln -sv "${DISTDIR}/${PN}-table.tar.gz" "${S}/data/table.tar.gz" || die
46 -DENABLE_DOC=$
(usex doc
)
47 -DENABLE_TEST=$
(usex
test)
54 use doc
&& cmake_src_compile doc
59 use doc
&& dodoc
-r "${BUILD_DIR}"/doc
/*