[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/77: gnu: Add qtcharts.
From: |
guix-commits |
Subject: |
43/77: gnu: Add qtcharts. |
Date: |
Thu, 21 Nov 2024 10:36:00 -0500 (EST) |
z572 pushed a commit to branch master
in repository guix.
commit a942435d5933a1ef4a1560d8c78518c02ba49dd6
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Sep 10 22:51:12 2024 +0800
gnu: Add qtcharts.
* gnu/packages/qt.scm (qtcharts): New variable.
Change-Id: Ibce8f69ff358a535e524fa58777ba4457f63255e
---
gnu/packages/qt.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index d7a38ca63b..0f29ce0f9a 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2756,6 +2756,50 @@ QWidgets, QGraphicsWidget, or QML types. Users can
easily create impressive
graphs by selecting one of the charts themes.")
(license license:gpl3)))
+(define-public qtcharts
+ (package
+ (name "qtcharts")
+ (version "6.7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (qt-url name version))
+ (sha256
+ (base32
+ "1nlv4z2rvhrn1f1f7n6qdag7lmkpl3idnj6ph572qzwb8lvs9xh0"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-display
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests.
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
+ (add-after 'install 'delete-installed-tests
+ (lambda _
+ (delete-file-recursively (string-append #$output "/tests"))))
+ (delete 'check) ;; move after the install phase
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check))
+ (add-before 'check 'set-QML_IMPORT_PATH
+ (lambda _
+ (setenv
+ "QML_IMPORT_PATH"
+ (string-append #$output "/lib/qt6/qml:"
+ (getenv "QML_IMPORT_PATH"))))))))
+ (native-inputs
+ (list perl pkg-config qtdeclarative))
+ (inputs (list qtbase qtdeclarative))
+ (synopsis "Qt Charts module")
+ (description "The Qt Charts module provides a set of easy to use chart
+components. It uses the Qt Graphics View Framework, therefore charts can be
+easily integrated to modern user interfaces. Qt Charts can be used as
+QWidgets, QGraphicsWidget, or QML types. Users can easily create impressive
+graphs by selecting one of the charts themes.")
+ (home-page (package-home-page qtbase))
+ (license (package-license qtbase))))
+
(define-public qtdatavis3d
(package
(inherit qtsvg-5)
- 34/77: gnu: python-sip: Update to 6.8.6., (continued)
- 34/77: gnu: python-sip: Update to 6.8.6., guix-commits, 2024/11/21
- 41/77: gnu: python-pyqt: Update to 5.15.10., guix-commits, 2024/11/21
- 48/77: gnu: qtx11extras: Update to 5.15.15., guix-commits, 2024/11/21
- 51/77: gnu: qtconnectivity-5: Update to 5.15.15., guix-commits, 2024/11/21
- 56/77: gnu: qtserialbus: Update to 5.15.15., guix-commits, 2024/11/21
- 59/77: gnu: qtwebview: Update to 5.15.15., guix-commits, 2024/11/21
- 61/77: gnu: qttools-5: Update to 5.15.15., guix-commits, 2024/11/21
- 03/77: gnu: qtsvg: Update to 6.7.2., guix-commits, 2024/11/21
- 17/77: gnu: qttranslations: Update to 6.7.2., guix-commits, 2024/11/21
- 23/77: gnu: qt-creator: Update to 14.0.1., guix-commits, 2024/11/21
- 43/77: gnu: Add qtcharts.,
guix-commits <=
- 30/77: gnu: python-shiboken-6: Update to 6.7.2., guix-commits, 2024/11/21
- 45/77: gnu: qt3d-5: Update to 5.15.15., guix-commits, 2024/11/21
- 49/77: gnu: qtxmlpatterns: Update to 5.15.15., guix-commits, 2024/11/21
- 53/77: gnu: qtmultimedia-5: Update to 5.15.15., guix-commits, 2024/11/21
- 54/77: gnu: qtwayland-5: Update to 5.15.15., guix-commits, 2024/11/21
- 57/77: gnu: qtwebchannel-5: Update to 5.15.15., guix-commits, 2024/11/21
- 58/77: gnu: qtwebglplugin: Update to 5.15.15., guix-commits, 2024/11/21
- 60/77: gnu: qtlocation-5: Update to 5.15.15., guix-commits, 2024/11/21
- 62/77: gnu: qtscript: Update to 5.15.15., guix-commits, 2024/11/21
- 65/77: gnu: qtgraphicaleffects: Update to 5.15.15., guix-commits, 2024/11/21