void-packages/srcpkgs/fcitx5-unikey/template

25 lines
825 B
Bash

# Template file for 'fcitx5-unikey'
pkgname=fcitx5-unikey
version=5.1.3
revision=1
build_style=cmake
configure_args="-DENABLE_QT=On -DUSE_QT6=On"
hostmakedepends="pkg-config gettext extra-cmake-modules qt6-base"
makedepends="fcitx5 libfcitx5-devel fmt-devel fcitx5-qt6-devel"
depends="fcitx5"
short_desc="Fcitx5 - Unikey engine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://fcitx-im.org/wiki/Fcitx"
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-unikey/fcitx5-unikey-${version}.tar.xz"
checksum=a6e5befedff3e8e4421f92eae5a35bccd636988a190dc9a9befa0680d39c392b
conflicts="fcitx-unikey>=0"
fcitx5-unikey-macro-editor_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Macro Editor"
pkg_install() {
vmove usr/lib/fcitx5/qt6
}
}