void-packages/srcpkgs/maliit-keyboard/template
2025-01-19 18:02:46 +01:00

35 lines
1.2 KiB
Bash

# Template file for 'maliit-keyboard'
pkgname=maliit-keyboard
version=2.3.1
revision=1
build_style=cmake
configure_args="-Denable-presage=OFF
-Denable-tests=OFF
-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
hostmakedepends="gettext libpinyin pkg-config qt5-host-tools qt5-qmake"
makedepends="$(vopt_if anthy anthy-unicode-devel)
$(vopt_if libpinyin libpinyin-devel) glib-devel hunspell-devel
libchewing-devel maliit-framework-devel qt5-declarative-devel
qt5-multimedia-devel qt5-quickcontrols2-devel"
depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
short_desc="Virtual keyboard based on Maliit framework"
maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
license="LGPL-2.1-only"
homepage="https://maliit.github.io"
changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
build_options="anthy libpinyin"
build_options_default=""
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" anthy libpinyin"
fi
maliit-keyboard-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc/maliit-keyboard
}
}