[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/51: gnu: qtdeclarative-5: Update to 5.15.8.
From: |
guix-commits |
Subject: |
26/51: gnu: qtdeclarative-5: Update to 5.15.8. |
Date: |
Tue, 28 Mar 2023 20:20:21 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 7736cb9dd6484b454b780e1a65b775aaa40023ff
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Mar 27 15:27:09 2023 -0400
gnu: qtdeclarative-5: Update to 5.15.8.
* gnu/packages/qt.scm (qtdeclarative-5): Update to 5.15.8.
[arguments]: Use gexps. Address TODO.
---
gnu/packages/qt.scm | 49 +++++++++++++++++++++++--------------------------
1 file changed, 23 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index ad43be4821..6de6bbe599 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1181,38 +1181,35 @@ XML and custom data models. It contains programs such
as xmlpatterns and
xmlpatternsvalidator.")))
(define-public qtdeclarative-5
- (package (inherit qtsvg-5)
+ (package
+ (inherit qtsvg-5)
(name "qtdeclarative")
- (version "5.15.5")
+ (version "5.15.8")
(source (origin
- (method url-fetch)
- (uri (qt-urls name version))
- (sha256
- (base32
- "0ji5131g7h2mrgxw1wxc5mcvmsn3fbw64j28gzpa25gv3vcnkhaw"))))
+ (method url-fetch)
+ (uri (qt-urls name version))
+ (sha256
+ (base32
+ "1kb8nj17vmnky0ayiwypim7kf6rmlmfcjf6gnrw8rydmp61w0vh2"))))
(arguments
(substitute-keyword-arguments (package-arguments qtsvg-5)
((#:tests? _ #f) #f) ;TODO: Enable the tests
((#:phases phases)
- `(modify-phases ,phases
- (add-after 'build 'fix-qt5core-install-prefix
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- ;; The Qt5Core install prefix is set to qtbase, but
qmlcachegen
- ;; is provided by qtdeclarative-5.
- (substitute*
- "lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
- (("\\$\\{_qt5Core_install_prefix\\}") out)))))
- ;; TODO: Add phase unconditionally.
- ,@(if (target-riscv64?)
- '((add-after 'unpack 'fix-linking-riscv64
- (lambda _
- (substitute* "src/qml/qml.pro"
- (("DEFINES \\+= QT_NO_FOREACH")
- (string-append
- "isEqual(QT_ARCH, \"riscv64\"): QMAKE_LIBS +=
-latomic\n\n"
- "DEFINES += QT_NO_FOREACH"))))))
- '())))))
+ #~(modify-phases #$phases
+ (add-after 'build 'fix-qt5core-install-prefix
+ (lambda _
+ ;; The Qt5Core install prefix is set to qtbase, but qmlcachegen
+ ;; is provided by qtdeclarative-5.
+ (substitute*
+ "lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
+ (("\\$\\{_qt5Core_install_prefix\\}") #$output))))
+ (add-after 'unpack 'fix-linking-riscv64
+ (lambda _
+ (substitute* "src/qml/qml.pro"
+ (("DEFINES \\+= QT_NO_FOREACH")
+ (string-append
+ "isEqual(QT_ARCH, \"riscv64\"): QMAKE_LIBS += -latomic\n\n"
+ "DEFINES += QT_NO_FOREACH")))))))))
(native-inputs
(list perl
pkg-config
- 33/51: gnu: qtserialbus: Update to 5.15.8., (continued)
- 33/51: gnu: qtserialbus: Update to 5.15.8., guix-commits, 2023/03/28
- 37/51: gnu: qtlocation: Update to 5.15.5., guix-commits, 2023/03/28
- 39/51: gnu: qtscript: Update to 5.15.8., guix-commits, 2023/03/28
- 41/51: gnu: qtquickcontrols2-5: Update to 5.15.8., guix-commits, 2023/03/28
- 44/51: gnu: qtscxml: Update to 5.15.8., guix-commits, 2023/03/28
- 08/51: gnu: gst-libav: Update to 1.22.1., guix-commits, 2023/03/28
- 12/51: gnu: ffmpeg-5: Rename variable to ffmpeg., guix-commits, 2023/03/28
- 15/51: gnu: pjproject: Update to 2.13., guix-commits, 2023/03/28
- 21/51: gnu: qt3d-5: Update to 5.15.8., guix-commits, 2023/03/28
- 24/51: gnu: qtx11extras: Update to 5.15.8., guix-commits, 2023/03/28
- 26/51: gnu: qtdeclarative-5: Update to 5.15.8.,
guix-commits <=
- 27/51: gnu: qtconnectivity: Update to 5.15.8., guix-commits, 2023/03/28
- 29/51: gnu: qtsensors: Update to 5.15.8., guix-commits, 2023/03/28
- 36/51: gnu: qtwebview: Update to 5.15.8., guix-commits, 2023/03/28
- 42/51: gnu: qtgraphicaleffects: Update to 5.15.8., guix-commits, 2023/03/28
- 43/51: gnu: qtgamepad: Update to 5.15.8., guix-commits, 2023/03/28
- 45/51: gnu: qtpurchasing: Update to 5.15.8., guix-commits, 2023/03/28
- 46/51: gnu: qtcharts: Update to 5.15.8., guix-commits, 2023/03/28
- 47/51: gnu: qtdatavis3d: Update to 5.15.8., guix-commits, 2023/03/28
- 49/51: gnu: qtremoteobjects: Update to 6.3.2., guix-commits, 2023/03/28