diff --git a/srcpkgs/fcitx-unikey/template b/srcpkgs/fcitx-unikey/template new file mode 100644 index 00000000000..62d8e3f8bb8 --- /dev/null +++ b/srcpkgs/fcitx-unikey/template @@ -0,0 +1,20 @@ +# Template file for 'fcitx-unikey' +pkgname=fcitx-unikey +version=0.2.7 +revision=1 +build_style=cmake +configure_args="-DENABLE_QT=$(vopt_if qt5 ON OFF)" +hostmakedepends="pkg-config gobject-introspection" +makedepends="fcitx-devel gettext-devel $(vopt_if qt5 libfcitx-qt5-devel)" +short_desc="Support unikey (Vietnamese input method) for fcitx" +maintainer="Doan Tran Cong Danh " +license="GPL-3.0-or-later" +homepage="https://gitlab.com/fcitx/fcitx-unikey" +distfiles="https://download.fcitx-im.org/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=e750774b73b08e51148b963736d8207e50c3973e5456b6569cb7ad86831e0e59 +build_options="qt5" +desc_option_qt5="Support Qt5 applications" + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" fcitx" +fi