mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-25 00:19:49 +02:00
Closes: https://github.com/gentoo/gentoo/pull/42824 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
36 lines
736 B
Bash
36 lines
736 B
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PN="fcitx5-chewing"
|
|
|
|
inherit cmake unpacker xdg
|
|
|
|
DESCRIPTION="Chewing Wrapper for Fcitx."
|
|
HOMEPAGE="https://github.com/fcitx/fcitx5-chewing"
|
|
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst"
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="5"
|
|
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
!app-i18n/fcitx-chewing:4
|
|
>=app-i18n/fcitx-5.1.13:5
|
|
>=app-i18n/libchewing-0.5.0
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DENABLE_TEST=$(usex test)
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|