diff --git a/srcpkgs/qt6-declarative/template b/srcpkgs/qt6-declarative/template index 6da38cd3343..a6186157649 100644 --- a/srcpkgs/qt6-declarative/template +++ b/srcpkgs/qt6-declarative/template @@ -1,6 +1,6 @@ # Template file for 'qt6-declarative' pkgname=qt6-declarative -version=6.1.0 +version=6.1.1 revision=1 wrksrc="qtdeclarative-everywhere-src-${version}" build_style=cmake @@ -14,7 +14,20 @@ maintainer="John " license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later" homepage="https://www.qt.io" distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtdeclarative-everywhere-src-${version}.tar.xz" -checksum=e6f64314b8d54d7b541f52827b4e795317b17c3b7f39ad5210b8dbf343b75bda +checksum=805394307479ebca9899996af8357037c4f1ff8b783162ade0c5a05cea7ee2d2 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DQT_BUILD_TESTS=ON" +fi + +pre_check() { + export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +} + +do_check() { + cd build + ctest -E '(tst_qqmllocale|text|tst_qquickwidget)' +} qt6-declarative-tools_package() { depends="${sourcepkg}>=${version}_${revision}"