Subject: [PATCH qt-team v2 01/74] gnu: qtbase: Update to 6.7.2.

From: Zheng Junjie <[email-masked]>
Date: Wed, 18 Sep 2024 09:42:43 +0800

* gnu/packages/qt.scm (qtbase): Update to 6.7.2.
[arguments]<#:phases>: Add delete-installed-tests phase.

Change-Id: I22874a0d4bf0be4ae410ad4e6f5c1d72b2e2c3aa
---
 gnu/packages/qt.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 687c20cd90..a48decd8c6 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -716,13 +716,13 @@ (define-public qtbase
   (package
     (inherit qtbase-5)
     (name "qtbase")
-    (version "6.6.3")
+    (version "6.7.2")
     (source (origin
               (inherit (package-source qtbase-5))
               (uri (qt-url name version))
               (sha256
                (base32
-                "0qklvzg242ilxw29jd2vsz6s8ni4dpraf4ghfa4dykhc705zv4q4"))
+                "16bmfrjfxjajs6sqg1383ihhfwwf69ihkpnpvsajh5pv21g2mwn5"))
               (modules '((guix build utils)))
               (snippet
                ;; corelib uses bundled harfbuzz, md4, md5, sha3
@@ -1080,7 +1080,11 @@ (define-public qtbase
                               (string-append "lib/qt6/mkspecs/features/" file)))
                            '("device_config.prf" "moc.prf" "qt_config.prf"))
                     (("\\$\\$\\[QT_HOST_DATA/get\\]") archdata)
-                    (("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)))))))))
+                    (("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)))))
+            (add-after 'install 'delete-installed-tests
+              (lambda _
+                (delete-file-recursively
+                 (string-append #$output "/tests"))))))))
     (native-inputs
      (modify-inputs (package-native-inputs qtbase-5)
        (prepend tzdata-for-tests
-- 
2.45.2