New package: maliit-keyboard-2.3.1

This commit is contained in:
Hervy Qurrotul Ainur Rozi 2025-01-13 14:48:53 +08:00 committed by John Zimmermann
parent 17ee71ff2f
commit c99ba29015
2 changed files with 36 additions and 0 deletions

1
srcpkgs/maliit-keyboard-doc Symbolic link
View file

@ -0,0 +1 @@
maliit-keyboard

View file

@ -0,0 +1,35 @@
# 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
}
}