diff --git a/srcpkgs/qt6-tools/template b/srcpkgs/qt6-tools/template index 8d2d8e3f241..16b20c72d05 100644 --- a/srcpkgs/qt6-tools/template +++ b/srcpkgs/qt6-tools/template @@ -1,6 +1,6 @@ # Template file for 'qt6-tools' pkgname=qt6-tools -version=6.1.0 +version=6.1.1 revision=1 wrksrc="qttools-everywhere-src-${version}" build_style=cmake @@ -12,7 +12,18 @@ maintainer="John " license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later" homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qttools-everywhere-src-${version}.tar.xz" -checksum=6263030c1120a30b0541d37b52dc0be0ea04bbb8d1695ec9648f0bd77e421f3e +checksum=cba8d9a836e83b7a5e6d068239635b261f7ca4a059992b2b66cd546380091273 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DQT_BUILD_TESTS=ON" +fi + +do_check() { + cd build + # Some of these tests expect that qt6-tools is already + # installed in /usr/lib/qt6 + ctest -E 'tst_(lrelease|lconvert|lupdate|qtattributionsscanner|qhelpcontentmodel|qhelpenginecore|qhelpgenerator|qhelpindexmode)' +} qt6-tools-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"