diff mbox series

[bug#72835,qt-team,v2,01/74] gnu: qtbase: Update to 6.7.2.

Message ID 4489255e22fa3ce6e9db382f30e8bf10f3c642c3.1726567073.git.zhengjunjie@iscas.ac.cn
State New
Headers show
Series update qt{5,6}. | expand

Commit Message

Z572 Sept. 18, 2024, 1:42 a.m. UTC
* 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 mbox series

Patch

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