From c0d094fe01caf120e6ca5fa38d7b6f3ed7520da7 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 7 Jun 2021 17:54:03 +0200 Subject: [PATCH] qt6-tools: update to 6.1.1. --- srcpkgs/qt6-tools/template | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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"