2021-05-01 10:54:23 +02:00
|
|
|
# Template file for 'qt6-virtualkeyboard'
|
|
|
|
pkgname=qt6-virtualkeyboard
|
2021-06-07 17:54:08 +02:00
|
|
|
version=6.1.1
|
2021-05-01 10:54:23 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc="qtvirtualkeyboard-everywhere-src-${version}"
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DQT_HOST_PATH=/usr"
|
|
|
|
hostmakedepends="perl pkg-config qt6-declarative-devel"
|
|
|
|
makedepends="qt6-declarative-devel qt6-quickcontrols2-devel
|
|
|
|
qt6-svg-devel hunspell-devel"
|
|
|
|
depends="qt6-quickcontrols2"
|
|
|
|
short_desc="Cross-platform application and UI framework - virtualkeyboard"
|
|
|
|
maintainer="John <me@johnnynator.dev>"
|
|
|
|
license="GPL-3.0-only"
|
|
|
|
homepage="https://qt.io/"
|
|
|
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtvirtualkeyboard-everywhere-src-${version}.tar.xz"
|
2021-06-07 17:54:08 +02:00
|
|
|
checksum=246d1acdcd953819b09b1da22bd359335d145d8a3550d9e827dc1fd27b6bd3ff
|
|
|
|
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
|
|
configure_args+=" -DQT_BUILD_TESTS=ON"
|
|
|
|
fi
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
cd build
|
|
|
|
QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" \
|
|
|
|
ctest -E 'tst_(inputpanel|styles)'
|
|
|
|
# styles overwrites QML2_IMPORT_PATH
|
|
|
|
# inputpanel hangs
|
|
|
|
}
|
2021-05-01 10:54:23 +02:00
|
|
|
|
|
|
|
qt6-virtualkeyboard-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} $makedepends"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/qt6/mkspecs
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.prl"
|
|
|
|
}
|
|
|
|
}
|