mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 10:50:54 +00:00
Closes: https://github.com/gentoo/gentoo/pull/44338 Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Signed-off-by: Yixun Lan <dlan@gentoo.org>
37 lines
861 B
Bash
37 lines
861 B
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PN="fcitx5-unikey"
|
|
inherit cmake unpacker xdg
|
|
|
|
DESCRIPTION="Unikey (Vietnamese Input Method) engine support for Fcitx"
|
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-unikey"
|
|
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst"
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="LGPL-2+ GPL-2+"
|
|
SLOT="5"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="+gui test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
>=app-i18n/fcitx-5.1.13:5
|
|
>=app-i18n/fcitx-qt-5.1.4:5[qt6(+),-onlyplugin]
|
|
gui? ( dev-qt/qtbase:6[dbus,gui,widgets] )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
kde-frameworks/extra-cmake-modules:0
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DENABLE_QT=$(usex gui)
|
|
-DENABLE_TEST=$(usex test)
|
|
)
|
|
cmake_src_configure
|
|
}
|