You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
946 B
51 lines
946 B
5 months ago
|
# Copyright 2023-2024 Gentoo Authors
|
||
5 months ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
4 weeks ago
|
inherit cmake unpacker
|
||
5 months ago
|
|
||
|
DESCRIPTION="Fcitx5 Next generation of fcitx "
|
||
|
HOMEPAGE="https://fcitx-im.org/"
|
||
4 weeks ago
|
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst"
|
||
5 months ago
|
|
||
|
LICENSE="LGPL-2+"
|
||
|
SLOT="5"
|
||
4 months ago
|
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||
4 months ago
|
IUSE="+data doc test"
|
||
5 months ago
|
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? (
|
||
4 months ago
|
app-text/doxygen
|
||
5 months ago
|
dev-texlive/texlive-fontutils
|
||
|
)
|
||
|
"
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
4 months ago
|
-DENABLE_DATA=$(usex data)
|
||
5 months ago
|
-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/*
|
||
|
}
|