46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 'qt6-virtualkeyboard'
|
|
pkgname=qt6-virtualkeyboard
|
|
version=6.7.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl pkg-config qt6-declarative-host-tools"
|
|
makedepends="qt6-declarative-private-devel qt6-svg-devel hunspell-devel
|
|
qt6-base-private-devel"
|
|
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"
|
|
checksum=320664b55a0960ff79c1b822dcf6e8cebe3e08b791147d41b570996d81ce180f
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-DQT_BUILD_TESTS=ON"
|
|
fi
|
|
|
|
do_check() {
|
|
cd build
|
|
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml:$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
|
ctest -E 'tst_(inputpanel|styles)'
|
|
# styles overwrites QML2_IMPORT_PATH
|
|
# inputpanel hangs
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/tests
|
|
}
|
|
|
|
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/metatypes
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
vmove usr/lib/qt6/modules
|
|
}
|
|
}
|