void-packages/srcpkgs/fcitx5-unikey/template

25 lines
825 B
Bash

# Template file for 'fcitx5-unikey'
pkgname=fcitx5-unikey
version=5.1.2
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=e56db4731f55615448328b07dc18cc7af518f2d8801ee516fadbdab36aac93c1
conflicts="fcitx-unikey>=0"
fcitx5-unikey-macro-editor_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Macro Editor"
pkg_install() {
vmove usr/lib/fcitx5/qt6
}
}