# Template file for 'fcitx5-rime'
pkgname=fcitx5-rime
version=5.1.9
revision=1
build_style=cmake
configure_args="-DRIME_DATA_DIR=/usr/share/rime-data"
hostmakedepends="cldr-emoji-annotation pkg-config gettext doxygen
 extra-cmake-modules"
makedepends="libfcitx5-devel fmt-devel librime-devel"
depends="brise"
short_desc="Fcitx v5 - RIME engine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://fcitx-im.org/wiki/Fcitx"
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-rime/fcitx5-rime-${version}.tar.zst"
checksum=f9a21bee4b6684a6fa8b186fcc21ba18b78451f4b7407266119dd8184e58ad98
lib32disabled=yes
replaces="fcitx5-rime-icons>=0 fcitx-rime>=0"

fcitx-rime_package() {
	short_desc+=" - transition"
	depends="fcitx5-rime"
	build_style=meta
}
